Which value is rendered to None?
I tried to reproduce this with the undercloud.conf below, and I don't see the issue? Undercloud installs, and thinks look ok.
[stack@bug1751815 ~]$ rpm -q instack-undercloud instack-undercloud-8.2.1-0.20180220181914.529796b.el7.centos.noarch
[stack@bug1751815 ~]$ cat undercloud.conf [DEFAULT]
undercloud_hostname = bug1751815.lab.example.com
net_config_override = net-config-override.json
[stack@bug1751815 ~]$ cat net-config-override.json "network_config": [ { "type": "ovs_bridge", "name": "br-ctlplane", "ovs_extra": [ "br-set-external-id br-ctlplane bridge-id br-ctlplane" ], "addresses": [ { "ip_netmask": "{{PUBLIC_INTERFACE_IP}}" } ], "routes": {{SUBNETS_STATIC_ROUTES}}, "mtu": {{LOCAL_MTU}} } ]
[stack@bug1751815 ~]$ sudo grep -R none /etc/puppet/hieradata/ [stack@bug1751815 ~]$ sudo grep -R None /etc/puppet/hieradata/
5: br-ctlplane: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN qlen 1000 link/ether f2:dc:59:34:0e:41 brd ff:ff:ff:ff:ff:ff inet 192.168.24.1/24 brd 192.168.24.255 scope global br-ctlplane valid_lft forever preferred_lft forever inet6 fe80::f0dc:59ff:fe34:e41/64 scope link valid_lft forever preferred_lft forever
[root@bug1751815 ~]# json_reformat < /etc/os-net-config/config.json { "network_config": [ { "addresses": [ { "ip_netmask": "192.168.24.1/24" } ], "mtu": 1500, "ovs_extra": [ "br-set-external-id br-ctlplane bridge-id br-ctlplane" ], "routes": [
], "type": "ovs_bridge", "name": "br-ctlplane" } ] }
############################################################################# Undercloud install complete.
Which value is rendered to None?
I tried to reproduce this with the undercloud.conf below, and I don't see the issue? Undercloud installs, and thinks look ok.
[stack@bug1751815 ~]$ rpm -q instack-undercloud undercloud- 8.2.1-0. 20180220181914. 529796b. el7.centos. noarch
instack-
[stack@bug1751815 ~]$ cat undercloud.conf
[DEFAULT]
undercloud_hostname = bug1751815.lab.example.com
net_config_override = net-config- override. json
[stack@bug1751815 ~]$ cat net-config- override. json set-external- id br-ctlplane bridge-id br-ctlplane" INTERFACE_ IP}}" STATIC_ ROUTES} },
"network_config": [
{
"type": "ovs_bridge",
"name": "br-ctlplane",
"ovs_extra": [
"br-
],
"addresses": [
{
"ip_netmask": "{{PUBLIC_
}
],
"routes": {{SUBNETS_
"mtu": {{LOCAL_MTU}}
}
]
[stack@bug1751815 ~]$ sudo grep -R none /etc/puppet/ hieradata/ hieradata/
[stack@bug1751815 ~]$ sudo grep -R None /etc/puppet/
5: br-ctlplane: <BROADCAST, MULTICAST, UP,LOWER_ UP> mtu 1500 qdisc noqueue state UNKNOWN qlen 1000 59ff:fe34: e41/64 scope link
link/ether f2:dc:59:34:0e:41 brd ff:ff:ff:ff:ff:ff
inet 192.168.24.1/24 brd 192.168.24.255 scope global br-ctlplane
valid_lft forever preferred_lft forever
inet6 fe80::f0dc:
valid_lft forever preferred_lft forever
[root@bug1751815 ~]# json_reformat < /etc/os- net-config/ config. json config" : [
"addresses ": [
" ip_netmask" : "192.168.24.1/24"
"ovs_ extra": [
"br-set- external- id br-ctlplane bridge-id br-ctlplane"
"routes" : [
{
"network_
{
{
}
],
"mtu": 1500,
],
],
"type": "ovs_bridge",
"name": "br-ctlplane"
}
]
}
####### ####### ####### ####### ####### ####### ####### ####### ####### ####### #######
Undercloud install complete.