Murali Reddy created CLOUDSTACK-9533:
----------------------------------------
Summary: gateway of public IP is not handled correctly when
parsing the cmd_line.json to create ips.json databag
Key: CLOUDSTACK-9533
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9533
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Affects Versions: 4.9.0, 4.8.0, 4.7.1, 4.6.2, 4.10.0.0
Reporter: Murali Reddy
Fix For: 4.8.1, 4.10.0.0, 4.9.2.0
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)