resume_guests_state_on_host_boot = True creates libvirt.xml with empty nova:owner

Bug #1736457 reported by György Szombathelyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

When instances are booted automatically after a compute reboot, the libvirt.xml-s are recreated withot the nova:owner data. And ceilometer likes use it.

The relevant part of the xml after the reboot:
.
.
      </nova:flavor>
      <nova:owner/>
      <nova:root type="image" uuid="98199656-154f-4481-8ee9-b5480c9f9b8b"/>
    </nova:instance>
  </metadata>
.
.
At the first sight, the owner metadata is created in _get_guest_config_meta in virt/libvirt/driver.py, but only when context is not None. But when nova starts the guests on its own, probably it is None?

Tags: libvirt
tags: added: libvirt
Revision history for this message
György Szombathelyi (gyurco) wrote :

Ok, seems it is already reported and fixed (just not with resume_guest_state_on_host_boot).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.