Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-5719

[UI] Not listing shared network offerings tagged on second physical network

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.4.0
    • UI
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • Advanced zone, multiple guest networks

    Description

      Create multiple physical networks with guest networks in both physical networks.
      Tag the guest networks and use those while creating shared network offerings
      Try to create shared network in both physical networks

      UI:

      Networks -> Add guest network -> Choose the second physical n/w

      Result:
      Lists shared network offering belonging to physical n/w 1 although I choose the second physical n/w

      Firebug logs shows that it always queries Network offering for the same tag (tag1) although we have 2 tags, one for each physical network:

      http://10.102.192.125:8080/client/api?command=listPhysicalNetworks&response=json&sessionkey=zFMtaefMr9NxN%2F0RjgCtbWLft%2FU%3D&zoneid=15ac37e8-635b-43f4-a53f-4a8c003c5912&_=1388662102005

      http://10.102.192.125:8080/client/api?command=listTrafficTypes&response=json&sessionkey=zFMtaefMr9NxN%2F0RjgCtbWLft%2FU%3D&physicalnetworkid=c19f422a-55a4-4473-867e-2c9c0b64fc9a&_=1388662102199

      http://10.102.192.125:8080/client/api?command=listTrafficTypes&response=json&sessionkey=zFMtaefMr9NxN%2F0RjgCtbWLft%2FU%3D&physicalnetworkid=5f9c1b69-325c-43ad-b05e-76470ddbe610&_=1388662102387

      http://10.102.192.125:8080/client/api?command=listNetworkOfferings&response=json&sessionkey=zFMtaefMr9NxN%2F0RjgCtbWLft%2FU%3D&state=Enabled&zoneid=15ac37e8-635b-43f4-a53f-4a8c003c5912&tags=tag1&guestiptype=Shared&_=1388662102490

      http://10.102.192.125:8080/client/api?command=listNetworkOfferings&response=json&sessionkey=zFMtaefMr9NxN%2F0RjgCtbWLft%2FU%3D&state=Enabled&zoneid=15ac37e8-635b-43f4-a53f-4a8c003c5912&tags=tag1&guestiptype=Shared&_=1388662102841

      Further, if we continue to create the shared network, it gets created in physical network 2 while the offering is actually tagged on physical n/w 1

      Workaround is to go to that physical network and add guest network from there
      zone -> physical network -> guest - configure -> Network -> Add guest network

      Attachments

        1. createsharednw.png
          58 kB
          Sowmya Krishnan
        2. cloud.dmp.gz
          114 kB
          Sowmya Krishnan

        Activity

          People

            jessicawang Jessica Wang
            sowmyak Sowmya Krishnan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: