Bug 1636693 - Validate routed networks enabled if multiple subnets in conf
Summary: Validate routed networks enabled if multiple subnets in conf
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 14.0 (Rocky)
Assignee: Harald Jensås
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-06 20:58 UTC by Harald Jensås
Modified: 2019-01-11 11:53 UTC (History)
6 users (show)

Fixed In Version: python-tripleoclient-10.6.1-0.20181010222405.8c8f259.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:53:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1791034 0 None None None 2018-10-06 20:59:10 UTC
OpenStack gerrit 600414 0 None None None 2018-10-06 20:58:35 UTC
OpenStack gerrit 612004 0 None None None 2018-10-22 18:32:49 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:53:48 UTC

Description Harald Jensås 2018-10-06 20:58:36 UTC
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.

Comment 5 mlammon 2018-11-16 14:49:51 UTC
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.

Comment 7 errata-xmlrpc 2019-01-11 11:53:41 UTC
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


Note You need to log in before you can comment on or make changes to this bug.