issue with tripleo

asked 2018-09-05 04:47:36 -0500

akarki gravatar image

updated 2018-09-05 11:52:29 -0500

Hi, I am trying to deploy tripleo overcloud with pre configured nodes

Issue is the dploy command uses deployed-server-environment.yaml but it is not present in my /usr/share.../enviroment directory instead deployed-server-environment.j2.yaml is present .Is this all right?

Also running the command openstack overcloud deploy with deployed-server-environment.yaml (even its not present) shows me the error: "NetworkConfig.Properties: Property EC2MetadataIp not assigned" Even though ip is present in my target nodes within the ctlplane subnet. So to solve this i created another network yaml (test-net.yaml)as given below:

  OS::TripleO::DeployedServer::ControlPlanePort: ../deployed-server/deployed-neutron-port.yaml
        - ip_address:
        - cidr:
        - ip_address:
        - cidr: 192.168.24..0/24

Still i get the same Ec2 ip error

Command i am using is:

openstack overcloud deploy --control-flavor control --control-scale 1 --compute-flavor compute --compute-scale 1 --templates  --disable-validations  -e /usr/share/openstack-tripleo-heat-templates/environments/deployed-server-environment.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/deployed-server-bootstrap-environment-centos.yaml -e /usr/share/openstack-tripleo-heat-templates/deployed-server/test-net.yaml -r /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-server-roles-data.yaml

Thanks in advance


So for network configuration I was reading in the doc there are 2 yaml net-config-static-bridge.yaml & net-config-static.yaml.

However in /us/share path there are only jinja2 templates of these files so i explicity created a file net-config-static-bridge.yaml with following data:

  NeutronPublicInterface: em1(provisioning network)
  ControlPlaneDefaultRoute: network)
  EC2MetadataIp: ip)

Also so our setup is basically 2 nic on all nodes one for external connectivity( and one for tripleo provisioning network( Also we have not exposed and public endpoint of openstack. All the services of openstack work in same subnet(

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-09-05 08:27:14 -0500

codylab gravatar image

updated 2018-09-05 08:31:17 -0500

This post does not tend to be an answer to this question, but rather adds a comment with a legible formatting.

I never used the pre-provisioned method to deploy overcloud, but wanted to share my thoughts on some of your questions.

  • Jinja2 templates (.j2) will be automatically rendered into yaml files during deployment. You just need to pretend the file is already there when you pass it to the deploy command. So you are doing it right.
  • EC2MetadataIp and ControlPlaneDefaultRoute need to be provided in an environment file. You may add them into your test-net.yaml file, immediately under the 'parameter_defaults' section.
  • When creating and using environment files outside of the default heat template directory, try to use the absolute path in the 'resource_registry' to avoid issues. In the test-net.yaml, set OS::TripleO::DeployedServer::ControlPlanePort: /usr/share/openstack-tripleo-heat-templates/deployed-server/deployed-neutron-port.yaml
  • Some command line parameters you used have been deprecated . Instead of using --control-flavor --control-scale and the like, it is prefered to set them in an environment file under the 'parameter_defaults' section such as:
    • OvercloudControllerFlavor: control
    • ControllerCount: 1

It would be nice to know more details on your network and NIC setup in this case. How many NICs do you have on each node? Do you plan to use the provisioning network (ctlplane) for all overcloud services?

edit flag offensive delete link more


thanks for quick response..I have update the question.. also if u can tell me in point 2 : EC2MetadataIp and ControlPlaneDefaultRoute should these be undercloud br-ctlplane ip and default route?

akarki gravatar imageakarki ( 2018-09-05 11:53:47 -0500 )edit

I cannot get the format worked properly here. Please have a look at:

codylab gravatar imagecodylab ( 2018-09-05 13:24:08 -0500 )edit

If it worked, the deployment process would stuck at the [overcloud.Compute.0.Compute]: CREATE_IN_PROGRESS and the [overcloud.Controller.0.Controller]: CREATE_IN_PROGRESS stage. You then need to manually set the overcloud servers to poll heat from undercloud. But let's first see how it goes.

codylab gravatar imagecodylab ( 2018-09-05 13:28:25 -0500 )edit

thanks a lot man..I have just one query how will the target nodes get ip(provisioning network) and if i want already have ip in target will tripleo know .is test-net.yaml enough?

akarki gravatar imageakarki ( 2018-09-05 22:24:31 -0500 )edit

and also what logs to check in case the stack deployment is stuck??

akarki gravatar imageakarki ( 2018-09-05 23:10:24 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-09-05 04:47:36 -0500

Seen: 630 times

Last updated: Sep 05 '18