summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2015-03-21Cleanup leftovers after wait_for was merged into kolla-common.shMartin André2-2/+1
Change-Id: I97ab671bfbdcf5434feedec617a938b30af4579b
2015-03-20Refactors nwfilterDaneyon Hansen2-2/+3
Previously, the nwfilter daemon/conf pkgs would need to be installed on the host. Compose would then mount the host DIR to the compute containers. A more efficient approach is to simply install the nwfilter config/daemon in the libvirt container. Both appoaches address the following error when booting an instance: 'no-mac-spoofing' is missing Change-Id: I81b446d198920473bf99b97ef5eac6ef5ee85024
2015-03-20Don't kill keystone, but instead wait for it to finish at the endSteven Dake1-14/+2
use the bash wait builtin to wait for the keystone process to exit. Change-Id: I03057e7925e7e41120c163c0be22ade75050d9f1
2015-03-20Make the Horizon dashboard work properlySteven Dake2-5/+7
The Horizon dashboard was not working properly prior to this work. Also a docker-compose file was added to start the dashboard. Change-Id: I8a438c15b967b0cec00bfe44b997f833bf745191
2015-03-20Implements: blueprint Implement a database container setDaneyon Hansen8-60/+98
Previously, the database container was configured for use with Kubernetes. This patch removed any k8s dependencies, adds a script to manage mysql server.cnf settings and splits data and app containers. Splitting the containers provides additional portability and operational efficiencies compared to host mounts. Change-Id: I80656450c02dda5f2959d187eec20d5877dc54a2
2015-03-20Fixes Keystone openrc and sets / for scriptsDaneyon Hansen2-5/+5
Previously, the keydtone openrc file was not using the proper auth url, whcih was broken with too many double ticks. Also changed the auth port from public to admin since keystone user is an admin tenant. Changed DIR for scripts to align with the rest of the project. Change-Id: Iadde3239227e65ecca479b16a7b7db51d3a579c8
2015-03-20Fix `wait_for` function in kolla-common.shMartin André1-12/+61
Add `wait_for_output` and `wait_for_output_unless` helper functions that only succeed when the command output contains the expected string, with a possibility to exit early with a failure for `wait_for_output_unless`. Change-Id: Ie20e7c72fb84f626f1a3fe9c4d2f22c9d6863dbe
2015-03-19Use keystone authentication with GlanceSteven Dake1-0/+5
Previously glance was not using keystone for authentication. This resulted in --is-public true failing when doing image-create. Co-Authored-By: Lars Stedman (larsks@redhat.com) Change-Id: I54273115242ee169201643fe0ad559392650c883
2015-03-19Merge "Make rabbitmq container work with it's proper hostname set"Jenkins2-1/+5
2015-03-18mariadb-server requires the hostname userspace commandSteven Dake1-1/+1
The hostname command is required to allow mariadb to access the network properly. Without it, in some cases mariadb cannot execute name service resolution. Change-Id: Ia215585faad23012143b63c4d82acd6ba69f59b7
2015-03-18Merge "The wait_for function needs to be added into all the images"Jenkins5-90/+40
2015-03-18Make rabbitmq container work with it's proper hostname setSteven Dake2-1/+5
Change-Id: I0f79ba151dbb290378e2db0d1af9feb71cb84e6d
2015-03-18Add a "admin" user via crux to keystone containerSteven Dake1-1/+6
The keystone container was changed to only add a keystone user. The rest of the infrastructure in Kolla expects the name "admin" from a "can I use a client to access the APIs perspective." As a result, we need a user for keystone and a user for admin which this patch adds. Change-Id: I3a3e938f946df1fd5982e89397ef61368f1f3674
2015-03-18The wait_for function needs to be added into all the imagesRyan Hallisey5-90/+40
This affects both fedora and the centos base images. Wait_for will be intregrated into kolla-common. Co-authored by: Charles Crouch <charcrou@cisco.com> Change-Id: Ide2304b787d4c3bf6fb3949f09e2cf1f450c2173
2015-03-17Merge "Implements: blueprint container-set-api-control"Jenkins2-34/+124
2015-03-16Nova boot will fail if the host doesn't have libvirt installedRyan Hallisey1-0/+5
Libvirt contains a package that sets the permissions of KVM. If the host does not have libvirt installed the permissions will never be set and nova boot will fail. Change-Id: Ie5509199391db55e0984d59a6623f021f3ae46c1
2015-03-13Implements: blueprint container-set-api-controlDaneyon Hansen2-34/+124
Adds Keystone Container-Set support Previously, Keystone containers were configured for use in a Kubernetes environment. This patch removed k8s dependencies and adds container set functionality. Change-Id: I131ce205857110bbee49fe81a4a005f9e273ce09
2015-03-10Glance containers need to be changed so they work without kubernetesRyan Hallisey6-6/+119
This patch overlaps a little bit with https://review.openstack.org/#/c/162358/. There were some additional glance config that needs to be added to run without kubernetes. Co-authored by: Charles Crouch (charcrou@cisco.com) Change-Id: I1aab2f6e4a80aaf1e6c4b7fe330bcf9a7740fdc6
2015-03-06Merge "Allow changing base image"Jenkins39-39/+39
2015-03-02Merge "A functional libvirt + nova_compute + nova_network"Jenkins9-64/+24
2015-03-02Allow changing base imageMartin André39-39/+39
By changing the PREFIX variable in the .buildconf one is now able to build docker images from different bases. For example, add the following line to your .buildconf file to build CentOS based images: PREFIX=centos-rdo- Default base image is Fedora. For now only RH family is supported. Additionally, changing the namespace either with the NAMESPACE variable in .buildconf or via --namespace commandline option now changes the source namespace as well from the default kollaglue one. Implements: blueprint multi-baseos Co-Authored-By: Steven Dake <stdake@cisco.com> Change-Id: I3964cd2292789ea883a1f2d2738a5731a4fff49b
2015-03-02Merge "Remove prefix from centos-rdo-base when building image"Jenkins1-0/+1
2015-02-27A functional libvirt + nova_compute + nova_networkSteven Dake9-64/+24
This imports sdakes' nova-docker codebase to show that atomic upgrades work atleast with nova networking. This has many corrections. For more details read: http://sdake.io/2015/01/28/an-atomic-upgrade-process-for-openstack-compute-nodes/ Implements-blueprint: blueprint libvirt-container Partially-implements; blueprint container-set-compute-operation-nova Change-Id: I858ea113c5656b6da5d2fd13502fecdbd085c8da
2015-02-26Merge "Implements: blueprint rabbit-container-set"Jenkins1-0/+107
2015-02-26Remove prefix from centos-rdo-base when building imageMartin André1-0/+1
All base images should have a .buildconf that blanks the PREFIX variable otherwise the buildscript prepends the prefix to its name, for example centos-rdo-centos-rdo instead of simply centos-rdo. Change-Id: I48209e708094ae28681a874bf12a0206c524b639
2015-02-26Merge "Remove l3_ovs_wip tag from Dockerfiles"Jenkins9-9/+9
2015-02-24Merge "Make keystone work with CentOS 7 image"Jenkins1-3/+0
2015-02-24Merge "Make swift files point at correct base package"Jenkins3-3/+3
2015-02-24Remove l3_ovs_wip tag from DockerfilesSteven Dake9-9/+9
These tags don't belong in docker files. Instead we should put them in the build system since the build system will be creating a custom From line in the Dockerfile. Partially-implements: blueprint multi-baseos Change-Id: I68d0a0e572e35f39dbe21f7c536d7ac4ca885da3
2015-02-24Make keystone work with CentOS 7 imageSteven Dake1-3/+0
Keystone relies on crux. Crux is now installed in the base images, so individual images don't need to install crux. Partially-implements: blueprint multi-baseos Change-Id: Id9ed5fb8bc74de6a36f28a6b2bc8ba055c31a32e
2015-02-24Make swift files point at correct base packageSteven Dake3-3/+3
Swift containers were pulling in fedora-rdo-base when they should have been pulling in fedora-rdo-swift-base. Partially-implements: blueprint multi-baseos Change-Id: Ic0d03cbca5790aa3002110ba40a802957a481496
2015-02-24All of the agents try to install yumSteven Dake4-8/+4
The operation is meant to clean the cache, but instead the agents are running "yum install yum" which is incorrect. Change-Id: I8e207e93bb10361a7afbbfd02ab11d12ad1cd77c
2015-02-23Merge "Add CentOS base OS"Jenkins4-0/+100
2015-02-23Merge "Support multiple different types of base OSes"Jenkins4-124/+126
2015-02-19Implements: blueprint update-rabbit-containerDaneyon Hansen3-7/+15
Previously, the rabbit container was configured for use in a k8s cluster. This patch updates the container to run with fig instead of k8s. Change-Id: Ie04f2f16771c0f733b7b09b7747325bf0d7fb1a9
2015-02-19Implements: blueprint rabbit-container-setDaneyon Hansen1-0/+107
This patch provides an initial implementation of docker-compose (i.e. fig). docker-compose runs in a container. The container is only instantiated when invoked to manage a container set (i.e. docker-compose up) and then stopped when the command is finished executing. Change-Id: I797f06bed773192129b57aae9824d4f97c70b3ab
2015-02-18Add CentOS base OSSteven Dake4-0/+100
Implement the CentOS 7 base operating system. Change-Id: I1c90fe88baecf3deabad689a6743346a092469c2 Partially-implements: blueprint multi-baseos
2015-02-18Support multiple different types of base OSesSteven Dake4-124/+126
Ideally we want to support Fedora and CentOS as a base operating system type. The build scripts will rewrite the Dockerfile build scripts to pull in the correct base OS. Change-Id: Ia41e21811caa3a1989c79cc42ce6615eec0c977b Partially-implements: blueprint multi-baseos
2015-02-06Merge "Check for nova DB availability in dependent containers"Jenkins4-4/+9
2015-02-06Merge "Cleanup required variables checks for all containers"Jenkins24-83/+84
2015-01-21Check for nova DB availability in dependent containersMartin André4-4/+9
When nova-api start and the nova database hasn't yet been created, it would create it itself, preventing the migration in nova-conductor to run and making it unable to start. This commit ensures that nova-api container will not try to steal nova-conductor's job of creating the nova database. Nova-scheduler reacts differently to the missing database and simply exits with a backtrace. This commit also prevents nova-scheduler to start when the nova database cannot be found. Change-Id: Ib6f7521151815faa7a26ec1d170df5a1cdb7fd63 Related-Bug: #1335804
2015-01-19Fix validate-maintainer.sh scriptMartin André1-1/+1
The script wasn't reporting any errors due to a typo. Also fix MAINTAINER field for ceilometer-collector image. Change-Id: Idf1e2746ae395bb05ee679ca71a10a3f103ebfa8
2015-01-19Cleanup required variables checks for all containersMartin André24-83/+84
This allows Kubernetes to reschedule containers in case a required variable is missing, for example when the Kubernetes pod is started before the service. The checks were cleaned using the following method: * remove duplicates * remove check for variables that get a default value in the same file * check for all variables used in the file * check for required services when it is obvious. Change-Id: Ib7e0530c410c61f828d36efe8925a20dc9781eab
2015-01-06Merge "Base all images on kollaglue ones"Jenkins6-6/+6
2015-01-05Base all images on kollaglue onesMartin André6-6/+6
The `kollaglue` Docker hub namespace was missing for some of the images. Change-Id: Id0e0c7f62d638fc2ee79f27c07677abf2902e087
2015-01-05Lock Fedora-based image to specific versionsMartin André2-2/+2
This prevents unexpected breakage on new Fedora release. Fedora 20 is the last release known to work. Images based on Fedora 21 are currently broken as they lack required packages such as iproute. Support for Fedora 21 is on the way and will follow soon once all images have been verified. Change-Id: I849732147302eaf00d864d6b5093ff6ac006f496
2014-12-26Merge "Prefer the use PUBLIC_IP over MY_IP"Jenkins2-3/+3
2014-12-19Merge "Enable usage of containers outside of Kubernetes"Jenkins4-2/+48
2014-12-17Merge "Reduce code duplication in kolla-common.sh"Jenkins1-40/+21
2014-12-17Enable usage of containers outside of KubernetesMartin André4-2/+48
Kubernetes currently creates FOO_SERVICE_HOST and FOO_SERVICE_PORT env vars as part of starting the containers. However this is not done when starting them with plain docker. Defaulting variables to their common version if they're not already set allows the usage of --link in plain 'docker run' to wire together containers. Co-Authored-By: Charles Crouch <ccrouch@redhat.com> Change-Id: I91098ff987b18646d901ac63a3a644fbb68fc857