diff --git a/doc/source/admin/scale-environment.rst b/doc/source/admin/scale-environment.rst index ab0d90ecfb..0102c11873 100644 --- a/doc/source/admin/scale-environment.rst +++ b/doc/source/admin/scale-environment.rst @@ -40,6 +40,12 @@ needed in an environment, it is possible to create additional nodes. # openstack-ansible playbooks/setup-hosts.yml --limit localhost,infra,infra-host_containers +#. In case you're relying on ``/etc/hosts`` content, you should also update it for all hosts + + .. code:: console + + # openstack-ansible openstack-hosts-setup.yml -e openstack_hosts_group=all --tags openstack_hosts-file + #. Next we need to expand galera/rabbitmq clusters, which is done during ``setup-infrastructure.yml``. So we will run this playbook without limits. @@ -108,6 +114,7 @@ cluster. # cd /opt/openstack-ansible/playbooks # openstack-ansible setup-hosts.yml --limit localhost,NEW_HOST_NAME + # openstack-ansible openstack-hosts-setup.yml -e openstack_hosts_group=nova_compute --tags openstack_hosts-file # openstack-ansible setup-openstack.yml --limit localhost,NEW_HOST_NAME Alternatively you can try using new compute nodes deployment script diff --git a/scripts/add-compute.sh b/scripts/add-compute.sh index 89bdb05c25..7c5db9019d 100755 --- a/scripts/add-compute.sh +++ b/scripts/add-compute.sh @@ -31,6 +31,7 @@ function define_tasks { fi RUN_TASKS+=("${OSA_REPO_PATH}/playbooks/setup-hosts.yml --limit ${HOSTS}") + RUN_TASKS+=("${OSA_REPO_PATH}/playbooks/openstack-hosts-setup.yml -e openstack_hosts_group=nova_compute --tags openstack_hosts-file") RUN_TASKS+=("${OSA_REPO_PATH}/playbooks/setup-openstack.yml --limit ${HOSTS}") RUN_TASKS+=("${OSA_REPO_PATH}/playbooks/unbound-install.yml --tags unbound-config")