commit 66ec5b4334cd0e1fc65f21ab21b4b088dca87f2b
Author: Mohammed Naser <email address hidden>
Date: Mon Oct 29 19:49:41 2018 +0100
libvirt: Avoid setting MTU during live migration if unset
If there is a live migration of an instance that was launched
before change Iecc265fb25e88fa00a66f1fd38e215cad53e7669, it
would not have an mtu set and therefore it wouldn't have it in
the XML.
When live migrating, the mtu is added which changes the
guest ABI[1], causing the live migration to fail. The failure
occurs when trying to live migrate an instance that:
- Launched before change Iecc265fb25e88fa00a66f1fd38e215cad53e7669
- It has not been rebooted (i.e. XML has not changed since)
- It's using bridge/tap networking
- Migration attempted after change Iecc265fb25e88fa00a66f1fd38e215cad53e7669
This patch prevents this by avoiding setting MTU if the running
instance does not have one configured in its domain XML.
Reviewed: https:/ /review. openstack. org/614041 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=66ec5b4334c d0e1fc65f21ab21 b4b088dca87f2b
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 66ec5b4334cd0e1 fc65f21ab21b4b0 88dca87f2b
Author: Mohammed Naser <email address hidden>
Date: Mon Oct 29 19:49:41 2018 +0100
libvirt: Avoid setting MTU during live migration if unset
If there is a live migration of an instance that was launched a00a66f1fd38e21 5cad53e7669, it
before change Iecc265fb25e88f
would not have an mtu set and therefore it wouldn't have it in
the XML.
When live migrating, the mtu is added which changes the
guest ABI[1], causing the live migration to fail. The failure
occurs when trying to live migrate an instance that:
- Launched before change Iecc265fb25e88f a00a66f1fd38e21 5cad53e7669 a00a66f1fd38e21 5cad53e7669
- It has not been rebooted (i.e. XML has not changed since)
- It's using bridge/tap networking
- Migration attempted after change Iecc265fb25e88f
This patch prevents this by avoiding setting MTU if the running
instance does not have one configured in its domain XML.
[1]: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1449346
(cherry picked from commit 643f53f5e9544d6 c98833b1ae3dd47 2602118a1f)
Closes-Bug #1800511 dc425d8b353c386 70d6eece0b5
Change-Id: I6e2e6437a7c826