Add check.yml for prometheus and vitrage
Without this, kolla-ansible check fails with the following error: Unable to retrieve file contents Could not find or access '/path/to/kolla-ansible/ansible/check.yml'"} Also adds the check command to the CI tests, to ensure that it does not break again. Change-Id: I9fc2f9999f55cb742ac3ac38579dcf26524a9fc7 Closes-Bug: #1790653
This commit is contained in:
parent
4dcb4ce741
commit
354894e2e9
1
ansible/roles/prometheus/tasks/check.yml
Normal file
1
ansible/roles/prometheus/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/vitrage/tasks/check.yml
Normal file
1
ansible/roles/vitrage/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
@ -151,6 +151,7 @@ function test_openstack {
|
||||
# service in CI
|
||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv deploy > /tmp/logs/ansible/deploy
|
||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv post-deploy > /tmp/logs/ansible/post-deploy
|
||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv check > /tmp/logs/ansible/check-deploy
|
||||
|
||||
# Test OpenStack Environment
|
||||
# TODO: use kolla-ansible check when it's ready
|
||||
@ -160,8 +161,10 @@ function test_openstack {
|
||||
# TODO(jeffrey4l): make some configure file change and
|
||||
# trigger a real reconfigure
|
||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv reconfigure > /tmp/logs/ansible/reconfigure
|
||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv check > /tmp/logs/ansible/check-reconfigure
|
||||
# TODO(jeffrey4l): need run a real upgrade
|
||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv upgrade > /tmp/logs/ansible/upgrade
|
||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv check > /tmp/logs/ansible/check-upgrade
|
||||
|
||||
# run prechecks again
|
||||
tools/kolla-ansible -i ${RAW_INVENTORY} -vvv prechecks > /tmp/logs/ansible/prechecks2
|
||||
|
Loading…
Reference in New Issue
Block a user