summaryrefslogtreecommitdiff
path: root/docker/fedora-rdo-base/kolla-common.sh
AgeCommit message (Collapse)AuthorFilesLines
2014-12-19Merge "Enable usage of containers outside of Kubernetes"Jenkins1-0/+2
2014-12-17Enable usage of containers outside of KubernetesMartin André1-0/+2
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-13add kolla-common shell library to base imageLars Kellogg-Stedman1-0/+66
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