aboutsummaryrefslogtreecommitdiff
path: root/docker/common
AgeCommit message (Collapse)AuthorFilesLines
2015-07-03Ansible Rabbitmq supportSam Yaple4-3/+98
Adds initial support for Rabbitmq in Ansible using the CONFIG_EXTERNAL methods. Additionally, this refactors some of the Rabbitmq config script to allow for reuse by CONFIG_EXTERNAL. Partially Implements: blueprint ansible-service Change-Id: I1765548f7e4f1258eb8a49e2a23242955f52655d
2015-07-03Ansible Mariadb w/ Galera supportSam Yaple5-25/+59
Adds initial support for Mariadb with Galera replication in Ansible using the CONFIG_EXTERNAL methods. Additionally, this refactors some of the Galera config script to allow for reuse by CONFIG_EXTERNAL. Partially Implements: blueprint ansible-service Change-Id: I566fea0376ecca39fc8a5167f9ff9ff434ea7b7e
2015-07-03Add config-internal/config-external to Glance containersHarm Weites6-67/+120
Partially Implements: Blueprint standard-start Change-Id: I26e2fe52fe40efd001f9aae109ac6b7553d73264
2015-07-03Add config-internal/config-external to Nova-compute containersHarm Weites9-44/+113
Partially Implements: Blueprint standard-start Change-Id: Ia219015f18d788d0c01c0bffee6b475bb07291a9
2015-07-02Add config-internal/config-external to Swift containersHarm Weites12-89/+181
These containers look to be broken, bad. Fixing them should be done through a separate bug. Here we only focus on getting aligned for Ansible deployments. Partially Implements: Blueprint standard-start Change-Id: I9d538f2c39510266f30cfed88e01c203f35bfb8e
2015-07-02Add config-internal/config-external to Heat containersHarm Weites9-68/+144
Partially Implements: Blueprint standard-start Change-Id: Ia353ea4292e1f183949e8fc1c68ed345d1edc884
2015-07-02Add config-internal/config-external to Nova-controller containersHarm Weites15-93/+215
Partially Implements: Blueprint standard-start Change-Id: I40a863161bee779a944e9388a1ad7d5d0e7adba7
2015-06-30Add initial config function and keystone supportSam Yaple4-157/+207
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-27Partially revert thin neutron containersSam Yaple2-0/+22
Due to a revert in the Docker code, thin neutron containers do not work at this time. The neutron plugin agents do not need to exist in the same container as the other agents however. This allows for using either linuxbridge or openvswitch The docker commit that did the revert: https://github.com/docker/docker/commit/ff770d33cdee5ab4dc0bdeb06dcfea49aa72ab8e Closes-Bug: 1469307 Change-Id: Idf79c31c74c34b93f5a9bac49730aca49bbdb861
2015-06-26Merge "Liberty requires Cinder to use the v2 API"Jenkins2-5/+6
2015-06-26Liberty requires Cinder to use the v2 APIRyan Hallisey2-5/+6
The Liberty release of Cinder will remove the v1 api so we need to disable it in the cinder_api container and use v2. Change-Id: I5dab7214d4d39afdf92555e3ffbd7f4a6194cd45 Closes-bug: #1469177
2015-06-26Merge "The CINDER_LVM_LO_VOLUME_SIZE var had a typo"Jenkins1-1/+1
2015-06-26Merge "Add missing openstack.env vars and export to heat"Jenkins2-3/+7
2015-06-26Add missing openstack.env vars and export to heatMichal Stachowski2-3/+7
Heat failed on heat-keystone-setup-domain because it requires openrc style of env vars. Also, genenv missed Keystone port env vars. There are several openrc instances that are using the keystone public port, bug filed: https://bugs.launchpad.net/kolla/+bug/1469209 Change-Id: I03b57c43c38fb3ebded4d6f206161cf02fb4883d Closes-Bug: #1469003 Co-Authored-by: Jeff Peeler <jpeeler@redhat.com>
2015-06-26The CINDER_LVM_LO_VOLUME_SIZE var had a typoRyan Hallisey1-1/+1
The truncate command is failing because the CINDER_LVM_LO_VOLUME_SIZE has a typo. Change-Id: If5f965fab2edbb8794cf6280e350c12a863b6464 Closes-bug: #1469229
2015-06-26Remove log files from required vars in CinderRyan Hallisey4-5/+4
The log dir and files are being set to nothing and they were being required by Cinder causing the check to fail. The log dir and files are not required to run Cinder so they need to be removed. Change-Id: I523481f5e3c51a05294fc5e13caaff0a95626f13 Closes-bug: #1468996
2015-06-25Allow /dev/pts proper permissions so cinder and libvirt workRyan Hallisey4-0/+36
We need to mount /dev both Libvirt and Cinder containers and /dev/pts is not correctly mounted. The /dev/pts recieves no permissions from the host so it becomes inacessable. We need to change the permissions of /dev/pts in the container to 666. Change-Id: Id197a766adc3aecb24e6b10aa84f51c23124b488 Closes-bug: #1468951
2015-06-25Add neutron-openvswitch-agent contianerFang Fenghua2-0/+58
Implements the neutron-openvswitch-agent plugin container. Co-Authored-By: Sam Yaple <sam@yaple.net> Partially Implements blueprint: openvswitch-container Change-Id: Ie0fa318541e16d730b7007d3620c7873e898ed4a
2015-06-24Add more checks to the glance containersRyan Hallisey3-8/+15
The glance containers need to check for more required variables than they were originally. Closes-bug: #1432336 Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I8fc730580f09ed3d4c54b8e94d011f0f924cae3e
2015-06-24Merge "Fixes MariaDB to support Heat"Jenkins1-0/+1
2015-06-24Merge "Add openvswitch container"Jenkins2-0/+30
2015-06-24Fixes MariaDB to support HeatDaneyon Hansen1-0/+1
When spawning Heat stacks, the DB reaches the max_connections limit. This causes MariaDB to block all traffic by source IP, essentially blocking all services. This patch introduces the MARIADB_MAX_CONNECTIONS parameter to make the max_connections configurable. The default of 151 max_connections is maintained. Closes-Bug: #1465422 Change-Id: I869aa9f117c6fa959b1c6948dfc379f30a6bc1d7
2015-06-24Configure Heat service domainHarm Weites2-2/+17
Change-Id: Iefc2dfea4bf4ce2fa9a5d1f013594929d218b9fc Closes-Bug: #1463970
2015-06-24Merge "Change fat neutron container into thin containers"Jenkins11-75/+0
2015-06-24Change fat neutron container into thin containersSam Yaple11-75/+0
Key difference here is the ip_wrapper.py file. This file and docker 1.7 allow for the network namespaces to be created in the host mount namespace and propogated into the containers. Co-Authored-By: Paul Bourke <paul.bourke@oracle.com> Change-Id: I73bcd1c97bbaf742af883dbf281a8d76aff8aebf
2015-06-24RabbitMQ container with HA supportMichal Stachowski3-20/+4
This is new RabbitMQ container with support for HA. It's next step for provide HA support in Kolla project. RabbitMQ is supporting now active/active model and It's ready for active/passive model. Change-Id: I2eb6c65f6268ee96d377e72cf880a01c8042559e Implements: blueprint rabbitmq-ha
2015-06-24Merge "Fix Heat container env vars and dependencies"Jenkins1-1/+3
2015-06-22Add option to not run db syncRyan Hallisey5-15/+24
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-22Move Designate-Sink start.sh to docker/commonMichal Rostecki1-0/+64
All start.sh scripts should be in docker/common directory instead of docker/centos. Change-Id: Ifc1d07246e3b56156a1dc861e2b262f75c1cd918 Closes-Bug: #1467528
2015-06-20Add openvswitch containerFang Fenghua2-0/+30
Add openvswitch containers. Openvswitch is seperated into two running containers: ovs-db-server ovs-vswitchd The db container is what everything interacts with. Neutron tells the db its information, the vswitchd container reads this db and talks to the kernel module. The db does not need to be persistent since the plugin agent will repopulate all the information each time it is restarted and the plugin agent is required to be restarted when the ovs-vswitchd container is stopped/started to ensure the ports are setup properly. This container requires /run for the socket and /lib/modules:ro to load the appropriate host kernel module. This userspace tools and the kernel module do _not_ have to match versions. Additionally, even though it is recommended that the userspace tool be newer than the kernel version to take advantage of all the features, it is not required. Partially Implements blueprint: openvswitch-container Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: I70e3807be32c9a07346d316e7856421ecf468b9a
2015-06-19Fix Heat container env vars and dependenciesJeff Peeler1-1/+3
This commit adds a few dependencies (that are actually packaging errors) present in all of the containers, as well as specifically in heat-engine. Some of the environment variables were not set correctly in the heat-api-cfn container. The environment variables have also been correctly added to the genenv script. Also removed duplicated compose file data already present in heat-api-engine. Closes-Bug: #1461872 Change-Id: I9631d1bc6ea42425272570a9dda8cbf5edcef4f3
2015-06-19Merge "Fixed non-bashate compliant method signature"Jenkins1-1/+1
2015-06-19Merge "Fixed non-bashate compliance indentation in mariadb script"Jenkins1-1/+1
2015-06-19Fixed non-bashate compliance indentation in mariadb scriptBorne Mace1-1/+1
Change-Id: I4c25238b57ae718205d2e31994a9be74fae3dda0 Partially-implements: blueprint bashate-gate
2015-06-19Fixed non-bashate compliant method signatureBorne Mace1-1/+1
Change-Id: Iae145f6b4413035eb800355a9a72f153b744b4ba Partially-implements: blueprint bashate-gate
2015-06-19Fixed non-bashate compliant file, missing newline at endBorne Mace1-1/+2
Change-Id: I9653765b716d17f73a874a21d42ff09ad90792c3 Partially-implements: blueprint bashate-gate
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 Bourke81-0/+3132
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
2015-06-14Separate base images into different foldersSam Yaple2-0/+215
This moves a few things around. Namely centos/fedora-rdo-base becomes centos/rdo/base fedora/rdo/base I have also separated out RHEL. Moves the current scripts in "base" to a "common" folder common to all images and then recreates the appropriate links to allow all the containers to build the same way they did before. This removes all .buildconfs in the system (though they are still usable) Partially Implements: blueprint refactor-base-image-layout Co-Authored-By: Martin André <martin.andre@kvhasia.com> Change-Id: Id63eac1eb9893ceb775c28bf22842dede85c214a