Live migration failed.: AttributeError: 'Guest' object has no attribute 'migrate_configure_max_speed'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
Pike |
Fix Released
|
High
|
Lee Yarwood |
Bug Description
I have running openstack pike 16.0.15 and seeing following error when trying to do live migration with ceph storage.
Any idea what is the workaround here?
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
2018-07-25 16:14:15.180 59135 ERROR nova.compute.
The error is from libvirt driver calling `guest. migrate_ configure_ max_speed` here:
https:/ /github. com/openstack/ nova/blob/ stable/ pike/nova/ virt/libvirt/ driver. py#L6944
That method was not added to the guest module until after Pike (https:/ /github. com/openstack/ nova/commit/ 23446a9552b5be3 b040278646149a0 f481d0a005) and it doesn't appear to have been backported to Pike as it is missing here:
https:/ /github. com/openstack/ nova/blob/ stable/ pike/nova/ virt/libvirt/ guest.py
The call to `guest. migrate_ configure_ max_speed` was added to the driver in this commit: https:/ /github. com/openstack/ nova/commit/ ff747792b8f5aef e1bebb01bdf49da cc01353348