Updated image property did not synced to instance

Bug #2065451 reported by bryan

This bug report will be marked for expiration in 40 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Incomplete
Undecided
Unassigned

Bug Description

We created an instance and then rebooted it, but the instance xml is changed after we reboot it, the following lines were added to the xml:

    <input type='keyboard' bus='usb'>
      <alias name='input1'/>
      <address type='usb' bus='0' port='2'/>
    </input>

We read the nova code, find that the input device info was refreshed into nova db using the following line: nova.virt.libvirt.driver.LibvirtDriver.spawn#self._register_undefined_instance_details(context, instance),

but when the instance is booting, nova.virt.libvirt.driver.LibvirtDriver.spawn#xml = self._get_guest_xml(context, instance, network_info, disk_info, image_meta, block_device_info=block_device_info, mdevs=mdevs, accel_info=accel_info). This line records the xml without the usb keyboard setting. When the instance is hard rebooted, nova will use the setting set by the previous line and regenerate the xml, this may be the trick.

Thank you for looking into it.

bryan (bryansoong21)
description: updated
Revision history for this message
melanie witt (melwitt) wrote :

Sorry, it's unclear what steps you took to reach the state you believe is problematic. You did not say how you "updated the image property".

It would be helpful to follow the bug reporting guideline that is shown when 'Report a bug' is clicked:

https://wiki.openstack.org/wiki/Nova/BugsTeam/BugReportTemplate

Setting this to Incomplete because currently there is not enough information to do anything with it.

If you can provide more information, please add a comment and set this bug back to New for review.

Changed in nova:
status: New → Incomplete
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.