Update tripleo-validations before upgrading the undercloud.

From rocky to stein, the tripleo-validations project has experienced
a big refactoring having some directories and files moved. When
upgrading the undercloud, the openstack-tripleo-validations is not
included as a dependency in the tripleo-heat-templates, tripleo-common
or tripleoclient spec file and as a consequence, the package won't get
updated.

The result is that the undercloud upgrade operation fails because it
can't locate the tripleo-validations files in the right location:
No such playbook: /usr/share/openstack-tripleo-validations/playbooks/
undercloud-disk-space-pre-upgrade.yaml

This patch ensures that openstack-tripleo-validations package is also
upgraded before upgrading the undercloud.

Change-Id: Ibfaa563a5882af0bff33b0e0cba92cb1b6a282fb
Closes-Bug: #1831041
This commit is contained in:
Jose Luis Franco Arza 2019-06-14 11:07:37 +02:00
parent 010ce4e1ea
commit 9ac1e58fe6
1 changed files with 1 additions and 0 deletions

View File

@ -16,4 +16,5 @@
- "{{ 'python-tripleoclient' if use_oooq|bool else 'python3-tripleoclient' }}"
- "openstack-tripleo-common"
- "openstack-tripleo-heat-templates"
- "openstack-tripleo-validations"
state: latest