Uh oh!
There was an error while loading. Please reload this page.
[CLOUDSTACK-10029] All private, public, and guest interfaceses are marked as untagged ca… - #2203
[CLOUDSTACK-10029] All private, public, and guest interfaceses are marked as untagged ca…#2203konstantintrushin wants to merge 1 commit into
Conversation
…using constant Vif creation in Virtual Router VM
When adding static nat eth interfaces are being added constantly to Virtual Route VM till they reach PCI slot limit. This is caused by public, prrivate and guest interfaces being marked as untagged and in HashMap values are overwritten and cleanupNetworkElementCommand dosn't know nic number in VR VM and constantly adds eth interfaces.
2017-07-25 10:47:21,054 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Exexutiong cleanupNetworkElementCommand
2017-07-25 10:47:21,054 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-2:null) (logid:57628c13) Looking for libvirtd connection at: qemu:///system
2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {vlan://untagged=0}
2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=0}
2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=2}
2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=3}
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=4}
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) NIC pos 5
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=4}
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Lokking for BroadcastUri vlan://261
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Plugging in VIF with MAC 1e:00:07:00:02:c8cloudmonger
commented
Jul 30, 2017
ACS CI BVT RunSumarry: Link to logs Folder (search by build_no):https://www.dropbox.com/sh/r2si930m8xxzavs/AAAzNrnoF1fC3auFrvsKo_8-a?dl=0 Failed tests:
Skipped tests: Passed test suits: |
borisstoyanov
left a comment
There was a problem hiding this comment.
HI @konstantintrushin, thanks for this PR, can you please add JIRA number in the title same as other PRs. Thanks.
konstantintrushin
commented
Aug 1, 2017
via email
Hi Boris
Where can I get Jira number? …Sent from my iPhone On 1 Aug 2017, at 16:22, Boris Stoyanov - a.k.a Bobby ***@***.***> wrote:
@borisstoyanov commented on this pull request.
HI @konstantintrushin, thanks for this PR, can you please add JIRA number in the title same as other PRs. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
borisstoyanov
commented
Aug 2, 2017
Hi @konstantintrushin, you can create a ticket describing your improvement/bugfix in the community JIRA: https://issues.apache.org/jira/browse/cloudstack/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel |
konstantintrushin
commented
Aug 3, 2017
I have created JIRA issue CLOUDSTACK-10029. If you need more details please contact me. |
borisstoyanov
commented
Aug 5, 2017
Thanks @konstantintrushin |
yadvr
commented
Aug 19, 2017
@blueorangutan package |
blueorangutan
commented
Aug 19, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 19, 2017
Packaging result: ✔centos6 ✖centos7 ✔debian. JID-969 |
borisstoyanov
commented
Aug 21, 2017
@blueorangutan test |
blueorangutan
commented
Aug 21, 2017
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
yadvr
commented
Aug 21, 2017
@borisstoyanov trillian env requires centos7 pkgs to have been successfully built in order to run, the last env failed |
blueorangutan
commented
Aug 21, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
1 similar comment
blueorangutan
commented
Aug 21, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Aug 21, 2017
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-990 |
borisstoyanov
commented
Aug 21, 2017
@blueorangutan test |
blueorangutan
commented
Aug 21, 2017
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
| } else { | ||
| if (nic.getBrName().equalsIgnoreCase(_publicBridgeName) || nic.getBrName().equalsIgnoreCase(_privBridgeName) || | ||
| nic.getBrName().equalsIgnoreCase(_guestBridgeName)) { | ||
| if (nic.getBrName() == null) { |
There was a problem hiding this comment.
@konstantintrushin can you consider checking using Strings.isNullOrEmpty?
| } else { | ||
| if (nic.getBrName().equalsIgnoreCase(_publicBridgeName) || nic.getBrName().equalsIgnoreCase(_privBridgeName) || | ||
| nic.getBrName().equalsIgnoreCase(_guestBridgeName)) { | ||
| if (nic.getBrName() == null) { |
There was a problem hiding this comment.
@konstantintrushin can you consider checking using Strings.isNullOrEmpty?
yadvr
commented
Dec 19, 2017
Additional review requested |
blueorangutan
commented
Dec 19, 2017
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Dec 19, 2017
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1422 |
yadvr
commented
Dec 19, 2017
@blueorangutan test |
blueorangutan
commented
Dec 19, 2017
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Dec 20, 2017
Trillian test result (tid-1837)
|
yadvr
commented
Dec 26, 2017
@konstantintrushin can you check if this is necessary given #2304 got merged. |
yadvr
commented
Jan 4, 2018
Given #2304 is merged, nics are now read from hashmap referenced using the mac address. I'll close this PR given this, please re-open/engage if you disagree, thanks for your PR. |
…using constant Vif creation in Virtual Router VM
When adding static nat eth interfaces are being added constantly to Virtual Route VM till they reach PCI slot limit. This is caused by public, prrivate and guest interfaces being marked as untagged and in HashMap values are overwritten and cleanupNetworkElementCommand dosn't know nic number in VR VM and constantly adds eth interfaces.
2017-07-25 10:47:21,054 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Exexutiong cleanupNetworkElementCommand
2017-07-25 10:47:21,054 DEBUG [kvm.resource.LibvirtConnection] (agentRequest-Handler-2:null) (logid:57628c13) Looking for libvirtd connection at: qemu:///system
2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {vlan://untagged=0}
2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=0}
2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=2}
2017-07-25 10:47:21,057 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=3}
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=4}
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) NIC pos 5
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) HASH MAP DUMP: {LinkLocal=1, vlan://untagged=4}
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Lokking for BroadcastUri vlan://261
2017-07-25 10:47:21,058 ERROR [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:null) (logid:57628c13) Plugging in VIF with MAC 1e:00:07:00:02:c8