kolla-ansible/ansible/roles
Mark Goddard 365bb5177d Create cells before starting nova services
Nova services may reasonably expect cell databases to exist when they
start. The current cell setup tasks in kolla run after the nova
containers have started, meaning that cells may or may not exist in the
database when they start, depending on timing. In particular, we are
seeing issues in kolla CI currently with jobs timing out waiting for
nova compute services to start. The following error is seen in the nova
logs of these jobs, which may or may not be relevant:

No cells are configured, unable to continue

This change creates the cell0 and cell1 databases prior to starting nova
services.

In order to do this, we must create new containers in which to run the
nova-manage commands, because the nova-api container may not yet exist.
This required adding support to the kolla_docker module for specifying a
command for the container to run that overrides the image's command.

We also add the standard output and error to the module's result when a
non-detached container is run. A secondary benefit of this is that the
output of bootstrap containers is now displayed in the Ansible output if
the bootstrapping command fails, which will help with debugging.

Change-Id: I2c1e991064f9f588f398ccbabda94f69dc285e61
Closes-Bug: #1808575
2018-12-14 19:26:42 +00:00
..
aodh Add Aodh evaluation_interval 2018-10-16 08:14:22 +07:00
barbican Support stop specific containers 2018-11-26 08:07:01 +00:00
baremetal change the state value from installed to present 2018-12-06 14:35:04 +00:00
bifrost Support stop specific containers 2018-11-26 08:07:01 +00:00
blazar Support stop specific containers 2018-11-26 08:07:01 +00:00
ceilometer Add cache configuration for ceilometer project 2018-12-11 17:12:25 +08:00
ceph Support stop specific containers 2018-11-26 08:07:01 +00:00
certificates Use correct variable for default certificate paths 2018-11-19 16:25:28 +00:00
chrony Support stop specific containers 2018-11-26 08:07:01 +00:00
cinder Support stop specific containers 2018-11-26 08:07:01 +00:00
cloudkitty Support stop specific containers 2018-11-26 08:07:01 +00:00
collectd Support stop specific containers 2018-11-26 08:07:01 +00:00
common Merge "Fix fluentd input log parser for OpenDaylight" 2018-12-05 10:35:05 +00:00
congress Support stop specific containers 2018-11-26 08:07:01 +00:00
designate Support stop specific containers 2018-11-26 08:07:01 +00:00
destroy Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
elasticsearch Support stop specific containers 2018-11-26 08:07:01 +00:00
etcd Support stop specific containers 2018-11-26 08:07:01 +00:00
freezer Support stop specific containers 2018-11-26 08:07:01 +00:00
glance Merge "Fix glance configuration when using external ceph" 2018-12-06 09:51:19 +00:00
gnocchi Support stop specific containers 2018-11-26 08:07:01 +00:00
grafana Support stop specific containers 2018-11-26 08:07:01 +00:00
haproxy Merge "Remove the deprecate the Glance Registry" 2018-12-01 07:08:36 +00:00
haproxy-config Add missing project_name variables 2018-10-24 13:52:07 +02:00
heat Support stop specific containers 2018-11-26 08:07:01 +00:00
horizon Support stop specific containers 2018-11-26 08:07:01 +00:00
influxdb Support stop specific containers 2018-11-26 08:07:01 +00:00
ironic Support stop specific containers 2018-11-26 08:07:01 +00:00
iscsi Support stop specific containers 2018-11-26 08:07:01 +00:00
kafka Support stop specific containers 2018-11-26 08:07:01 +00:00
karbor Merge "Set region_id for karbor_client" 2018-11-29 11:08:07 +00:00
keystone Merge "Use correct variable for default certificate paths" 2018-12-02 09:25:42 +00:00
kibana Support stop specific containers 2018-11-26 08:07:01 +00:00
kuryr Support stop specific containers 2018-11-26 08:07:01 +00:00
magnum Support stop specific containers 2018-11-26 08:07:01 +00:00
manila Merge "Create /volumes when using external ceph" 2018-12-13 13:56:36 +00:00
mariadb Change xtrabackup to mariadb-backup for mariadb 10.3 2018-12-11 18:20:25 +01:00
memcached Support stop specific containers 2018-11-26 08:07:01 +00:00
mistral Merge "Deploy mistral-event-engine service" 2018-12-11 08:04:40 +00:00
module-load Load known, standard kernel modules from the host, not within containers 2018-10-11 10:26:34 +02:00
monasca Support stop specific containers 2018-11-26 08:07:01 +00:00
mongodb Support stop specific containers 2018-11-26 08:07:01 +00:00
multipathd Support stop specific containers 2018-11-26 08:07:01 +00:00
murano Support stop specific containers 2018-11-26 08:07:01 +00:00
neutron Merge "Add neutron metering role into kolla-ansible" 2018-11-26 11:45:45 +00:00
nova Create cells before starting nova services 2018-12-14 19:26:42 +00:00
nova-hyperv Support stop specific containers 2018-11-26 08:07:01 +00:00
octavia Support stop specific containers 2018-11-26 08:07:01 +00:00
opendaylight Allow set tty for containers 2018-12-05 11:44:37 +00:00
openvswitch Support stop specific containers 2018-11-26 08:07:01 +00:00
ovs-dpdk Support stop specific containers 2018-11-26 08:07:01 +00:00
panko Support stop specific containers 2018-11-26 08:07:01 +00:00
prechecks Use correct variable for default certificate paths 2018-11-19 16:25:28 +00:00
prometheus Add Prometheus as Vitrage datasource 2018-12-11 16:05:05 +07:00
qdrouterd Support stop specific containers 2018-11-26 08:07:01 +00:00
rabbitmq Support stop specific containers 2018-11-26 08:07:01 +00:00
rally Support stop specific containers 2018-11-26 08:07:01 +00:00
redis Support stop specific containers 2018-11-26 08:07:01 +00:00
sahara Fix section trustee of sahara.conf 2018-11-29 15:08:49 -05:00
searchlight Support stop specific containers 2018-11-26 08:07:01 +00:00
senlin Support stop specific containers 2018-11-26 08:07:01 +00:00
service-stop/tasks Support stop specific containers 2018-11-26 08:07:01 +00:00
skydive Support stop specific containers 2018-11-26 08:07:01 +00:00
solum Support stop specific containers 2018-11-26 08:07:01 +00:00
storm Support stop specific containers 2018-11-26 08:07:01 +00:00
swift Merge "Apply Swift rolling upgrade" 2018-11-30 11:29:27 +00:00
tacker Support stop specific containers 2018-11-26 08:07:01 +00:00
telegraf Support stop specific containers 2018-11-26 08:07:01 +00:00
tempest Support stop specific containers 2018-11-26 08:07:01 +00:00
trove Support stop specific containers 2018-11-26 08:07:01 +00:00
vitrage Add Prometheus as Vitrage datasource 2018-12-11 16:05:05 +07:00
vmtp Support stop specific containers 2018-11-26 08:07:01 +00:00
watcher Support stop specific containers 2018-11-26 08:07:01 +00:00
zookeeper Support stop specific containers 2018-11-26 08:07:01 +00:00
zun Support stop specific containers 2018-11-26 08:07:01 +00:00
ceph_pools.yml Merge "Configure application for ceph pool" 2018-03-26 02:51:11 +00:00