Deploy overcloud

Upload undercloud Glance's images:

 sudo yum -y install rhosp-director-images rhosp-director-images-ipa
 
 mkdir images
 cp /usr/share/rhosp..... images/
 cp /usr/share/rhosp..... images/
 cd images
 tar xf overcloud-full-latest....tar
 tar xf ironic-python-agent-latest...tar
 cd -
 
 openstack overcloud image upload --image-path /home/stack/images
 neutron subnet-update 234234234234234234 --dns-nameserver 172.25.250.254
 wget http://materials/instackenv-twonodes.json
 
 openstack baremetal import --json instackenv-twonodes.json
 
 openstack baremetal configure boot
 
 openstack baremetal introspection bulk start

Create the flavors for overcloud servers:

 openstack flavor create --id auto --ram 2048 --disk 10 --vcpus 2 baremetal
 openstack flavor create --id auto --ram 6144 --disk 20 --vcpus 2 compute
 openstack flavor create --id auto --ram 6144 --disk 30 --vcpus 2 control

Tag the flavors:

 openstack flavor set \
   --property cpu_arch=x86_64 \
   --property capabilities:boot_option=local \
   baremetal
 
 openstack flavor set \
   --property cpu_arch=x86_64 \
   --property capabilities:profile=compute \
   --property capabilities:boot_option=local \
   compute
 
 openstack flavor set \
   --property cpu_arch=x86_64 \
   --property capabilities:profile=control \
   --property capabilities:boot_option=local \
   control

Tag the ironic discovered nodes to match flavors

 ironic node-update controller \
   add properties/capabilities='profile:control,boot_option:local'
 
 ironic node-update compute1 \
   add properties/capabilities='profile:compute,boot_option:local'

Deploy an define overcloud scale and network:

 openstack overcloud deploy --templates /home/stack/templates \
   --control-scale 1 \
   --compute-scale 1 \
   --control-flavor control \
   --compute-flavor compute \
   --neutron-tunnel-types vxlan \
   --neutron-network-type vxlan \
   -e /home/stack/templates/compute-extraconfig.yaml \
   -e /home/stack/templates/environments/network-isolation.yaml \
   -e /home/stack/templates/compute-extraconfig.yaml \
   -e /home/stack/templates/network-environment.yaml \
   -e /home/stack/templates/pre-config-fix.yaml