Undercloud deploy - fail if ctlplane-network not defined in undercloud.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Harald Jensås |
Bug Description
$ cat undercloud.conf
[DEFAULT]
local_interface = eth0
local_ip = 192.168.24.1/24
undercloud_
hieradata_override = /home/stack/
container_
container_
undercloud_
enable_
subnets = leaf0,leaf1,leaf2
local_subnet = leaf0
[leaf0]
cidr = 192.168.24.0/24
dhcp_start = 192.168.24.10
dhcp_end = 192.168.24.90
inspection_iprange = 192.168.
gateway = 192.168.24.254
masquerade = False
[leaf1]
cidr = 192.168.34.0/24
dhcp_start = 192.168.34.10
dhcp_end = 192.168.34.90
inspection_iprange = 192.168.
gateway = 192.168.34.254
masquerade = False
[leaf2]
cidr = 192.168.44.0/24
dhcp_start = 192.168.44.10
dhcp_end = 192.168.44.90
inspection_iprange = 192.168.
gateway = 192.168.44.254
masquerade = False
$ cat tripleo-
parameter_defaults:
{ .. SNIP .. }
ControlPlaneS
- ip_netmask: 192.168.34.0/24
next_hop: 192.168.24.254
- ip_netmask: 192.168.44.0/24
next_hop: 192.168.24.254
{ .. SNIP .. }
IronicInspect
{ .. SNIP .. }
IronicInspect
- gateway: 192.168.24.254
ip_range: 192.168.
netmask: 255.255.255.0
tag: leaf0
- gateway: 192.168.34.254
ip_range: 192.168.
netmask: 255.255.255.0
tag: leaf1
- gateway: 192.168.44.254
ip_range: 192.168.
netmask: 255.255.255.0
tag: leaf2
{ .. SNIP .. }
MasqueradeNet
{ .. SNIP .. }
UndercloudCtl
UndercloudCtl
leaf0:
Allocatio
- end: 192.168.24.90
start: 192.168.24.10
HostRoutes: []
NetworkCidr: 192.168.24.0/24
NetworkGa
leaf1:
Allocatio
- end: 192.168.34.90
start: 192.168.34.10
HostRoutes: []
NetworkCidr: 192.168.34.0/24
NetworkGa
leaf2:
Allocatio
- end: 192.168.44.90
start: 192.168.44.10
HostRoutes: []
NetworkCidr: 192.168.44.0/24
NetworkGa
UndercloudEna
There are no `ctlplane-subnet` subnet defined in undercloud.conf.
python-
Yet, when https:/
config=
Changed in tripleo: | |
assignee: | nobody → Harald Jensås (harald-jensas) |
tags: | added: rocky-backport-potential |
2019-03-15 15:42:00.832 14286 WARNING tripleoclient. v1.undercloud. InstallUnderclo ud [ ] Running: sudo --preserve-env \ -role Undercloud \ domain= localdomain \ ip=192. 168.24. 1/24 \ /usr/share/ openstack- tripleo- heat-templates/ \ file=network_ data_undercloud .yaml \ /github. com/openstack/ tripleo- heat-templates/ blob/master/ environments/ undercloud. yaml#L154- L159 openstack- tripleo- heat-templates/ environments/ undercloud. yaml \ openstack- tripleo- heat-templates/ environments/ use-dns- for-vips. yaml \ openstack- tripleo- heat-templates/ environments/ podman. yaml \ containers- prepare- parameter. yaml \ openstack- tripleo- heat-templates/ environments/ services/ ironic. yaml \ openstack- tripleo- heat-templates/ environments/ services/ ironic- inspector. yaml \ openstack- tripleo- heat-templates/ environments/ services/ mistral. yaml \ openstack- tripleo- heat-templates/ environments/ services/ zaqar-swift- backend. yaml \ openstack- tripleo- heat-templates/ environments/ services/ tripleo- ui.yaml \ openstack- tripleo- heat-templates/ environments/ services/ tempest. yaml \ openstack- tripleo- heat-templates/ environments/ services/ undercloud- haproxy. yaml \ openstack- tripleo- heat-templates/ environments/ services/ undercloud- keepalived. yaml \ virtual- ip 192.168.24.2 \ virtual- ip 192.168.24.3 \ openstack- tripleo- heat-templates/ environments/ ssl/tls- endpoints- public- ip.yaml \ openstack- tripleo- heat-templates/ environments/ services/ undercloud- haproxy. yaml \ openstack- tripleo- heat-templates/ environments/ services/ undercloud- keepalived. yaml \ -user stack \ dir=/home/ stack \ undercloud. yaml#L154- L159 tripleo- config- generated- env-files/ undercloud_ parameters. yaml \ override= /home/stack/ hiera_override. yaml \ openstack- tripleo- heat-templates/ environments/ tripleo- validations. yaml \ file=install- undercloud. log \ openstack- tripleo- heat-templates/ undercloud- stack-vstate- dropin. yaml
openstack tripleo deploy \
--standalone \
--standalone
--stack undercloud \
--local-
--local-
--templates=
--networks-
## The following file includes the values:
## https:/
--heat-native -e /usr/share/
-e /usr/share/
-e /usr/share/
-e /home/stack/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
--public-
--control-
-e /usr/share/
-e /usr/share/
-e /usr/share/
--deployment
--output-
--cleanup \
## The following file should override what's in environments/
#
# Yet it looks like it's somehow merged?
#
-e /home/stack/
--hieradata-
-e /usr/share/
--log-
-e /usr/share/