aboutsummaryrefslogtreecommitdiff
path: root/docker/common/keystone
AgeCommit message (Collapse)AuthorFilesLines
2015-08-28Move scripts for keystone to docker_templatesSteven Dake2-73/+0
Change-Id: I71ba1998215913fdffaa335c270a622af113e1da
2015-08-23Fix keystone for UbuntuSam Yaple2-6/+22
Due to the differences between Ubuntu and Centos around Apache2 I have had to copy both start.sh and config-external.sh to be unique files for Ubuntu so as not to affect Centos either. This can be removed when we change the way config-external works. Change-Id: I14dc11e7bb6284b897259a53acc914ae8f254d3c Partially-Implements: blueprint install-from-ubuntu
2015-08-06update config-external.sh in galera,keystone,rabbitmq,swiftxiabing.yao1-8/+13
Use variables like SOURCE,TARGET in config-external.sh, so it will easy to modify in future. Closes-Bug: #1485710 Change-Id: I3880a2cbca8a80d36e84a797fcfb943e43b88bd5
2015-08-07Remove config-internal for keystoneSam Yaple3-151/+1
Change-Id: Iacd37265619866d4b46c67e16824021d955c0251 Partially-implements: blueprint remove-config-internal
2015-07-29Update service helper scripts for variable changesSwapnil Kulkarni1-33/+9
- Updated the required variables to be sorted so that they are better visible one on each line - Removed variable defaults from each service scripts and added them to tools/genenv file which holds all default values Change-Id: Ia7b1b08ba3f963b46b81434ce84f476d56890a93 Closes-Bug: #1476494 Closes-Bug: #1467652
2015-07-09Keystone installation from sourceAlicja Kwasniewska1-3/+0
Makes use of new gen-source-tar script to provide a source based keystone image. This patch introduces a new concept of a .buildinfo file, which provides variables specific to the image being built which cannot be defaulted in a generic way, at least until the build script is overhauled. This file is sourced before the .buildconf which still leaves everything customisable by the user. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I0ec6b9cfe6d4173f3192e4ae5833fb0f6d333f1c Implements: blueprint install-from-source
2015-07-08Fix permissions on log directory for keystoneSam Yaple1-8/+9
Additionally fixed bootstrap issue caused by an ansible bug in some versions of the docker module. Closes-Bug: #1472270 Change-Id: Ia5a370db5ab7690854afcd63492ba7dbbea29835
2015-07-05Have bootstrap script create the initial endpointSam Yaple1-0/+17
Due to a few issue that exist between keystone v3 and v2.0 the endpoint needs to be created as v2.0. If it is created as v3, v2.0 queries will not see the endpoint. https://bugs.launchpad.net/keystone/+bug/1470635 Change-Id: Ie7ff88b8cbb23b3ca149cb6e8d5a18a427d22038 Partially-Implements: blueprint ansible-service
2015-07-03Updated keystone for wsgi in config-externalSam Yaple2-5/+13
This will switch config-external to using wsgi vs evenlet for keystone. Partially Implements: blueprint ansible-service Change-Id: I85a88c813ed36d827916796199dad735b2d44b40
2015-06-30Add initial config function and keystone supportSam Yaple3-157/+183
Add set_configs function that implements the flow from the proposed ansible-multi spec. Move start.sh to config-internal.sh to preserve existing behaviour. config-externall.sh copies the appropriate configs in from the bind'd location and sets permissions and ownership appropriately. Partially Implements: blueprint ansible-multi Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
2015-06-29Convert keystone from eventlet to httpdliberty-1Steven Dake1-1/+1
eventlet in master (Delorean) has had a regression making Keystone not work well with it. Instead, we have decided to switch to the recommended deployment model using httpd. Change-Id: Ie5407ae4fab9882b301925ddfa1b065923bbd52f Closes-Bug: #1469851
2015-06-22Add option to not run db syncRyan Hallisey1-3/+3
Database syncs should not be required every time a container starts. We can default database startup to true, but give the option to set it to false. Change-Id: Ib76876b2671f6c31f4511412efd3a438ec78f01f Closes-bug: #1467576
2015-06-19Create keystone user in start.sh if it doesn't existPaul Bourke1-0/+3
This is required for the source install method (for packages the user/group is added as part of install) Change-Id: I9b2e8d3757587276c21967ee67d45277616d433f
2015-06-19Symlink all non Dockerfile resources in imagesPaul Bourke2-0/+174
The only files in the docker image directories that differ majorly between distros are the Dockerfiles (e.g. different package manager mechanisms, different repo sources, etc). The supporting files such as the start.sh/check.sh and config files should largely stay the same between base images. This change moves these files up into a "common" directory, and symlinks them in the same way that the build script is managed. This means when adding a new base distro only new Dockerfiles need to be created. Also, if a distro does happen to require a vastly different start.sh script for example, one can choose to simply not symlink to the common and instead drop in a custom one. Implements: blueprint refactor-base-image-layout Change-Id: Ic4db69d31ff54a1fb95af4853a2e5ae490064284