summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authormarios <marios@redhat.com>2017-08-15 16:41:04 +0300
committermarios <marios@redhat.com>2017-09-20 14:26:05 +0300
commit10eed9c1ae1bfbf86361066736e3d17634770456 (patch)
treee2a2bcedefb49d433c10804d5b7e8793c3f04e1d /tools
parent5a7472c1696d9f173a1fd4387e349cda2eb44ff8 (diff)
Adds post_upgrade_tasks for any service post-upgrade ansible tasks
This adds a new config/deployment per role that will come after any post deploy steps. It drives the same ansible config as the upgrade_tasks but instead collects the post_upgrade_tasks for any service in the given role. The workflow is upgrade_tasks, then post deploy steps (either puppet/ or docker/ depending on the env) and then the post_upgrade_tasks added here. This is added to the pacemaker/cinder-volume.yaml service for now see the bug below for more info Change-Id: Iced34fecf02ebddc91df9302de54d2f4c2cab680 Closes-Bug: 1706951 (cherry picked from commit 2e182bffeeb099cb5e0b1747086fb0e0f57b7b5d)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/yaml-validate.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py
index 682cb8df..e47c1fe9 100755
--- a/tools/yaml-validate.py
+++ b/tools/yaml-validate.py
@@ -35,8 +35,9 @@ OPTIONAL_SECTIONS = ['service_workflow_tasks']
REQUIRED_DOCKER_SECTIONS = ['service_name', 'docker_config', 'puppet_config',
'config_settings', 'step_config']
OPTIONAL_DOCKER_SECTIONS = ['docker_puppet_tasks', 'upgrade_tasks',
- 'service_config_settings', 'host_prep_tasks',
- 'metadata_settings', 'kolla_config']
+ 'post_upgrade_tasks', 'service_config_settings',
+ 'host_prep_tasks', 'metadata_settings',
+ 'kolla_config']
REQUIRED_DOCKER_PUPPET_CONFIG_SECTIONS = ['config_volume', 'step_config',
'config_image']
OPTIONAL_DOCKER_PUPPET_CONFIG_SECTIONS = [ 'puppet_tags', 'volumes' ]