6 Commits

Author SHA1 Message Date
Steven Dake
bd5e5bbb64 Use one data container for all data volumes
The previous method of using the API image for a data container
worked, but resulted in more data being bindmounted and copied
into the system.  This patch resolves that by essentially using
a distro-type as a FROM in a Dockerfile to generate
distro-type-data.  Further all of the data containers used
throughout ansible are modified to use this new data container.

Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5
Partially-Implements: blueprint one-data-container
2015-08-18 20:52:27 -07:00
rthallisey
3c5165687a Cinder bootstrap container is not initializing the DB
When running cinder-ansible, the cinder db is never being initialized.
The bootstrap task needs to be fixed in order for cinder to run the db sync.

Change-Id: I01c5f5c34773ffc4e4f7fc7088a7277115db94dc
Closes-Bug: #1485745
2015-08-18 09:35:23 -04:00
Sam Yaple
a6f3a1073a Fix volumes_from for the ansible playbooks
Change-Id: Ib4b563d20d8e5ea5b81fb89e9ee4943487d7e6cd
Closes-Bug: #1485297
2015-08-16 09:10:58 +00:00
rthallisey
759cc41647 All the Cinder services need to reference the correct config
Every service except cinder-api was looking for the file
'/opt/kolla/cinder/cinder-<service>.conf' when the config file in place was named
'cinder.conf'.  Change the rest of the services to look for cinder.conf or
the config file will never be copied over to into '/etc/cinder/'.

Change-Id: I1cd59f1da09e6f3bc7e7b3a4f45f9da2b8247479
Closes-Bug: #1481928
Closes-Bug: #1484248
2015-08-13 16:26:35 -04:00
rthallisey
e7b45ab1ab Ansible Cinder needs to create the v2 endpoint
The Cinder v1 API is deprecated. We need to use the v2 API.

Change-Id: I54cbcbd9ad8e07f5e18441dff31df570cc8c21da
Closes-bug: #1484228
2015-08-12 16:41:36 -04:00
Swapnil Kulkarni
18f0e536f6 Add ansible support for Cinder
Change-Id: I0694e5ad95aa7f924ebd3a29dff1f85e6307b7ae
Partially-implements: blueprint ansible-cinder
Partially-Implements: blueprint remove-abstraction-ansible
Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
2015-08-12 03:41:48 +00:00