Public bug reported: [Impact]
Nova Live migration task can fail if the source host doesn't have a specific port or interface available because the port have been already migrated. If this happens, we need to make ovs-vsctl not raise error if there's no portData available. Example libvirtd.log: 2:2015-12-01 17:44:34.360+0000: 3379: error : virCommandWait:2399 : internal error: Child process (ovs-vsctl --timeout=5 get Interface tape7ad3f81-dc external_ids:PortData) unexpected exit status 1: ovs- vsctl: no key "PortData" in Interface record "tape7ad3f81-dc" column external_ids [Test Case] The steps to reproduce the problem: 1 define and start a domain with its network configured as: <interface type='bridge'> <source bridge='br0'/> <virtualport type='openvswitch'> </virtualport> <model type='virtio'/> <driver name='vhost' queues='4'/> </interface> 2 do not set the network's portData. 3 migrate(ToURI2) it with flag 91(1011011), which means: VIR_MIGRATE_LIVE VIR_MIGRATE_PEER2PEER VIR_MIGRATE_PERSIST_DEST VIR_MIGRATE_UNDEFINE_SOURCE VIR_MIGRATE_NON_SHARED_DISK 4 migrate success, but we got an error log in libvirtd.log: error : virCommandWait:2423 : internal error: Child process (ovs-vsctl --timeout=5 get Interface vnet1 external_ids:PortData) unexpected exit status 1: ovs-vsctl: no key "PortData" in Interface record "vnet1" column external_ids [Regression Potential] * N/A [Other Info] * This upstream commit fixes the issue: https://github.com/libvirt/libvirt/commit/25df57db73adc3e610193ee1fcdd202c47ba471d ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Tags: sts ** Tags added: sts -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1540537 Title: make ovs-vsctl not raise error if there's no portData available. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1540537/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs