Merge "Don't pull images during upgrade"

This commit is contained in:
Zuul 2019-03-28 12:41:22 +00:00 committed by Gerrit Code Review
commit ed5588c934
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