Skip to content

Instantly share code, notes, and snippets.

2015-08-24 14:02:30.148 DEBUG cinder.scheduler.host_manager [req-239968ab-992f-47fd-8179-2ed62ada4d56 None None] Received volume service update from storage1@hnas-iscsi: {u'filter_function': None, u'goodness_function': None, u'driver_version': u'3.3.0', u'volume_backend_name': u'hnas-iscsi', u'reserved_percentage': 0, u'pools': [{u'pool_name': u'default', u'service_label': u'default', u'QoS_support': u'False', u'hdp': u'FS-ErlonDefault', u'allocated_capacity_gb': 0, u'free_capacity_gb': 197, u'total_capacity_gb': 200, u'reserved_percentage': 0}], u'vendor_name': u'HDS', u'storage_protocol': u'iSCSI'} from (pid=1891) update_service_capabilities /opt/stack/cinder/cinder/scheduler/host_manager.py:450
2015-08-24 14:02:35.104 DEBUG oslo_service.loopingcall [req-b3e5ad64-97c8-43d8-98a1-54984f8dc43f None None] Fixed interval looping call <bound method Service.report_state of <cinder.service.Service object at 0x7f1357d0e6d0>> sleeping for 9.96 seconds from (pid=1891) _run_loop /usr/local/lib/python2.7/dist-packages/o
2015-08-24 13:19:54.705 ERROR cinder.volume.flows.manager.create_volume [req-dfa10fd5-85de-4426-bda9-cb70c2297a4e ed6f1fc479994085b659c90dde898fff 8d389f4b35c94cd3a0c30737a0579e9b] Failed to copy image 7e1b74d9-01b1-4bfd-9535-23f690555356 to volume: b044cec7-5eb8-4be8-a9d6-c04721a23efb
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume Traceback (most recent call last):
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/opt/stack/cinder/cinder/volume/flows/manager/create_volume.py", line 513, in _copy_image_to_volume
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume copy_image_to_volume(context, volume_ref, image_service, image_id)
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-08-24 13:19:54.705 TRACE cinder.volume.flows.manager.create_volume return f(*args, **kwargs)
2015-08-24 13:19:54.705 TRACE cinder.vol
RAID-Manager/Linux/x64 Ver&Rev: 01-33-03/07
+++++++++++++++++++++++++++++++++++++++++++
utils.execute(*tuple("raidcom get dp_pool".split(" ")))
('PID POLS U(%) AV_CAP(MB) TP_CAP(MB) W(%) H(%) Num LDEV# LCNT TL_CAP(MB) BM TR_CAP(MB) RCNT\n000 POLN 54 2628654 5767860 70 80 2 0 121 10251887 - - -\n001 POLN 0 2469558 2469558 70 80 1 16 0 0 - - -\n', '')
utils.execute(*tuple("raidcom get pool -key opt".split(" ")))
('PID POLS U(%) POOL_NAME Seq# Num LDEV# H(%) VCAP(%) TYPE PM\n000 POLN 54 pool1 211826 2 0 80 - OPEN N \n001 POLN 0 pfit 211826 1 16 80 - OPEN N \n', '')
Model : RAID-Manager/Linux/x64 Ver&Rev: 01-30-03/03
++++++++++++++++++++++++++++++++++++++++++++++++++++
@sombrafam
sombrafam / .run_tests.sh
Created February 2, 2015 16:37
./run_tests.sh -concurrency 4
======================================================================
FAIL: cinder.tests.test_emc_vnxdirect.EMCVNXCLIDriverISCSITestCase.test_create_volume_from_snapshot_sync_failed
----------------------------------------------------------------------
Traceback (most recent call last):
_StringException: Traceback (most recent call last):
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/test_emc_vnxdirect.py", line 1380, in test_create_volume_from_snapshot_sync_failed
fake_cli.assert_has_calls(expect_cmd)
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/mock.py", line 863, in assert_has_calls
'Actual: %r' % (calls, self.mock_calls)
AssertionError: Calls not found.
Traceback (most recent call last):
File "/home/erlon/internal_git/openstack/cinder/.venv/local/lib/python2.7/site-packages/mock.py", line 1201, in patched
return func(*args, **keywargs)
File "/home/erlon-home/internal_git/openstack/cinder/cinder/tests/zonemanager/test_volume_driver.py", line 77, in test_terminate_connection_with_decorator
conn_info = self.driver.terminate_connection(None, None)
File "/home/erlon-home/internal_git/openstack/cinder/cinder/zonemanager/utils.py", line 112, in decorator
zm = create_zone_manager()
File "/home/erlon-home/internal_git/openstack/cinder/cinder/zonemanager/utils.py", line 39, in create_zone_manager
zm = fc_zone_manager.ZoneManager(configuration=config)
File "/home/erlon-home/internal_git/openstack/cinder/cinder/zonemanager/fc_zone_manager.py", line 93, in __init__
params': None})] from (pid=10856) update_instance_cache_with_nw_info /opt/stack/nova/nova/network/base_api.py:39
2014-08-05 09:44:52.770 ERROR oslo.messaging.rpc.dispatcher [req-9613206f-f564-48be-b0c3-f657d866dd78 admin admin] Exception during message handling: Live migration of
instances with config drives is not supported in libvirt unless libvirt instance path and drive data is shared across compute nodes.
2014-08-05 09:44:52.770 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-08-05 09:44:52.770 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_an
d_reply
2014-08-05 09:44:52.770 TRACE oslo.messaging.rpc.dispatcher incoming.message))
2014-08-05 09:44:52.770 TRACE oslo.messaging.rpc.dispatcher File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
2014-08-05 09:44:52.770 TRACE oslo.messaging.rpc.dispatcher return self._do_dispatch(e
add_filter( 'fu_is_debug', '__return_true' );
add_action( 'fu_after_upload', 'my_fu_after_upload', 10, 3 );
function my_fu_after_upload( $attachment_ids, $success, $post_id ) {
// do something with freshly uploaded files
// This happens on POST request, so $_POST will also be available for you
$dest_folder = "/exports/data/".$post_id;
echo "FUNCTION AFTER UPLOAD: " . "<br>attachment_ids=";
print_r($attachment_ids);
FUNCTION AFTER UPLOAD:
attachment_ids=Array ( [0] => 122 )
result=1
post_id=32Array ( [post_ID] => 32 [post_title] => Erlon Cruz [ra] => 123456 [action] => upload_ugc [form_layout] => image [fu_nonce] => d71734168a [_wp_http_referer] => /?p=32 [ff] => f3c01b8520a3bdaf1f0141dd2b20f488 [form_post_id] => 32 ) Post name = Trabalho 1 - (ICA)
Upload dir
Array ( [path] => /var/www/wordpress/wp-content/uploads/2014/07 [url] => http://www.erloncruz.com.br/wp-content/uploads/2014/07 [subdir] => /2014/07 [basedir] => /var/www/wordpress/wp-content/uploads [baseurl] => http://www.erloncruz.com.br/wp-content/uploads [error] => ) Getting attacments to atta 122
Warning: Illegal string offset 'file' in /var/www/wordpress/wp-content/plugins/frontend-uploader/lib/php/functions.php on line 285
FUNCTION AFTER UPLOAD:
attachment_ids=Array ( [0] => 121 )
result=1
post_id=32Array ( [post_ID] => 32 [post_title] => Erlon Cruz [ra] => 123456 [action] => upload_ugc [form_layout] => image [fu_nonce] => d71734168a [_wp_http_referer] => /?p=32 [ff] => f3c01b8520a3bdaf1f0141dd2b20f488 [form_post_id] => 32 ) Post name = Trabalho 1 - (ICA)
Upload dir
Array ( [path] => /var/www/wordpress/wp-content/uploads/2014/07 [url] => http://www.erloncruz.com.br/wp-content/uploads/2014/07 [subdir] => /2014/07 [basedir] => /var/www/wordpress/wp-content/uploads [baseurl] => http://www.erloncruz.com.br/wp-content/uploads [error] => ) Getting attacments to atta 121
Array ( [width] => 940 [height] => 168 [file] => 2014/07/banner1.png [sizes] => Array ( [thumbnail] => Array ( [file] => banner1-150x150.png [width] => 150 [height] => 150 [mime-type] => image/png ) [medium] => Array ( [file] => banner1-300x53.png [width] => 300 [height] => 53 [mime-type] => image/png ) ) [image_meta] => Array ( [aperture] => 0 [credit] => [camera]
========================================================
03/11/14/15:21:42:RUNNING CINDER DRIVER CERTIFICATION CHECK,
========================================================
03/11/14/15:21:42:Output is being logged to: /tmp/tmp.6Z0yCblLW1
========================================================
03/11/14/15:21:42:Cloning to git://git.openstack.org/openstack/cinder.git...,
========================================================