Skip to content

Instantly share code, notes, and snippets.

View compute3
ubuntu@virtual-blade3:~$ ps aux | grep qemu
libvirt+ 183478 6.6 1.6 3959088 264744 ? Sl 15:06 8:34 qemu-system-x86_64 -enable-kvm -name instance-00000004 -S -machine pc-i440fx-xenial,accel=kvm,usb=off -cpu IvyBridge,+pdpe1gb,+hypervisor,+osxsave,+pcid,+vmx,+ss -m 2000 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid dd60ae1b-2cc9-42c7-a1db-e500fed0c515 -smbios type=1,manufacturer=OpenStack Foundation,product=OpenStack Nova,version=14.0.1,serial=53773d8e-7275-4108-a9c6-db66d0f75e30,uuid=dd60ae1b-2cc9-42c7-a1db-e500fed0c515,family=Virtual Machine -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-instance-00000004/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=rbd:cinder-ceph/volume-bb3af184-e43d-457d-8d95-6cee1d9809e8:id=nova-compute:key=AQD9na1YRc
View blade0-host
erlon@thinkpad ~ $ maas-hds
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-64-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
5 packages can be updated.
0 updates are security updates.
View gist:5aea1beaa1e4207890dd06f918a900a0
This file has been truncated, but you can view the full file.
ubuntu@105-cinder-plugins:/opt/stack/cinder$ tox -epy27
py27 create: /opt/stack/cinder/.tox/py27
py27 installdeps: -r/opt/stack/cinder/test-requirements.txt
py27 develop-inst: /opt/stack/cinder
View gist:1ef497d510c485901e2d34147a1f78bc
This file has been truncated, but you can view the full file.
erlon@thinkpad cinder $
erlon@thinkpad cinder $ git checkout hbsd-
hbsd-20160921 hbsd-refactoring hbsd-vsp-driver
erlon@thinkpad cinder $ git checkout hbsd-vsp-driver
Switched to branch 'hbsd-vsp-driver'
Your branch is ahead of 'upstream/master' by 1 commit.
(use "git push" to publish your local commits)
erlon@thinkpad cinder $ tox -e py27
py27 develop-inst-nodeps: /home/erlon-home/internal_git/openstack/cinder
View gist:bc0c13383b57d831e2316d0cd24c3ab0
This file has been truncated, but you can view the full file.
ubuntu@105-cinder-plugins:/opt/stack/cinder$ ./tools/hooks/run_multi_backend_matrix.sh
+ BASE=/opt/stack
+ WORKSPACE=/opt/stack
+ export TEMPEST_USER=ubuntu
+ TEMPEST_USER=ubuntu
+ export TEMPEST_CONCURRENCY=1
+ TEMPEST_CONCURRENCY=1
+ '[' '!' -d /opt/stack/devstack-gate/ ']'
+ mkdir -p /opt/stack/new
View gist:07be6e1e979dfe6ee7b1cbecc397a7e6
This file has been truncated, but you can view the full file.
ubuntu@105-cinder-plugins:/opt/stack/cinder$ ./tools/hooks/run_multi_backend_matrix.sh
+ BASE=/opt/stack
+ WORKSPACE=/opt/stack
+ export TEMPEST_USER=ubuntu
+ TEMPEST_USER=ubuntu
+ export TEMPEST_CONCURRENCY=1
+ TEMPEST_CONCURRENCY=1
+ '[' '!' -d /opt/stack/devstack-gate/ ']'
+ mkdir -p /opt/stack/new
View gist:f833466459423ef67a21852a0cc361b7
erlon@thinkpad tempest $
erlon@thinkpad tempest $ tig
erlon@thinkpad tempest $ git log
commit 10f4cae171d7e08c2186e1b4bf7d6a852027e75d
Author: Erlon R. Cruz <erlon.cruz@fit-tecnologia.org.br>
Date: Wed Oct 19 13:35:20 2016 -0200
Fix testscenarios import
For some reason, testscenarios dependency was removed from requirements.txt and
View HUS110 concurrency error
lib STONAVM_RSP_PASS=on STONAVM_ACT=on autargetmap -unit HUS110_91233049 -rm 0 E 17 2 52 from (pid=16817) execute /usr/local/lib/python2.7/dist-packages/oslo_concurrency/processutils.py:230
2015-08-24 14:55:00.672 WARNING cinder.volume.drivers.hitachi.hbsd_snm2 [req-215ecded-d0fe-438f-a61f-28e73340814a 9d13f6debb7f48c0a94e7b5772f9e3bc 8076c18994b44689b70746e09bf15b20] MSGID0314-W: Failed to map a logical device. (LDEV: 50, LUN: 0, port: 0E, id: 19)
2015-08-24 14:55:00.673 ERROR cinder.volume.drivers.hitachi.hbsd_basiclib [req-215ecded-d0fe-438f-a61f-28e73340814a 9d13f6debb7f48c0a94e7b5772f9e3bc 8076c18994b44689b70746e09bf15b20] MSGID0600-E: The command autargetmap failed. (ret: 1, stdout: , stderr: -add: DMEC002122: The process cannot be performed because the specified H-LUN or LUN is already map. Please confirm the mapping and try again.
)
2015-08-24 14:55:00.674 ERROR cinder.volume.manager [req-215ecded-d0fe-438f-a61f-28e73340814a 9d13f6debb7f48c0a94e7b5772f9e3bc 8076c18994b44689b70746e09bf15b20] Driver in
View gist:d8e7b07102ea57ed0019
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