summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2015-06-26Merge "The Cinder API container requires python-keystone package"Jenkins1-0/+1
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-26Merge "Remove log files from required vars in Cinder"Jenkins4-5/+4
2015-06-26The Cinder API container requires python-keystone packageRyan Hallisey1-0/+1
This package was not required until now. The Cinder API may have gone through some changes recentrly to now require this package. Change-Id: Id3eac9716d11213fec0af6dff11fbec1e3045550 Closes-bug: #1469182
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-26Add oslo_service package to heatinc01-1/+2
Delorean repo has latests version of heat, which requires oslo_service, but there is no oslo_service rpm package upstream yet. This has to be pip installed until packaging problem is solved in repo. Change-Id: Id147dde9dc7cbe5b734fbf4671d48a0404a1548b Closes-Bug: #1469001
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-25Merge "Do not run all vars through check_required_vars"Jenkins1-3/+4
2015-06-25Merge "Add missing dependency oslo policy"Jenkins1-0/+1
2015-06-25Merge "Add neutron-openvswitch-agent contianer"Jenkins6-0/+72
2015-06-25Do not run all vars through check_required_varsHarm Weites1-3/+4
Doing this breaks non-clustered setups and LOG_BASE isn't even set. Change-Id: If4f5deb54c8bb6881af4e532e32d725a05f53f49 Closes-Bug: #1468882
2015-06-25Add missing dependency oslo policyJeff Peeler1-0/+1
Affecting one ore more neutron containers Change-Id: I2788c1921eb82ad0d0524fc99a436c5fe9ff50d8 Closes-bug: #1468863
2015-06-25Add neutron-openvswitch-agent contianerFang Fenghua6-0/+72
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-25Glance missing oslo.i18nMichal Jastrzebski (inc0)1-1/+1
Glance required this package but it's not in rpm dependencies Change-Id: I4a60e317ef1004649d2377f29b7f41b9c42c5212 Closes: bug 1468729
2015-06-25Merge "Move glance-data container to the correct place"Jenkins3-1/+1
2015-06-25Move glance-data container to the correct placeMartin André3-1/+1
It should be in docker/{centos,fedora,...}/binary/glance/glance-data and not directly at the root of docker directory. Change-Id: I9c4c260ef14f9b367dc86ccfb1a66d764d58ae01 Closes-Bug: #1468596
2015-06-25Fix build link for ovs containerMartin André1-1/+1
Change-Id: Ia296239bbf2d242403885d3ad5005479159c8aff Closes-Bug: #1468591
2015-06-25Merge "Add more checks to the glance containers"Jenkins3-8/+15
2015-06-25Merge "Set up glance to use a data container."Jenkins3-2/+6
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-24centos-rdo-neutron-base fails to buildSteven Dake1-1/+2
An ordering problem with the Dockerfile resultled in this container and all thin containers failing to build. This patch Fixes that problem. Change-Id: I4a7ba1554bdcba3f2147eb4eaa628d1cc19f84fd Co-Authored-By: Jeff Peeler <jpeeler@redhat.com> Closes-Bug: #1468486
2015-06-24Merge "Fixes MariaDB to support Heat"Jenkins1-0/+1
2015-06-24Merge "Add openvswitch container"Jenkins10-0/+53
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"Jenkins43-122/+120
2015-06-24Change fat neutron container into thin containersSam Yaple43-122/+120
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 Stachowski5-32/+68
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 "Keepalived container"Jenkins5-0/+69
2015-06-24Merge "Fix Heat container env vars and dependencies"Jenkins3-1/+10
2015-06-23Merge "Add base image for oraclelinux"Jenkins4-0/+15
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 Rostecki2-64/+65
All start.sh scripts should be in docker/common directory instead of docker/centos. Change-Id: Ifc1d07246e3b56156a1dc861e2b262f75c1cd918 Closes-Bug: #1467528
2015-06-22Keepalived containerMichal Jastrzebski (inc0)5-0/+69
This patch contains keepalived container for yum-based distros. Change-Id: I8e3ea7a61ad6c27b25b635e7aeeff5ef04a807b4 Implements: blueprint keepalived-container
2015-06-22Add base image for oraclelinuxPaul Bourke4-0/+15
This patch provides the basis for an alternate set of images to be available in Kolla, based on oraclelinux. It is difficult ahead of time to know all base dependencies and exactly which repos they'll come from, so at this time I have just added the bare minimum. In the next commit keystone will require some essentials that will likely make sense to add here. NOTE: To build this image you must set the following .buildconf in the root of the kolla repo: cat >> .buildconf << EOF PREFIX=ol-binary- EOF Partially implements: blueprint add-optional-oraclelinux-images Change-Id: I1ccce8eebe8fa0d4342af2aa482c083d074bda66
2015-06-22Merge "Unbreak the gate"Jenkins1-0/+1
2015-06-22Fix broken cinder symlinks for fedoraPaul Bourke3-1/+2
It looks like we forgot to update these as part of 793d68a29 Partial-Bug: #1466913 Change-Id: I3a879d33ef6d8200be923a63e2ae31409d247455
2015-06-21Merge "Fix broken cinder symlinks for rhel"Jenkins3-1/+2
2015-06-21Unbreak the gateSam Yaple1-0/+1
A missing symlink causes the mariadb-app container to fail to build. This was introduced when we refactored all of the base images. Partially Implements: blueprint refactor-base-image-layout Change-Id: I265b0efb4718c0c08c654f5992235ca34bf364c2
2015-06-20Add openvswitch containerFang Fenghua10-0/+53
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 Peeler3-1/+10
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-19Fix broken cinder symlinks for rhelPaul Bourke3-1/+2
It looks like we forgot to update these as part of 793d68a29 Partial-Bug: #1466913 Change-Id: Ic013b99e512cb25f72bb32c828d9e3ba6bae9ce0
2015-06-19Symlink all non Dockerfile resources in imagesPaul Bourke165-3107/+3168
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-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