← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1488565] [NEW] Quiescing instance on live snapshot fails by AttributeError

 

Public bug reported:

*Step to reproduce:

- Enable live snapshot by adding following lines to nova.conf:

[workarounds]
disable_libvirt_livesnapshot = False

- Boot instance from image with hw_qemu_guest_agent=yes and
os_require_quiesce=yes properties.

$ glance image-show f22-qga
+--------------------------------+--------------------------------------+
| Property                       | Value                                |
+--------------------------------+--------------------------------------+
| Property 'hw_qemu_guest_agent' | yes                                  
| Property 'os_require_quiesce'  | yes                                  
...

$ nova boot --image f22 --flavor m1.small f22-1


- Create an instance image

$ nova image-create f22-1 f22-img


- Image creation fails with the following error:

File "/opt/stack/nova/nova/objects/image_meta.py", line 103, in from_dict
     image_meta.get("properties", {}))
 AttributeError: 'ImageMeta' object has no attribute 'get'

Full stack trace is : http://paste.openstack.org/show/427151/

** 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/1488565

Title:
  Quiescing instance on live snapshot fails by AttributeError

Status in OpenStack Compute (nova):
  New

Bug description:
  *Step to reproduce:

  - Enable live snapshot by adding following lines to nova.conf:

  [workarounds]
  disable_libvirt_livesnapshot = False

  - Boot instance from image with hw_qemu_guest_agent=yes and
  os_require_quiesce=yes properties.

  $ glance image-show f22-qga
  +--------------------------------+--------------------------------------+
  | Property                       | Value                                |
  +--------------------------------+--------------------------------------+
  | Property 'hw_qemu_guest_agent' | yes                                  
  | Property 'os_require_quiesce'  | yes                                  
  ...

  $ nova boot --image f22 --flavor m1.small f22-1

  
  - Create an instance image

  $ nova image-create f22-1 f22-img

  
  - Image creation fails with the following error:

  File "/opt/stack/nova/nova/objects/image_meta.py", line 103, in from_dict
       image_meta.get("properties", {}))
   AttributeError: 'ImageMeta' object has no attribute 'get'

  Full stack trace is : http://paste.openstack.org/show/427151/

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1488565/+subscriptions


Follow ups