Uh oh!
There was an error while loading. Please reload this page.
CLOUDSTACK-9811: fix duplicated nics on VR caused by nic name p<slot_number>p<port_number> - #2011
Conversation
…number>p<port_number>
cf442b4 to
bf93b63Compareborisstoyanov
commented
Mar 20, 2017
@blueorangutan package |
blueorangutan
commented
Mar 20, 2017
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
borisstoyanov
commented
Mar 20, 2017
Hi @ustcweizhou, out of curiosity why 4.9 instead of master? |
ustcweizhou
commented
Mar 20, 2017
@borisstoyanov first 4.9, then merge into master. |
blueorangutan
commented
Mar 20, 2017
Packaging result: ✖centos6 ✔centos7 ✔debian. JID-596 |
borisstoyanov
commented
Mar 20, 2017
@blueorangutan package |
blueorangutan
commented
Mar 20, 2017
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Mar 20, 2017
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-597 |
borisstoyanov
commented
Mar 20, 2017
@blueorangutan test |
blueorangutan
commented
Mar 20, 2017
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
borisstoyanov
commented
Mar 22, 2017
Looks like tests were aborted, will restart now |
blueorangutan
commented
Mar 22, 2017
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
borisstoyanov
left a comment
There was a problem hiding this comment.
LGTM based on code review
yadvr
commented
Mar 22, 2017
LGTM. Can we check travis failures? |
@ustcweizhou this enables looking for a nic by a name like a1b2c3 (\D+\d+\D*\d*\D*\d*) it will also allow all shorter as long as they start with which makes sense. But to satisfy @karuturi's question in #2003, could you briefly describe how this prevents extra nics from being created? otherwise LGTM |
blueorangutan
commented
Mar 22, 2017
Trillian test result (tid-962)
|
borisstoyanov
commented
Mar 22, 2017
thank you guys, tests are looking good as well. |
ustcweizhou
commented
Mar 22, 2017
@DaanHoogland@karuturi@borisstoyanov Here is a short explanation why the issue happened: The method getBroadcastUriFromBridge is used in prepareNetworkElementCommand for command IpAssocCommand in VR. Each time when a new ip is associated, it will check the existing nics by getting the URIs from bridge name of nics. If the URIs do not contain the uri of te new ip, then a new nic will be plugged and new ip will be associated to the new nic. The issue happened when cloudstack try to set more information of eth2 (public nic) of a VR, as for the error described in part 1 , the URI of eth2 return wrong result (vlan://1) which is different from uri of ip (it is vlan://7 from StartCommand), so eth3 is added. |
DaanHoogland
commented
Mar 23, 2017
thanks @ustcweizhou |
karuturi
commented
Mar 23, 2017
ok. Thanks everyone. I am merging this. |
CLOUDSTACK-9811: fix duplicated nics on VR caused by nic name p<slot_number>p<port_number> * pr/2011: CLOUDSTACK-9811: fix duplicated nics on VR caused by nic name p<slot_number>p<port_number> Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
No description provided.