Description of problem: In queens (Prior to containerizing the undercloud) we had a validation in place to ensure routed networks was enabled if multiple subnets are defined in undercloud.conf. When the undercloud was containerized this validation was lost. The validation should be re-implemented.
install latest osp 14 14 -p 2018-11-13.1 environement: openstack-tripleo-heat-templates-9.0.1-0.20181013060879.el7ost.noarch cat undercloud.conf [DEFAULT] # Network interface on the Undercloud that will be handling the PXE # boots and DHCP for Overcloud instances. (string value) local_interface = eth0 local_ip = 192.168.24.1/24 undercloud_public_host = 192.168.24.2 undercloud_admin_host = 192.168.24.3 #TODO: use release >= 10 when RHBZ#1633193 is resolved undercloud_ntp_servers=clock.redhat.com container_images_file=/home/stack/containers-prepare-parameter.yaml docker_insecure_registries=docker-registry.engineering.redhat.com,brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888 undercloud_service_certificate = /etc/pki/instack-certs/undercloud.pem hieradata_override = /home/stack/hiera_override.yaml enable_node_discovery = true enable_routed_networks = false subnets = ctlplane-subnet,ctlplane-leaf1,ctlplane-leaf2 [ctlplane-subnet] local_subnet = ctlplane-subnet cidr = 192.168.24.0/24 dhcp_start = 192.168.24.5 dhcp_end = 192.168.24.24 gateway = 192.168.24.1 inspection_iprange = 192.168.24.100,192.168.24.120 masquerade = false #TODO(skatlapa): add param to override masq [ctlplane-leaf1] cidr = 192.168.25.0/24 dhcp_start = 192.168.25.10 dhcp_end = 192.168.25.30 gateway = 192.168.25.254 inspection_iprange = 192.168.25.100,192.168.25.120 masquerade = false [ctlplane-leaf2] cidr = 192.168.26.0/24 dhcp_start = 192.168.26.10 dhcp_end = 192.168.26.30 gateway = 192.168.26.254 inspection_iprange = 192.168.26.100,192.168.26.120 masquerade = false # try and install and get error as expected. (undercloud) [stack@undercloud-0 ~]$ openstack undercloud install Multiple subnets specified: ['ctlplane-subnet', 'ctlplane-leaf1', 'ctlplane-leaf2'] but routed networks are not enabled. An error occurred during configuration validation, please check your host configuration and try again. Error message: Multiple subnets specified: ['ctlplane-subnet', 'ctlplane-leaf1', 'ctlplane-leaf2'] but routed networks are not enabled.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:0045