Container Undercloud - always deploys with /24 network mask
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Harald Jensås |
Bug Description
Deploying containerised undercloud using the following config:
[DEFAULT]
undercloud_hostname = container-
local_ip = 172.20.0.200/26
network_gateway = 172.20.0.254
undercloud_
undercloud_
overcloud_
local_interface = eth1
local_mtu = 1500
network_cidr = 172.20.0.192/26
dhcp_start = 172.20.0.210
dhcp_end = 172.20.0.219
inspection_
inspection_iprange = 172.20.
container_
container_
Results:
5: br-ctlplane: <BROADCAST,
link/ether 52:54:00:7a:f6:c5 brd ff:ff:ff:ff:ff:ff
inet 172.20.0.200/24 brd 172.20.0.255 scope global br-ctlplane
valid_lft forever preferred_lft forever
inet6 fe80::5054:
valid_lft forever preferred_lft forever
[root@container
{
"network_
{
{
}
],
],
{
}
],
"name": "br-ctlplane",
],
"type": "ovs_bridge",
}
]
}
Changed in tripleo: | |
importance: | Critical → High |
TASK [Output for NetworkDeployment] ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* *** when_result" : false,
"stderr" : [
"[2018- 03-16 03:13:04,434] (heat-config) [DEBUG] Running /usr/libexec/ heat-config/ hooks/script < /var/lib/ heat-config/ deployed/ ee7bd4e5- ebfd-4e9c- 901b-d073ce2a30 38.json" ,
"[2018- 03-16 03:13:11,512] (heat-config) [INFO] {\"deploy_stdout\": \"No metadata IP found. Skipping.\\n\", \"deploy_stderr\": \"+ '[' -n '{\\\"network_ config\ \\": [{\\\"addresses \\\": [{\\\"ip_ netmask\ \\": \\\"172. 20.0.200/ 24\\\"} ], \\\"dns_ servers\ \\": [\\\"172. 20.0.254\ \\"], \\\"members\\\": [{\\\"mtu\\\": 1500, \\\"name\\\": \\\"interface_ name\\\ ", \\\"primary\\\": true, \\\"type\\\": \\\"interface\ \\"}], \\\"name\\\": \\\"br- ctlplane\ \\", \\\"ovs_extra\\\": [\\\"br- set-external- id br-ctlplane bridge-id br-ctlplane\\\"], \\\"type\\\": \\\"ovs_bridge\\\", \\\"use_dhcp\\\": false}]}' ']'\\n+ '[' -z True ']'\\n+ mkdir -p /etc/os- net-config\ \n+ echo '{\\\"network_ config\ \\": [{\\\"addresses \\\": [{\\\"ip_ netmask\ \\": \\\"172. 20.0.200/ 24\\\"} ], \\\"dns_ servers\ \\": [\\\"172. 20.0.254\ \\"], \\\"members\\\": [{\\\"mtu\\\": 1500, \\\"name\\\": \\\"interface_ name\\\ ", \\\"primary\\\": true, \\\"type\\\": \\\"interface\ \\"}], \\\"name\\\": \\\"br- ctlplane\ \\", \\\"ovs_extra\\\": [\\\"br- set-external- id br-ctlplane bridge-id br-ctlplane\\\"], \\\"type\\\": \\\"ovs_bridge\\\", \\\"use_dhcp\\\": false}]}'\\n++ type -t network_ config_ hook\\n+ '[' '' = function ']'\\n+ sed -i s/bridge_ name/br- ex/ /etc/os- net-config/ config. json\\n+ sed -i s/interface_ name/eth1/ /etc/os- net-config/ config. json\\n+ set +e\\n+ os-net-config -c /etc/os- net-config/ config. json -v --detailed- exit-codes\ \n[2018/ 03/16 03:13:04 AM] [INFO] Using config file at: /etc/os- net-config/ config. json\\n[ 2018/03/ 16 03:13:04 AM] [INFO] Ifcfg net config provider created. \\n[2018/ 03/16 03:13:04 AM] [INFO] Not using any mapping file.\\n[2018/03/16 03:13:05 AM] [INFO] Finding active nics\\n[2018/03/16 03:13:05 AM] [INFO] eth1 is an embedded active nic\\n[2018/03/16 03:13:05 AM] [INFO] eth0 is an embedded active nic\\n[2018/03/16 03:13:05 AM] [INFO] lo is not an active nic\\n[2018/03/16 03:13:05 AM] [INFO] No DPDK mapping available in path (/var/lib/ os-net- config/ dpdk_mapping. yaml)\\ n[2018/ 03/16 03:13:05 AM] [INFO] Active nics are ['eth0', 'eth1'] \\n[2018/ 03/16 03:13:05 AM] [INFO] nic2 mapped to: eth1\\n[2018/03/16 03:13:05 AM] [INFO] nic1 mapped to: eth0\\n[2018/03/16 03:13:05 AM] [INFO] adding bridge: br-ctlplane\ \n[2018/ 03/16 03:13:05 AM] [INFO] adding interface: eth1\\n[2018/03/16 03:13:05 AM] [INFO] applying network configs. ..\\n[2018/ 03/16 03:13:05 AM] [INFO] running ifdown on interface: eth1\\n[2018/03/16 03:13:05 AM] [INFO] running ifdown on bridge: br-ctlplane\ \n[2018/ 03/16 03:13:05 AM] [INFO] Writing config /etc/sysconfig/ network- scripts/ route6- br-ctlplane\ \n[2018/ 03/16 03:13:05 AM] [INFO] Writing config /etc/sysconfig/ network- scripts/ ifcfg-br- ctlplane\ \n[2018/ 03/16 03:13:05 AM] [INFO] Writing co...
ok: [172.20.0.200] => {
"failed_
"msg": [
{