yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43853
[Bug 1530294] [NEW] can't resize when use_cow_images is True
Public bug reported:
nova.conf:
#force_raw_images = true
use_cow_images = True
error log:
] u'qemu-img resize /var/lib/nova/instances/727fd979-d02e-4a9b-8b7c-9488ead6c18b/disk 42949672960' failed. Not Retrying. execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:308
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [req-c7949bf1-d9a1-46bd-8dd6-5bc26c32585c 7f50e4ce47aa4d28b78b3b5937f3a382 65a1edd1dad24b15a4f27bb0d7dcb4d6 - - -] [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Setting instance vm_state to ERROR
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Traceback (most recent call last):
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3934, in finish_resize
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] disk_info, image)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3900, in _finish_resize
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] old_instance_type)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] six.reraise(self.type_, self.value, self.tb)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3895, in _finish_resize
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] block_device_info, power_on)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 6836, in finish_migration
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] self._disk_resize(image, size)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 6815, in _disk_resize
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] disk.extend(image, size)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/virt/disk/api.py", line 190, in extend
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] utils.execute('qemu-img', 'resize', image.path, size)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/utils.py", line 390, in execute
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] return processutils.execute(*cmd, **kwargs)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 275, in execute
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] cmd=sanitized_cmd)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] ProcessExecutionError: Unexpected error while running command.
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Command: qemu-img resize /var/lib/nova/instances/727fd979-d02e-4a9b-8b7c-9488ead6c18b/disk 42949672960
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Exit code: 1
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Stdout: u''
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Stderr: u"qemu-img: Could not open '/var/lib/nova/instances/727fd979-d02e-4a9b-8b7c-9488ead6c18b/disk': Could not open backing file: Could not open '/var/lib/nova/instances/_base/ccd0236b989b621fbe6c0793e2c746a1c9633c4f': No such file or directory\n"
** 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/1530294
Title:
can't resize when use_cow_images is True
Status in OpenStack Compute (nova):
New
Bug description:
nova.conf:
#force_raw_images = true
use_cow_images = True
error log:
] u'qemu-img resize /var/lib/nova/instances/727fd979-d02e-4a9b-8b7c-9488ead6c18b/disk 42949672960' failed. Not Retrying. execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:308
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [req-c7949bf1-d9a1-46bd-8dd6-5bc26c32585c 7f50e4ce47aa4d28b78b3b5937f3a382 65a1edd1dad24b15a4f27bb0d7dcb4d6 - - -] [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Setting instance vm_state to ERROR
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Traceback (most recent call last):
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3934, in finish_resize
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] disk_info, image)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3900, in _finish_resize
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] old_instance_type)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195, in __exit__
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] six.reraise(self.type_, self.value, self.tb)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3895, in _finish_resize
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] block_device_info, power_on)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 6836, in finish_migration
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] self._disk_resize(image, size)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 6815, in _disk_resize
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] disk.extend(image, size)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/virt/disk/api.py", line 190, in extend
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] utils.execute('qemu-img', 'resize', image.path, size)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/nova/utils.py", line 390, in execute
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] return processutils.execute(*cmd, **kwargs)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 275, in execute
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] cmd=sanitized_cmd)
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] ProcessExecutionError: Unexpected error while running command.
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Command: qemu-img resize /var/lib/nova/instances/727fd979-d02e-4a9b-8b7c-9488ead6c18b/disk 42949672960
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Exit code: 1
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Stdout: u''
2015-12-31 16:33:16.696 18243 ERROR nova.compute.manager [instance: 727fd979-d02e-4a9b-8b7c-9488ead6c18b] Stderr: u"qemu-img: Could not open '/var/lib/nova/instances/727fd979-d02e-4a9b-8b7c-9488ead6c18b/disk': Could not open backing file: Could not open '/var/lib/nova/instances/_base/ccd0236b989b621fbe6c0793e2c746a1c9633c4f': No such file or directory\n"
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1530294/+subscriptions
Follow ups