Deploy with pre-provisioned nodes fail
Issue
- We are following this doc to deploy a pre-provisioned host using a separate network so we create the file pre-ctlplane-assignments.yaml with the content:
[...]
parameter_defaults:
NeutronPublicInterface: eth1
EC2MetadataIp: 10.254.2.159
ControlPlaneDefaultRoute: 10.254.2.159
DeployedServerPortMap:
control_virtual_ip:
fixed_ips:
- ip_address: 10.254.2.159
subnets:
- cidr: 24
controller-0-ctlplane:
fixed_ips:
- ip_address: 10.254.2.174
subnets:
- cidr: 24
compute-0-ctlplane:
fixed_ips:
- ip_address: 10.254.2.177
subnets:
- cidr: 24
But the deploy fails with message:
2020-10-30 21:19:12Z [overcloud]: CREATE_FAILED 'int' object has no attribute 'split'
2020-10-30 21:19:12Z [overcloud]: CREATE_FAILED 'int' object has no attribute 'split'
2020-10-30 21:19:12Z [overcloud]: CREATE_FAILED 'int' object has no attribute 'split'
2020-10-30 21:19:12Z [overcloud]: CREATE_FAILED 'int' object has no attribute 'split'
Stack overcloud/19565321-c3a4-4ec2-88bf-ae3aa8a758b3 CREATE_FAILED
Heat Stack create failed.
Heat Stack create failed.
- So we changed the content to:
[...]
parameter_defaults:
NeutronPublicInterface: eth1
EC2MetadataIp: 10.254.2.159
ControlPlaneDefaultRoute: 10.254.2.159
DeployedServerPortMap:
control_virtual_ip:
fixed_ips:
- ip_address: 10.254.2.159
subnets:
- cidr: 10.254.2.0/24
network:
tags:
- 10.254.2.0/24
controller-0-ctlplane:
fixed_ips:
- ip_address: 10.254.2.174
subnets:
- cidr: 10.254.2.0/24
network:
tags:
- 10.254.2.0/24
compute-0-ctlplane:
fixed_ips:
- ip_address: 10.254.2.177
subnets:
- cidr: 10.254.2.0/24
network:
tags:
- 10.254.2.0/24
- Now we are receiving the message:
2020-10-30 21:42:09Z [overcloud]: CREATE_COMPLETE Stack CREATE completed successfully
Stack overcloud/eb65515d-4a6a-4937-815d-06d66b1f2efc CREATE_COMPLETE
Deploying overcloud configuration
Cannot find any hosts on 'overcloud' in network 'ctlplane'
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.254.2.173', 51564)>
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.254.2.173', 55510), raddr=('10.254.2.173', 13004)>
sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.254.2.173', 43698), raddr=('10.254.2.173', 13989)>
Environment
- Red Hat OpenStack Platform 16.1 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.