From bc21a289b59cceba9ab45b59599cc8e80c950f71 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Sat, 28 May 2022 07:30:44 +0200 Subject: [PATCH] Drop nova-key from scale documentation and scripts Since we've switched to using ssh cert-based auth, we don't need to distribute ssh keys across all computes with adding another one anymore. This change should be reflected in docs and add-compute script. Change-Id: I2d6de2e70fa59f8a0fc70eff56fab586fa648166 --- doc/source/admin/scale-environment.rst | 2 -- doc/source/admin/upgrades/minor-upgrades.rst | 3 +-- scripts/add-compute.sh | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/doc/source/admin/scale-environment.rst b/doc/source/admin/scale-environment.rst index 6621275147..ab0d90ecfb 100644 --- a/doc/source/admin/scale-environment.rst +++ b/doc/source/admin/scale-environment.rst @@ -108,9 +108,7 @@ cluster. # cd /opt/openstack-ansible/playbooks # openstack-ansible setup-hosts.yml --limit localhost,NEW_HOST_NAME - # ansible nova_all -m setup -a 'filter=ansible_local gather_subset="!all"' # openstack-ansible setup-openstack.yml --limit localhost,NEW_HOST_NAME - # openstack-ansible os-nova-install.yml --tags nova-key --limit nova_compute Alternatively you can try using new compute nodes deployment script ``/opt/openstack-ansible/scripts/add-compute.sh``. diff --git a/doc/source/admin/upgrades/minor-upgrades.rst b/doc/source/admin/upgrades/minor-upgrades.rst index 120ff8930b..e0551ed528 100644 --- a/doc/source/admin/upgrades/minor-upgrades.rst +++ b/doc/source/admin/upgrades/minor-upgrades.rst @@ -86,8 +86,7 @@ To update only a single Compute host, run the following command: .. code-block:: console - # openstack-ansible os-nova-install.yml --limit \ - --skip-tags 'nova-key' + # openstack-ansible os-nova-install.yml --limit .. note:: diff --git a/scripts/add-compute.sh b/scripts/add-compute.sh index 7ce49515d9..89bdb05c25 100755 --- a/scripts/add-compute.sh +++ b/scripts/add-compute.sh @@ -33,7 +33,6 @@ function define_tasks { RUN_TASKS+=("${OSA_REPO_PATH}/playbooks/setup-hosts.yml --limit ${HOSTS}") RUN_TASKS+=("${OSA_REPO_PATH}/playbooks/setup-openstack.yml --limit ${HOSTS}") RUN_TASKS+=("${OSA_REPO_PATH}/playbooks/unbound-install.yml --tags unbound-config") - RUN_TASKS+=("${OSA_REPO_PATH}/playbooks/os-nova-install.yml --tags nova-key --limit nova_compute") if [[ ! -z ${POST_OSA_TASKS} ]]; then if [ "${BASH_VERSINFO[0]}" -ge 4 ] && [ "${BASH_VERSINFO[1]}" -ge 4 ]; then