[
https://issues.apache.org/jira/browse/CLOUDSTACK-9362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253984#comment-15253984
]
ASF GitHub Bot commented on CLOUDSTACK-9362:
--------------------------------------------
GitHub user insom opened a pull request:
https://github.com/apache/cloudstack/pull/1512
CLOUDSTACK-9362: Skip VXLANs when rewriting the bridge name for migrations
(4.8)
From the [JIRA
issue](https://issues.apache.org/jira/browse/CLOUDSTACK-9362):
>
https://github.com/apache/cloudstack/commit/bb8f7c652e42caacff5adce1ce60342603677605
>
> The above commit introduces rewriting of bridge device names when
migrating a virtual machine from one host to another. However, it also matches
bridges called "brvx-1234" and rewrites them to (in my case) "brem1-1234" -
this doesn't match the bridge name on the destination and causes the migration
to fail with the error:
>
> error : virNetDevGetMTU:397 : Cannot get interface MTU on 'brem1-1234':
No such device
>
> I have flagged this as major because it's not possible to migrate VMs
using VXLANs for maintenance, which seems important (it's certainly important
to me!).
This is a version of #1508 based against 4.8
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/insom/cloudstack CLOUDSTACK-9362-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1512.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1512
----
commit d2eb0a537a1f279a83f4af4f8f1bbae9d5aefba8
Author: Aaron Brady <[email protected]>
Date: 2016-04-21T14:19:56Z
Skip VXLANs when rewriting the bridge name for migrations
----
> Migrating a VM using VXLANs and bridges fails
> ---------------------------------------------
>
> Key: CLOUDSTACK-9362
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9362
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: KVM
> Affects Versions: 4.6.2, 4.7.1, 4.8.0
> Environment: Using KVM with VXLANs in Linux bridge devices (not
> OpenVSwitch)
> Reporter: Aaron Brady
>
> https://github.com/apache/cloudstack/commit/bb8f7c652e42caacff5adce1ce60342603677605
> The above commit introduces rewriting of bridge device names when migrating a
> virtual machine from one host to another. However, it also matches bridges
> called "brvx-1234" and rewrites them to (in my case) "brem1-1234" - this
> doesn't match the bridge name on the destination and causes the migration to
> fail with the error:
> error : virNetDevGetMTU:397 : Cannot get interface MTU on 'brem1-1234': No
> such device
> I have flagged this as major because it's not possible to migrate VMs using
> VXLANs for maintenance, which seems important (it's certainly important to
> me!).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)