commit 643f53f5e9544d6c98833b1ae3dd472602118a1f
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/614008 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=643f53f5e95 44d6c98833b1ae3 dd472602118a1f
Committed: https:/
Submitter: Zuul
Branch: master
commit 643f53f5e9544d6 c98833b1ae3dd47 2602118a1f
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
Closes-Bug #1800511 dc425d8b353c386 70d6eece0b5
Change-Id: I6e2e6437a7c826