Re: Help? Running into problems with migrateToURI2() and virDomainDefCheckABIStability()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 12, 2014 at 12:03:11PM -0600, Chris Friesen wrote:
> On 02/11/2014 04:45 PM, Cole Robinson wrote:
> > On 02/10/2014 06:46 PM, Chris Friesen wrote:
> >> Hi,
> >>
> >> We've run into a problem with libvirt 1.1.2 and are looking for some comments
> >> on whether this is a bug or design intent.
> >>
> >> We're trying to use migrateToURI() but we're using a few things (numatune,
> >> vcpu mask, etc.) that may need adjustment during the migration.  We found that
> >> migrateToURI2() mostly works if we use XML created by copying the domain XML
> >> from the running instance and modifying the appropriate sections.
> >>
> >> The problem that we're seeing is that the serial console checking in
> >> libvirt/src/conf/domain_conf.c::virDomainDefCheckABIStability() is failing
> >> even though we haven't touched the serial console XML:
> 
> > I think we will have to see the XML your passing before and after edit to
> > figure out what's going wrong. Also, showing all the arguments you are
> > invoking the migration APIs with.
> 
> 
> Okay, this is going to be a long message.  :)
> 
> We're calling it as:
> 
> dom.migrateToURI2(duri, muri, xml_str, logical_sum, None, CONF.live_migration_bandwidth)
> 
> Here are the supplied arguments:
> duri = u'qemu+tcp://compute-0/system'
> muri = u'tcp://compute-0'
> flaglist = ['VIR_MIGRATE_UNDEFINE_SOURCE', 'VIR_MIGRATE_PEER2PEER', 'VIR_MIGRATE_LIVE']
> logical_sum = 19,  (logical OR of flaglist)
> CONF.live_migration_bandwidth = 0
> 
> Grabbing original XML prior to migration:
> 
> dom_xml = etree.fromstring(dom.XMLDesc(0))

Can you retry this whole thing but pass VIR_DOMAIN_XML_MIGRATABLE instead
of 0.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux