Merge "Ensure that control plane hosts are also updated correctly" into stable/rocky

This commit is contained in:
Zuul 2019-01-21 14:07:37 +00:00 committed by Gerrit Code Review
commit 3dab84b691
2 changed files with 9 additions and 10 deletions

View File

@ -161,11 +161,11 @@ Before installing the infrastructure and OpenStack, update the host machines.
.. code-block:: console .. code-block:: console
# openstack-ansible setup-hosts.yml --limit '!galera_all:!neutron_agent:!rabbitmq_all' # openstack-ansible setup-hosts.yml --limit '!galera_all:!rabbitmq_all'
This command is the same setting up hosts on a new installation. The This command is the same setting up hosts on a new installation. The
``galera_all``, ``neutron_agent`` and ``rabbitmq_all`` host groups are excluded ``galera_all`` and ``rabbitmq_all`` host groups are excluded to prevent
to prevent reconfiguration and restarting of any of those containers. reconfiguration and restarting of any of those containers.
Update the other LXC container configuration Update the other LXC container configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -175,13 +175,12 @@ Update the other container configuration independently.
.. code-block:: console .. code-block:: console
# openstack-ansible lxc-containers-create.yml -e \ # openstack-ansible lxc-containers-create.yml -e \
'lxc_container_allow_restarts=false' --limit 'galera_all:neutron_agent:rabbitmq_all' 'lxc_container_allow_restarts=false' --limit 'galera_all:rabbitmq_all'
This command is a subset of the host setup playbook, limited to the This command is a subset of the host setup playbook, limited to the
``galera_all``, ``neutron_agent`` and ``rabbitmq_all`` host groups. ``galera_all`` and ``rabbitmq_all`` host groups. The configuration of those
The configuration of those containers is updated but a restart for containers is updated but a restart forany changes to take effect is deferred
any changes to take effect is deferred to another playbook or later to another playbook or later (see the next section).
(see the next section).
Perform a controlled rolling restart of the Galera containers Perform a controlled rolling restart of the Galera containers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -174,9 +174,9 @@ function main {
RUN_TASKS+=("${UPGRADE_PLAYBOOKS}/ceph-galaxy-removal.yml") RUN_TASKS+=("${UPGRADE_PLAYBOOKS}/ceph-galaxy-removal.yml")
RUN_TASKS+=("${UPGRADE_PLAYBOOKS}/molteniron-role-removal.yml") RUN_TASKS+=("${UPGRADE_PLAYBOOKS}/molteniron-role-removal.yml")
# we don't want to trigger container restarts for these groups yet # we don't want to trigger container restarts for these groups yet
RUN_TASKS+=("setup-hosts.yml --limit '!galera_all:!neutron_agent:!rabbitmq_all'") RUN_TASKS+=("setup-hosts.yml --limit '!galera_all:!rabbitmq_all'")
# add new container config to containers but don't restart # add new container config to containers but don't restart
RUN_TASKS+=("lxc-containers-create.yml -e 'lxc_container_allow_restarts=false' --limit 'galera_all:neutron_agent:rabbitmq_all'") RUN_TASKS+=("lxc-containers-create.yml -e 'lxc_container_allow_restarts=false' --limit 'galera_all:rabbitmq_all'")
# setup infra # setup infra
RUN_TASKS+=("unbound-install.yml") RUN_TASKS+=("unbound-install.yml")
RUN_TASKS+=("repo-install.yml") RUN_TASKS+=("repo-install.yml")