cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Sorensen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5654) router fails to plug nics in KVM VLAN isolation
Date Thu, 26 Dec 2013 23:43:50 GMT
Marcus Sorensen created CLOUDSTACK-5654:
-------------------------------------------

             Summary: router fails to plug nics in KVM VLAN isolation
                 Key: CLOUDSTACK-5654
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5654
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: KVM
    Affects Versions: 4.3.0
            Reporter: Marcus Sorensen
            Assignee: Marcus Sorensen
             Fix For: 4.3.0


When vxlan was merged, it included getBroadcastUriFromBridge, which gets the vlan tag from
the physical interface attached to the bridge. It looks for (\D)(\d)(\D*)(\d*). If a vxlan
bridge is found (brvx), it returns the second element of this match as the broadcast id (VNI)
by calling a "toUri" method. Otherwise, it returns the fourth element, which would be the
vlan id if the device were something like 'eth0.200'. In situations where the bridge is untagged
(eth0), however, it would throw an exception in trying to turn an empty string into a broadcast
URI, causing any subsequent router setup to be canceled.

We need to restore the old behavior of returning empty if no vlan id exists.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message