GitHub user remibergsma opened a pull request:

    https://github.com/apache/cloudstack/pull/1524

    KVM: Fix plugging ip addresses to the wrong interface

    Fix for KVM, where the public ip would be added to the guest network. 
Reason is because it used 'broadcastUrl' as an index, which turned out not to 
be unique in all cases and was overwritten. This resulted in the public ip 
address being added to the wrong interface (see screenshots).
    
    Problem:
    
![kvm-wrong-interface-1](https://cloud.githubusercontent.com/assets/1630096/14937805/fe3c472e-0f12-11e6-90af-a7c1df4b8310.png)
    
    After patch:
    
![kvm-wrong-interface-2](https://cloud.githubusercontent.com/assets/1630096/14937807/044291e6-0f13-11e6-85a5-fe776c8db638.png)
    
    The `192.168.23.0/24` range is used as 'public' in this lab.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/remibergsma/cloudstack fix/libvirt-interfaces

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1524.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 #1524
    
----
commit 4f3b0f56cbb9e1e16182109c797fcceff578d7ea
Author: Remi Bergsma <git...@remi.nl>
Date:   2016-04-30T18:13:44Z

    KVM: Fix plugging ip addresses to the wrong interface

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to