Author: Sahid Orentino Ferdjaoui <sahid.ferdja...@redhat.com>
Date: Wed Aug 17 05:18:45 2016 -0400
libvirt: fix serial console not correctly defined after live-migration
During post live migration the XML defined in libvirt does not contain
the definition of serial ports. That is because we call the method
get_guest_config_xml to retrieve the XML definition which is not going
to return a definition of serial ports because the instance already
define them. Actually calling this method to retrieve domain XML of an
instance is not good in every cases because the aim of that method is
to define a domain XML not to return a domain XML, for that purpose we
prefer to call XMLDesc(0).
Also that commit is removing the process to write into a file the
domain XML which is not used anymore. libvirtd is storing the XML
definition of domains by itself (see: guest.write_instance_config())
** Changed in: nova
Status: In Progress => Fix Released
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
Instances lose its serial ports during soft-reboot after live-
Status in OpenStack Compute (nova):
Instances lose its serial ports during soft-reboot if the instances
experienced live-migration just before.
Therefore we cannot access to the instance from serial console after
That is because the method post_live_migration which defines the
domain XML to libvirt on the destination host is calling the method
get_guest_config instead of just retrieving the domain XML of the
migrated and running guest.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : email@example.com
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp