Enable sanity checks from kolla-ansible
Add a new subcommand 'check' to kolla-ansible, used to run the smoke/sanity checks. Add stub files to all services that don't currently have checks. Change-Id: I9f661c5fc51fd5b9b266f23f6c524884613dee48 Partially-implements: blueprint sanity-check-container
This commit is contained in:
parent
0883d34d4a
commit
5418ada148
1
ansible/roles/aodh/tasks/check.yml
Normal file
1
ansible/roles/aodh/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/barbican/tasks/check.yml
Normal file
1
ansible/roles/barbican/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/baremetal/tasks/check.yml
Normal file
1
ansible/roles/baremetal/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/bifrost/tasks/check.yml
Normal file
1
ansible/roles/bifrost/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/ceilometer/tasks/check.yml
Normal file
1
ansible/roles/ceilometer/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/ceph/tasks/check.yml
Normal file
1
ansible/roles/ceph/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/certificates/tasks/check.yml
Normal file
1
ansible/roles/certificates/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/chrony/tasks/check.yml
Normal file
1
ansible/roles/chrony/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/cloudkitty/tasks/check.yml
Normal file
1
ansible/roles/cloudkitty/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/collectd/tasks/check.yml
Normal file
1
ansible/roles/collectd/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/common/tasks/check.yml
Normal file
1
ansible/roles/common/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/congress/tasks/check.yml
Normal file
1
ansible/roles/congress/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/designate/tasks/check.yml
Normal file
1
ansible/roles/designate/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/destroy/tasks/check.yml
Normal file
1
ansible/roles/destroy/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/elasticsearch/tasks/check.yml
Normal file
1
ansible/roles/elasticsearch/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/etcd/tasks/check.yml
Normal file
1
ansible/roles/etcd/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/freezer/tasks/check.yml
Normal file
1
ansible/roles/freezer/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/gnocchi/tasks/check.yml
Normal file
1
ansible/roles/gnocchi/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/grafana/tasks/check.yml
Normal file
1
ansible/roles/grafana/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/haproxy/tasks/check.yml
Normal file
1
ansible/roles/haproxy/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/heat/tasks/check.yml
Normal file
1
ansible/roles/heat/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/horizon/tasks/check.yml
Normal file
1
ansible/roles/horizon/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/influxdb/tasks/check.yml
Normal file
1
ansible/roles/influxdb/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/ironic/tasks/check.yml
Normal file
1
ansible/roles/ironic/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/iscsi/tasks/check.yml
Normal file
1
ansible/roles/iscsi/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/karbor/tasks/check.yml
Normal file
1
ansible/roles/karbor/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/kibana/tasks/check.yml
Normal file
1
ansible/roles/kibana/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/kuryr/tasks/check.yml
Normal file
1
ansible/roles/kuryr/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/magnum/tasks/check.yml
Normal file
1
ansible/roles/magnum/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/manila/tasks/check.yml
Normal file
1
ansible/roles/manila/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/memcached/tasks/check.yml
Normal file
1
ansible/roles/memcached/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/mistral/tasks/check.yml
Normal file
1
ansible/roles/mistral/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/mongodb/tasks/check.yml
Normal file
1
ansible/roles/mongodb/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/multipathd/tasks/check.yml
Normal file
1
ansible/roles/multipathd/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/murano/tasks/check.yml
Normal file
1
ansible/roles/murano/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/neutron/tasks/check.yml
Normal file
1
ansible/roles/neutron/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/nova/tasks/check.yml
Normal file
1
ansible/roles/nova/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/octavia/tasks/check.yml
Normal file
1
ansible/roles/octavia/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/panko/tasks/check.yml
Normal file
1
ansible/roles/panko/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/prechecks/tasks/check.yml
Normal file
1
ansible/roles/prechecks/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/rabbitmq/tasks/check.yml
Normal file
1
ansible/roles/rabbitmq/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/rally/tasks/check.yml
Normal file
1
ansible/roles/rally/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/sahara/tasks/check.yml
Normal file
1
ansible/roles/sahara/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/searchlight/tasks/check.yml
Normal file
1
ansible/roles/searchlight/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/senlin/tasks/check.yml
Normal file
1
ansible/roles/senlin/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/solum/tasks/check.yml
Normal file
1
ansible/roles/solum/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/stop/tasks/check.yml
Normal file
1
ansible/roles/stop/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/tacker/tasks/check.yml
Normal file
1
ansible/roles/tacker/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/telegraf/tasks/check.yml
Normal file
1
ansible/roles/telegraf/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/tempest/tasks/check.yml
Normal file
1
ansible/roles/tempest/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/trove/tasks/check.yml
Normal file
1
ansible/roles/trove/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/vmtp/tasks/check.yml
Normal file
1
ansible/roles/vmtp/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
1
ansible/roles/watcher/tasks/check.yml
Normal file
1
ansible/roles/watcher/tasks/check.yml
Normal file
@ -0,0 +1 @@
|
||||
---
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- Add a new subcommand 'check' to kolla-ansible, used
|
||||
to run the smoke/sanity checks.
|
@ -46,6 +46,7 @@ Options:
|
||||
|
||||
Commands:
|
||||
prechecks Do pre-deployment checks for hosts
|
||||
check Do post-deployment smoke tests
|
||||
mariadb_recovery Recover a completely stopped mariadb cluster
|
||||
bootstrap-servers bootstrap servers with kolla deploy dependencies
|
||||
destroy Destroy Kolla containers, volumes and host configuration
|
||||
@ -157,6 +158,10 @@ case "$1" in
|
||||
ACTION="Pre-deployment checking"
|
||||
EXTRA_OPTS="$EXTRA_OPTS -e action=precheck"
|
||||
;;
|
||||
(check)
|
||||
ACTION="Post-deployment checking"
|
||||
EXTRA_OPTS="$EXTRA_OPTS -e action=check"
|
||||
;;
|
||||
(mariadb_recovery)
|
||||
ACTION="Attempting to restart mariadb cluster"
|
||||
EXTRA_OPTS="$EXTRA_OPTS -e action=deploy -e common_run=true"
|
||||
|
Loading…
Reference in New Issue
Block a user