make ovs-vsctl not raise error if there's no portData available.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Medium
|
Jorge Niedbalski | ||
Vivid |
Invalid
|
Medium
|
Jorge Niedbalski |
Bug Description
[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_
[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'/>
<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_
VIR_MIGRATE_
VIR_MIGRATE_
VIR_MIGRATE_
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_
record "vnet1" column external_ids
[Regression Potential]
* N/A
[Other Info]
* This upstream commit fixes the issue: https:/
tags: | added: sts |
Changed in libvirt (Ubuntu): | |
status: | New → Fix Released |
Changed in libvirt (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in libvirt (Ubuntu Vivid): | |
status: | New → In Progress |
Changed in libvirt (Ubuntu Trusty): | |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in libvirt (Ubuntu Vivid): | |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in libvirt (Ubuntu): | |
importance: | Undecided → Medium |
Changed in libvirt (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in libvirt (Ubuntu Vivid): | |
importance: | Undecided → Medium |
Changed in libvirt (Ubuntu Vivid): | |
status: | In Progress → Invalid |
The attachment "Trusty Patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]