On Wed, Feb 17, 2021 at 12:06 PM dangerzone ar <dangerzonen@gmail.com> wrote:
Hi all...I'm planning to add another 3 compute servers to existing overcloud (consists of existing 2 compute nodes, 3 controllers and 3 storage). I'm running on openstack ussuri using tripleo and centos7.

Below is the command and parameters used during initial deployment
```
openstack overcloud deploy --templates \
  -r ~/templates/roles_data.yaml \
  -n ~/templates/network_data.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/network-environment.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
  -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml
  -e ~/templates/network.yaml \
  -e ~/templates/scheduler_hints_env.yaml \
  -e ~/templates/node-info.yaml

```
So now this is my plan to add additional compute nodes
1. Create new json file containing details of new compute nodes i.e. newnodes.json
openstack overcloud node import newnodes.json
2. Run introspection
openstack overcloud node introspect --all-manageable
3. Tag each new node for its desired role
openstack baremetal node set --property capabilities='profile:compute,boot_option:local' [NODE UUID]
4. Run openstack overcloud deploy
openstack overcloud deploy --compute-scale 3

The scale parameters, like --compute-scale, are deprecated. You should just change the <Role>Count (e.g. ComputeCount)
to match your new scale. At the moment you have 3, change it to 6.


Step No 4, should I run overcloud deploy with all the environment template/parameters same as during initial deployment as per example above?
Really appreciate your advice of these steps especially no 4.

yes, run the same deploy command with the modified <Role>Count.
 
 
Please advise further if my plan and steps above are good to go.
Thank you for your help and kind advice. May God bless you. 

Thank you.
dz

1.