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 gist:dbf806ee85230278532d
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
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