← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1614019] Re: Instances lose its serial ports during soft-reboot after live-migration

 

Reviewed:  https://review.openstack.org/356335
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=dccaf9cb88705b2a635c5b54433c5e6187557849
Submitter: Jenkins
Branch:    master

commit dccaf9cb88705b2a635c5b54433c5e6187557849
Author: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@xxxxxxxxxx>
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())
    
    Closes-Bug: #1614019
    Change-Id: I230031bba3926171a80ae773a98280ac5c61058b


** 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).
https://bugs.launchpad.net/bugs/1614019

Title:
  Instances lose its serial ports during soft-reboot after live-
  migration

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  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 soft-reboot.

  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:
https://bugs.launchpad.net/nova/+bug/1614019/+subscriptions


References