yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69275
[Bug 1733246] [NEW] Can not attach a volume to a instance
Public bug reported:
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [req-0364ddaa-8e52-4460-8457-67334117e6f8 c6d634c6516841cc99f06faecc8dd234 0cce6ad60ade451d8fce7c64166c659c - default default] [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] Failed to attach 77b085c5-ad1e-4cc0-ac92-57fdcf5ddb81 at /dev/vdb: libvirtError: internal error: unable to execute QEMU command 'device_add': Property 'virtio-blk-device.drive' can't find value 'drive-virtio-disk1'
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] Traceback (most recent call last):
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/compute/manager.py", line 4851, in _attach_volume
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] do_driver_attach=True)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/block_device.py", line 45, in wrapped
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] ret_val = method(obj, context, *args, **kwargs)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/block_device.py", line 398, in attach
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] connector)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] self.force_reraise()
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] six.reraise(self.type_, self.value, self.tb)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/block_device.py", line 389, in attach
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] device_type=self['device_type'], encryption=encryption)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1270, in attach_volume
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] self._disconnect_volume(connection_info, disk_dev, instance)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] self.force_reraise()
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] six.reraise(self.type_, self.value, self.tb)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1254, in attach_volume
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] guest.attach_device(conf, persistent=True, live=live)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 308, in attach_device
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] self._domain.attachDeviceFlags(device_xml, flags=flags)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/eventlet/tpool.py", line 186, in doit
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] result = proxy_call(self._autowrap, f, *args, **kwargs)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/eventlet/tpool.py", line 144, in proxy_call
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] rv = execute(f, *args, **kwargs)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/eventlet/tpool.py", line 125, in execute
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] six.reraise(c, e, tb)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/eventlet/tpool.py", line 83, in tworker
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] rv = meth(*args, **kwargs)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/libvirt.py", line 587, in attachDeviceFlags
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] if ret == -1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] libvirtError: internal error: unable to execute QEMU command 'device_add': Property 'virtio-blk-device.drive' can't find value 'drive-virtio-disk1'
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda]
This bug tracker is for errors with the documentation, use the following
as a template and remove or add fields as you see fit. Convert [ ] into
[x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following
resources:
- Ask OpenStack: http://ask.openstack.org
- The mailing list: http://lists.openstack.org
- IRC: 'openstack' channel on Freenode
-----------------------------------
Release: 16.0.4.dev2 on 2017-11-15 17:51
SHA: 0b3187c9dc0f253cdeaa5ce4812ce1778db0f253
Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/index.rst
URL: https://docs.openstack.org/nova/pike/
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1733246
Title:
Can not attach a volume to a instance
Status in OpenStack Compute (nova):
New
Bug description:
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [req-0364ddaa-8e52-4460-8457-67334117e6f8 c6d634c6516841cc99f06faecc8dd234 0cce6ad60ade451d8fce7c64166c659c - default default] [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] Failed to attach 77b085c5-ad1e-4cc0-ac92-57fdcf5ddb81 at /dev/vdb: libvirtError: internal error: unable to execute QEMU command 'device_add': Property 'virtio-blk-device.drive' can't find value 'drive-virtio-disk1'
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] Traceback (most recent call last):
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/compute/manager.py", line 4851, in _attach_volume
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] do_driver_attach=True)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/block_device.py", line 45, in wrapped
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] ret_val = method(obj, context, *args, **kwargs)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/block_device.py", line 398, in attach
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] connector)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] self.force_reraise()
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] six.reraise(self.type_, self.value, self.tb)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/block_device.py", line 389, in attach
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] device_type=self['device_type'], encryption=encryption)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1270, in attach_volume
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] self._disconnect_volume(connection_info, disk_dev, instance)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] self.force_reraise()
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] six.reraise(self.type_, self.value, self.tb)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1254, in attach_volume
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] guest.attach_device(conf, persistent=True, live=live)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 308, in attach_device
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] self._domain.attachDeviceFlags(device_xml, flags=flags)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/eventlet/tpool.py", line 186, in doit
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] result = proxy_call(self._autowrap, f, *args, **kwargs)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/eventlet/tpool.py", line 144, in proxy_call
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] rv = execute(f, *args, **kwargs)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/eventlet/tpool.py", line 125, in execute
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] six.reraise(c, e, tb)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/eventlet/tpool.py", line 83, in tworker
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] rv = meth(*args, **kwargs)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] File "/openstack/venvs/nova-16.0.3/lib/python2.7/site-packages/libvirt.py", line 587, in attachDeviceFlags
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] if ret == -1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda] libvirtError: internal error: unable to execute QEMU command 'device_add': Property 'virtio-blk-device.drive' can't find value 'drive-virtio-disk1'
2017-11-10 20:26:38.986 130600 ERROR nova.compute.manager [instance: 44a75d9a-5bfe-4d51-b5b6-e982bad09fda]
This bug tracker is for errors with the documentation, use the
following as a template and remove or add fields as you see fit.
Convert [ ] into [x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following
resources:
- Ask OpenStack: http://ask.openstack.org
- The mailing list: http://lists.openstack.org
- IRC: 'openstack' channel on Freenode
-----------------------------------
Release: 16.0.4.dev2 on 2017-11-15 17:51
SHA: 0b3187c9dc0f253cdeaa5ce4812ce1778db0f253
Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/index.rst
URL: https://docs.openstack.org/nova/pike/
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1733246/+subscriptions
Follow ups