Don't pull images during upgrade

When adding the rolling upgrade support, some upgrade procedures were
modified to pull images explicitly. This is done inconsistently between
services, and is a change in behaviour from Rocky and earlier releases.

This change removes all image pulling from upgrade tasks.

Change-Id: Id0fed17714235e1daed60b83b1f30620f097eb97
This commit is contained in:
Mark Goddard 2019-03-20 18:51:45 +00:00
parent 06242ea22b
commit 58d6dc3bcf
6 changed files with 1 additions and 20 deletions

View File

@ -1,16 +1,11 @@
---
# NOTE (duonghq): I break pull and config into 2 phases to prevent new version
# NOTE (duonghq): I break config into 2 phases to prevent new version
# of service start if node or process in node crash accidentally.
- include_tasks: pull.yml
when: inventory_hostname == groups["cinder-api"][0]
- include_tasks: config.yml
when: inventory_hostname == groups["cinder-api"][0]
- include_tasks: bootstrap_service.yml
- include_tasks: pull.yml
- include_tasks: config.yml
- name: Flush handlers

View File

@ -3,9 +3,6 @@
glance_upgrading: True
# Upgrade first node (NEW NODE in the Glance documentation)
- include_tasks: pull.yml
when: inventory_hostname == groups["glance-api"][0]
- include_tasks: config.yml
when: inventory_hostname == groups["glance-api"][0]
@ -74,9 +71,6 @@
- Restart glance-api container
# Upgrade remaining node
- include_tasks: pull.yml
when: inventory_hostname != groups["glance-api"][0]
- include_tasks: config.yml
when: inventory_hostname != groups["glance-api"][0]

View File

@ -1,6 +1,4 @@
---
- include_tasks: pull.yml
# Pin release version
- include_tasks: config.yml
vars:

View File

@ -1,6 +1,4 @@
---
- include_tasks: pull.yml
- include_tasks: config.yml
- include_tasks: config-neutron-fake.yml

View File

@ -1,7 +1,5 @@
---
# Create new set of configs on nodes
- include_tasks: pull.yml
- include_tasks: config.yml
- include_tasks: bootstrap_service.yml

View File

@ -1,6 +1,4 @@
---
- include_tasks: pull.yml
# Upgrade swift storage nodes first
- include_tasks: config.yml
when: inventory_hostname in groups['swift-account-server'] or