yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #56983
[Bug 1627005] [NEW] Changing use_cow_images breaks existing instances
Public bug reported:
Summary:
Changing use_cow_images from false to true breaks all existing instances with raw images.
Env:
Nova version 3.3.1, Fuel 9.0.
Reproduce steps:
1. Set use_cow_images=false in nova.conf
2. Create and start an instance using a raw image
3. Set use_cow_images=true in nova.conf
4. Restart the instance
Expect result:
The existing instance restarts and continues to work.
Actual result:
Restarting the instances fails with "Image is not in qcow2 format". Full log:
oslo_messaging.rpc.dispatcher [req-23c83b76-ee13-44e7-9b92-c7ac20f369cc 91c65783f69e4322992d4b7f86172fab 19e9d9a752d14ec8a20a0d8be1681bdd - - -] Exception during message handling: internal error: process exited while connecting to monitor: 2016-09-23T11:56:59.855117Z qemu-system-x86_64: -drive file=/var/lib/nova/instances/86682c9d-628a-4ab6-9836-1ab3bc5a493b/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: Image is not in qcow2 format
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher incoming.message))
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 110, in wrapped
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher payload)
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher self.force_reraise()
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_utils/ex[....]
** 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/1627005
Title:
Changing use_cow_images breaks existing instances
Status in OpenStack Compute (nova):
New
Bug description:
Summary:
Changing use_cow_images from false to true breaks all existing instances with raw images.
Env:
Nova version 3.3.1, Fuel 9.0.
Reproduce steps:
1. Set use_cow_images=false in nova.conf
2. Create and start an instance using a raw image
3. Set use_cow_images=true in nova.conf
4. Restart the instance
Expect result:
The existing instance restarts and continues to work.
Actual result:
Restarting the instances fails with "Image is not in qcow2 format". Full log:
oslo_messaging.rpc.dispatcher [req-23c83b76-ee13-44e7-9b92-c7ac20f369cc 91c65783f69e4322992d4b7f86172fab 19e9d9a752d14ec8a20a0d8be1681bdd - - -] Exception during message handling: internal error: process exited while connecting to monitor: 2016-09-23T11:56:59.855117Z qemu-system-x86_64: -drive file=/var/lib/nova/instances/86682c9d-628a-4ab6-9836-1ab3bc5a493b/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none: Image is not in qcow2 format
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher incoming.message))
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 110, in wrapped
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher payload)
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher self.force_reraise()
2016-09-23 11:57:01.145 30847 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_utils/ex[....]
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1627005/+subscriptions
Follow ups