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

gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.6.2, 4.7.1, 4.8.0, 4.9.0, 4.10.0.0
    • Fix Version/s: 4.8.1, 4.10.0.0, 4.9.2.0
    • Component/s: None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None

      Description

      gateway of public IP is not handled correctly when parsing the cmd_line.json to create ips.json databag

      In systemvm/patches/debian/config/opt/cloud/bin/merge.py

      processCLItem following piece of code sets the local gateway as public interface/ip gateway, as there is no check on the network type.

      if('localgw' in self.qFile.data['cmd_line']):
      dp['gateway'] = self.qFile.data['cmd_line']['localgw']

      for public network type, it should be read from cmd_line.gateway

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              murali.reddy Murali Reddy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: