summaryrefslogtreecommitdiff
path: root/docker/fedora-rdo-base
AgeCommit message (Collapse)AuthorFilesLines
2015-05-27Switch Fedora base image to fedora:21Martin André1-1/+2
Install required iproute package on fedora 21 for 'ip' command to work. Change-Id: Id98035dbe1eb5c0c76321784956ec15ac5d69068 (cherry picked from commit 17aed1ebb3679706982496658c045cb6e441e61d)
2015-05-06Port to JunoSteven Dake1-1/+1
This represents the Juno release of the images. Partially-implements: blueprint port-kilo Change-Id: I2837ec25a2aa093b7fff7519f3ed608ec93736bf
2015-05-06Port to icehouseSteven Dake1-1/+1
This represents making build-docker-images --release build with the icehouse tag and causes docker-compsoe to pull from the icehouse tag. Partially-implements: blueprint port-kilo Change-Id: I66b2c39abc55c0f47152dd90e696fc46b9c58f50
2015-04-06Remove building of pam+noaudit and place in copr insteadSteven Dake1-0/+12
COPR is a repository for third party packages built by the Fedora build system. Instead of dragging in 250MB of dependencies to build pam, build externally and load only the RPM into the image. The pam that is built externally is built with the --with-noaudit flag and a Provides: pam line. Change-Id: I28396996943d2fdc12b253faf62af8623c8b0e73
2015-03-27Replace ; with && in DockerfileSam Yaple1-3/+3
When using ';' this can allow the previous command to fail and while the docker build proceeds without realizing a command failed. Switching to '&&' allows the exit code to make it to the docker build command and the build to fail appropriately. Change-Id: Idd0991ed4549542bb10d27da1a0a025d0503b6c1
2015-03-18The wait_for function needs to be added into all the imagesRyan Hallisey2-86/+0
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-10Glance containers need to be changed so they work without kubernetesRyan Hallisey1-0/+85
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-02-18Support multiple different types of base OSesSteven Dake2-124/+2
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-01-21Check for nova DB availability in dependent containersMartin André1-2/+4
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-05Lock Fedora-based image to specific versionsMartin André1-1/+1
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-19Merge "Enable usage of containers outside of Kubernetes"Jenkins3-0/+48
2014-12-17Enable usage of containers outside of KubernetesMartin André3-0/+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
2014-12-17Reduce code duplication in kolla-common.shMartin André1-40/+21
Introduce a generic check_for_os_service function that exits unless it receives a successful response from the corresponding OpenStack service. Additionally use the local keyword to not leak local variables, and fix check for non-existing NEUTRON_API_SERVICE_HOST variable in check_for_neutron(). Change-Id: I67dff2b16a99bc44e928cd6a679dff8cc6a99b39
2014-11-24Horizon container implementationRyan Hallisey1-0/+28
Horizon requires that Nova, Neutron(Nova Network), Glance, and Keystone are running. Therefore, the container needs to check for the availablity of each service on startup. The config file is not a .ini file, but rather a python file so it requires using sed instead of crudini. Change-Id: I5ed14514881fe9aef688ca08bcb94881ef5b25cb
2014-10-22Update MAINTAINER in Dockerfiles to Kolla ProjectLars Kellogg-Stedman1-1/+1
Remove individual MAINTAINER information from Dockerfiles. Change-Id: I777df5cde049599dc786176e1d5b4b9597f0b334
2014-10-13add kolla-common shell library to base imageLars Kellogg-Stedman2-1/+78
This adds a /opt/kolla/kolla-common.sh to the base image as a place to put commonly used functions. The goal is to avoid code duplication across all the images created from this base image. Change-Id: Ib670fe369bb8048aa69979b74a984fa4ddaae7d9
2014-10-13include mariadb and crux in base imageLars Kellogg-Stedman1-0/+2
these tools are required by almost all of our images. Change-Id: I217b766a0c573e530da03aa81a7caf4548b0d2b3
2014-10-09clean up base DockerfileLars Kellogg-Stedman1-4/+2
- run "yum update" after installing RDO repository (to ensure we get any package updates from this repository) - "yum clean" after the "yum update" to prevent yum cache from being baked into the image Change-Id: Id897fd85214855bb08f7e16da4bbdf07b821d991
2014-10-07do not add image prefix when buildingLars Kellogg-Stedman1-0/+1
because we don't need fedora-rdo-fedora-rdo-base. Change-Id: I75ac2aa6904ad27b500c7fb1e48897939530cb09
2014-10-05add openssl to base imageLars Kellogg-Stedman1-0/+1
we use openssl in many of our start scripts for password generation, so openssl should probably be part of the base image. Change-Id: I893adfa3b7d17249b6814fc161e6f3f1696d8cd6
2014-10-04introduce a new build mechanismLars Kellogg-Stedman2-4/+1
This patch replaces the collection of individual "build" scripts with a single script (tools/build-docker-image), made available as "build" inside each image directory. The build-docker-image script will, by default, build images tagged with the current commit id in order to prevent developers from accidentally stepping on each other or on release images. Documentation in docs/image-building.md describes the script in more detail. Change-Id: I444d5c2256a85223f8750a0904cb4b07f18ab67f
2014-09-25Add a push script for each of the separate daemonsSteven Dake1-0/+2
This pushes to the docker registry.
2014-09-25Make build tools build with kollaglue loginSteven Dake1-1/+1
Build with kollaglue login. Then we can upload all images under that user namespace.
2014-09-20Provide script to build docker imagesSteven Dake1-0/+2
Build all docker images one at a time or with one top level call
2014-09-20Base images from Fedora 20 + RDO IcehouseSteven Dake1-0/+84
Previously images were based from RHEL OSP + RDO Icehouse. This presents a problem in that internal urls are used to access the rhel7 repositories. For new contributors, we need something that can be accessed without special rhel7 permissions. mariadb and rabbitmq can from fedora cinder, glance, keystone can from fedora-rdo-base This patch also uses the RDO repositories from upstream. This patch also udpates the base fedora image with latest bits.