cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10233) When installed ACS on Rhel7.4 with libvirt-3.2.0 the nuage-extension in metadata is missing
Date Fri, 19 Jan 2018 08:15:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16331878#comment-16331878
] 

ASF GitHub Bot commented on CLOUDSTACK-10233:
---------------------------------------------

rhtyd closed pull request #2410: CLOUDSTACK-10233: use namespace in Libvirt domain metadata.
URL: https://github.com/apache/cloudstack/pull/2410
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
index 81077fa7254..385fe79ef2a 100644
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java
@@ -1544,7 +1544,7 @@ public void addNuageExtension(String macAddress, String vrIp) {
         public String toString() {
             StringBuilder fsBuilder = new StringBuilder();
             for (Map.Entry<String, String> address : addresses.entrySet()) {
-                fsBuilder.append("<nuage-extension>\n")
+                fsBuilder.append("<nuage-extension xmlns='nuagenetworks.net/nuage/cna'>\n")
                         .append("  <interface mac='")
                         .append(address.getKey())
                         .append("' vsp-vr-ip='")


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> When installed ACS on Rhel7.4 with libvirt-3.2.0 the nuage-extension in metadata is missing
> -------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10233
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10233
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: cloudstack-agent
>    Affects Versions: 4.11.0.0
>         Environment: Nuage VSP plugin on RHEL 7.4
>            Reporter: Raf Smeets
>            Assignee: Frank Maximus
>            Priority: Critical
>
> When installed ACS 4.11 on top of Rhel7.4 baseimage with libvirt-3.2.0 ,there is an issue
with the metadata of the created VM in cloudstack. 
> It leads to password reset failure as the nuage vrs is not allowing passage to DomainRouter.
> After debugging , it was found that the nuage-extension in metadata was missing.
> When cloudstack-agent is preparing xml to be sent to openvswitch it contains metadata
with nuage-extension block as follows
> <metadata>
> <nuage-extension>
> <interface mac='02:00:6c:fb:00:03' vsp-vr-ip='10.1.0.2'></interface>
> </nuage-extension>
> </metadata>
> In /var/log/openvswitch/vm-monitor.log , the received XML of VM is without nuage-extension
block in metadata as follows:
> Jan 15 18:17:17 ovs-1 vm-monitor.log: <metadata/>
> So the metadata block is now empty. It seems libvirt 3.2.0 requires an url in its metada,
so the libvirt namespace needs to be adapted.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message