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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.6.2, 4.7.1, 4.8.0, 4.9.0, 4.10.0.0
    • 4.8.1, 4.10.0.0, 4.9.2.0
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment