kolla-ansible/ansible/roles
Mark Goddard d5e5e885d1 During deploy, always sync DB
A common class of problems goes like this:

* kolla-ansible deploy
* Hit a problem, often in ansible/roles/*/tasks/bootstrap.yml
* Re-run kolla-ansible deploy
* Service fails to start

This happens because the DB is created during the first run, but for some
reason we fail before performing the DB sync. This means that on the second run
we don't include ansible/roles/*/tasks/bootstrap_service.yml because the DB
already exists, and therefore still don't perform the DB sync. However this
time, the command may complete without apparent error.

We should be less careful about when we perform the DB sync, and do it whenever
it is necessary. There is an argument for not doing the sync during a
'reconfigure' command, although we will not change that here.

This change only always performs the DB sync during 'deploy' and
'reconfigure' commands.

Change-Id: I82d30f3fcf325a3fdff3c59f19a1f88055b566cc
Closes-Bug: #1823766
Closes-Bug: #1797814
2019-07-12 08:56:54 +00:00
..
aodh During deploy, always sync DB 2019-07-12 08:56:54 +00:00
barbican During deploy, always sync DB 2019-07-12 08:56:54 +00:00
baremetal Merge "link kolla_logs volume to docker_runtime_directory if docker_runtime_directory variable exists" 2019-06-24 13:35:45 +00:00
bifrost Add upgrade-bifrost command 2019-07-02 14:30:14 +01:00
blazar During deploy, always sync DB 2019-07-12 08:56:54 +00:00
ceilometer Simplify handler conditionals 2019-06-27 15:57:19 +00:00
ceph Add 'allow *' to getting ceph mds keyring 2019-07-10 13:09:38 +02:00
certificates Removing '/certificates' entry in generate.yml as this causes an 2019-03-27 09:26:58 -06:00
chrony Simplify handler conditionals 2019-06-27 15:57:19 +00:00
cinder During deploy, always sync DB 2019-07-12 08:56:54 +00:00
cloudkitty During deploy, always sync DB 2019-07-12 08:56:54 +00:00
collectd Simplify handler conditionals 2019-06-27 15:57:19 +00:00
common Simplify handler conditionals 2019-06-27 15:57:19 +00:00
congress During deploy, always sync DB 2019-07-12 08:56:54 +00:00
cyborg During deploy, always sync DB 2019-07-12 08:56:54 +00:00
designate During deploy, always sync DB 2019-07-12 08:56:54 +00:00
destroy Add elasticsearch_datadir_volume 2019-02-25 19:30:33 +01:00
elasticsearch Simplify handler conditionals 2019-06-27 15:57:19 +00:00
etcd Simplify handler conditionals 2019-06-27 15:57:19 +00:00
freezer During deploy, always sync DB 2019-07-12 08:56:54 +00:00
glance During deploy, always sync DB 2019-07-12 08:56:54 +00:00
gnocchi During deploy, always sync DB 2019-07-12 08:56:54 +00:00
grafana Simplify handler conditionals 2019-06-27 15:57:19 +00:00
haproxy Use become for all docker tasks 2019-06-06 19:04:58 +01:00
haproxy-config Allow separate listen port in haproxy-config templates 2018-12-27 15:45:50 -05:00
heat During deploy, always sync DB 2019-07-12 08:56:54 +00:00
horizon During deploy, always sync DB 2019-07-12 08:56:54 +00:00
influxdb Simplify handler conditionals 2019-06-27 15:57:19 +00:00
ironic During deploy, always sync DB 2019-07-12 08:56:54 +00:00
iscsi Use become for all docker tasks 2019-06-06 19:04:58 +01:00
kafka Simplify handler conditionals 2019-06-27 15:57:19 +00:00
karbor During deploy, always sync DB 2019-07-12 08:56:54 +00:00
keystone During deploy, always sync DB 2019-07-12 08:56:54 +00:00
kibana Simplify handler conditionals 2019-06-27 15:57:19 +00:00
kuryr Simplify handler conditionals 2019-06-27 15:57:19 +00:00
magnum During deploy, always sync DB 2019-07-12 08:56:54 +00:00
manila During deploy, always sync DB 2019-07-12 08:56:54 +00:00
mariadb Fixes for MariaDB bootstrap and recovery 2019-07-05 09:20:34 +00:00
memcached Simplify handler conditionals 2019-06-27 15:57:19 +00:00
mistral During deploy, always sync DB 2019-07-12 08:56:54 +00:00
module-load Load known, standard kernel modules from the host, not within containers 2018-10-11 10:26:34 +02:00
monasca During deploy, always sync DB 2019-07-12 08:56:54 +00:00
mongodb Simplify handler conditionals 2019-06-27 15:57:19 +00:00
multipathd Simplify handler conditionals 2019-06-27 15:57:19 +00:00
murano During deploy, always sync DB 2019-07-12 08:56:54 +00:00
neutron During deploy, always sync DB 2019-07-12 08:56:54 +00:00
nova During deploy, always sync DB 2019-07-12 08:56:54 +00:00
nova-hyperv Use keystone_*_url var in all configs 2019-03-06 15:08:26 -05:00
octavia During deploy, always sync DB 2019-07-12 08:56:54 +00:00
opendaylight Simplify handler conditionals 2019-06-27 15:57:19 +00:00
openvswitch Simplify handler conditionals 2019-06-27 15:57:19 +00:00
ovs-dpdk Simplify handler conditionals 2019-06-27 15:57:19 +00:00
panko During deploy, always sync DB 2019-07-12 08:56:54 +00:00
placement During deploy, always sync DB 2019-07-12 08:56:54 +00:00
prechecks Bump minimum Ansible version to 2.5 2019-07-01 09:38:01 +01:00
prometheus Simplify handler conditionals 2019-06-27 15:57:19 +00:00
qdrouterd Simplify handler conditionals 2019-06-27 15:57:19 +00:00
qinling During deploy, always sync DB 2019-07-12 08:56:54 +00:00
rabbitmq Use become for all docker tasks 2019-06-06 19:04:58 +01:00
rally During deploy, always sync DB 2019-07-12 08:56:54 +00:00
redis Simplify handler conditionals 2019-06-27 15:57:19 +00:00
sahara During deploy, always sync DB 2019-07-12 08:56:54 +00:00
searchlight Simplify handler conditionals 2019-06-27 15:57:19 +00:00
senlin During deploy, always sync DB 2019-07-12 08:56:54 +00:00
service-stop/tasks Use become for all docker tasks 2019-06-06 19:04:58 +01:00
skydive Simplify handler conditionals 2019-06-27 15:57:19 +00:00
solum During deploy, always sync DB 2019-07-12 08:56:54 +00:00
storm Simplify handler conditionals 2019-06-27 15:57:19 +00:00
swift Use become for all docker tasks 2019-06-06 19:04:58 +01:00
tacker During deploy, always sync DB 2019-07-12 08:56:54 +00:00
telegraf Simplify handler conditionals 2019-06-27 15:57:19 +00:00
tempest Simplify handler conditionals 2019-06-27 15:57:19 +00:00
trove During deploy, always sync DB 2019-07-12 08:56:54 +00:00
vitrage During deploy, always sync DB 2019-07-12 08:56:54 +00:00
vmtp Simplify handler conditionals 2019-06-27 15:57:19 +00:00
watcher During deploy, always sync DB 2019-07-12 08:56:54 +00:00
zookeeper Simplify handler conditionals 2019-06-27 15:57:19 +00:00
zun During deploy, always sync DB 2019-07-12 08:56:54 +00:00
ceph_pools.yml Use become for all docker tasks 2019-06-06 19:04:58 +01:00