Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

issue with tripleo

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

https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/deployed_server.html

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:

resource_registry:
  OS::TripleO::DeployedServer::ControlPlanePort: ../deployed-server/deployed-neutron-port.yaml
parameter_defaults:
  DeployedServerPortMap:
    controller0-ctlplane:
      fixed_ips:
        - ip_address: 192.168.24.6
      subnets:
        - cidr: 192.168.24.0/24
    compute0-ctlplane:
      fixed_ips:
        - ip_address: 192.168.24.7
      subnets:
        - 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 /usr/share/openstack-tripleo-heat-templates/deployed-server  --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

issue with tripleo

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

https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/deployed_server.html

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:

resource_registry:
  OS::TripleO::DeployedServer::ControlPlanePort: ../deployed-server/deployed-neutron-port.yaml
parameter_defaults:
  DeployedServerPortMap:
    controller0-ctlplane:
      fixed_ips:
        - ip_address: 192.168.24.6
      subnets:
        - cidr: 192.168.24.0/24
    compute0-ctlplane:
      fixed_ips:
        - ip_address: 192.168.24.7
      subnets:
        - 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 /usr/share/openstack-tripleo-heat-templates/deployed-server  --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

issue with tripleo

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

https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/deployed_server.html

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:

resource_registry:
  OS::TripleO::DeployedServer::ControlPlanePort: ../deployed-server/deployed-neutron-port.yaml
parameter_defaults:
  DeployedServerPortMap:
    controller0-ctlplane:
      fixed_ips:
        - ip_address: 192.168.24.6
      subnets:
        - cidr: 192.168.24.0/24
    compute0-ctlplane:
      fixed_ips:
        - ip_address: 192.168.24.7
      subnets:
        - 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 /usr/share/openstack-tripleo-heat-templates/deployed-server  --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

issue with tripleo

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

https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/deployed_server.html

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:

resource_registry:
  OS::TripleO::DeployedServer::ControlPlanePort: ../deployed-server/deployed-neutron-port.yaml
parameter_defaults:
  DeployedServerPortMap:
    controller0-ctlplane:
      fixed_ips:
        - ip_address: 192.168.24.6
      subnets:
        - cidr: 192.168.24.0/24
    compute0-ctlplane:
      fixed_ips:
        - ip_address: 192.168.24.7
      subnets:
        - 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

Update

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:

parameter_defaults:
  NeutronPublicInterface: em1(provisioning network)
  ControlPlaneDefaultRoute: 192.168.24.1(undercloud network)
  EC2MetadataIp: 192.168.24.1(undercloup ip)

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