Merge "Don't pull images during upgrade"
This commit is contained in:
commit
ed5588c934
@ -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
|
||||
|
@ -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]
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
---
|
||||
- include_tasks: pull.yml
|
||||
|
||||
# Pin release version
|
||||
- include_tasks: config.yml
|
||||
vars:
|
||||
|
@ -1,6 +1,4 @@
|
||||
---
|
||||
- include_tasks: pull.yml
|
||||
|
||||
- include_tasks: config.yml
|
||||
|
||||
- include_tasks: config-neutron-fake.yml
|
||||
|
@ -1,7 +1,5 @@
|
||||
---
|
||||
# Create new set of configs on nodes
|
||||
- include_tasks: pull.yml
|
||||
|
||||
- include_tasks: config.yml
|
||||
|
||||
- include_tasks: bootstrap_service.yml
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user