aboutsummaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
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
2014-12-17Fix use of undefined KEYSTONE_SERVICE_HOST in CeilometerMartin André2-5/+5
This variable is never defined anywhere, and it is not one of the variable automatically exported by k8s or docker. It should be KEYSTONE_PUBLIC_SERVICE_HOST instead. Change-Id: Ib65b0189d0a767212fbb7eff4ce81717d492c3e2
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-12-08Merge "Remove duplicate write of openrc"Jenkins1-8/+1
2014-12-08Merge "Check for all required variables in keystone start.sh"Jenkins1-1/+4
2014-12-04Remove duplicate write of openrcMartin André1-8/+1
Use KEYSTONE_PUBLIC_SERVICE_HOST in favor of KEYSTONE_PUBLIC_PORT_5000_TCP_ADDR Change-Id: Icea714e4c207a1f518faf7bda8235d4f0bc9e3f9
2014-12-03Cleanup variable checks in glance-registry/start.shMartin André1-2/+1
Remove redundant checks for MARIADB_SERVICE_HOST and DB_ROOT_PASSWORD that are performed in `check_for_db`, and add missing check for GLANCE_DB_USER. Change-Id: Ie8194ce76274a9356dcc0b51353873d8a632c66a
2014-12-03Prefer the use PUBLIC_IP over MY_IPMartin André2-3/+3
PUBLIC_IP is more descriptive that MY_IP, it should be used consistently across Kolla. Change-Id: Iff6ae903e794ec84a40a300b36512422b7a81f71
2014-12-03Check for all required variables in keystone start.shMartin André1-1/+4
This allows Kubernetes to reschedule the container in case a required variable is missing, for example when the Kubernetes pod is started before the service. Additionally, define the KEYSTONE_ADMIN_SERVICE_HOST and KEYSTONE_PUBLIC_SERVICE_HOST variables to their common version if not already set to allow usage outside of Kubernetes with docker link feature. Change-Id: Ie0966c18076a770e4031bbf5f777dd1be0ba20bc Closes-Bug: 1398632
2014-12-01Merge "Adds Neutron Networking Support"Jenkins28-47/+447
2014-11-26Merge "Horizon container implementation"Jenkins4-0/+63
2014-11-25Fix to not fork mongod so mongodb container works as expectedPradeep Kilambi1-1/+1
For some reason forking the mongod process seems to cause issues when the container comes up. If i remove this and run the images with detach and publishall flags i can connect to mongo instance. Change-Id: I0b7193e6369084e3aeec857607dda9c3f235770d
2014-11-25Adds Neutron Networking SupportDaneyon Hansen28-47/+447
Implements: blueprint kube-neutron-container Previously, only the neutron-server service was functional. This patch adds support the the rest of the neutron services need by Nova instances to function. The linux-bridge agent is used instead of the OVS agent to realize network abstractions. This is because the ovs-agent package will install the kernel module version of OVS instead of the userspace version. Additionally, the OVS userspace code is still very experimental and reduces performance. Requires: https://github.com/larsks/heat-kubernetes/pull/8 Change-Id: I5ef34ddeb48d4954934571a928cc82ae7f3a0f20
2014-11-24Horizon container implementationRyan Hallisey4-0/+63
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-11-21Merge "Adds support for Functional Nova-Network"Jenkins4-27/+33
2014-11-21Merge "Implement zaqar container"Jenkins4-0/+96
2014-11-19Implement zaqar containerJeff Peeler4-0/+96
The current implementation has been configured to use sqlite instead of mongodb, since that container service is not yet available. Also, there are no Icehouse RPMs available, so the Juno RPMs are fetched and manually installed. Implements: blueprint kube-zaqar-container Change-Id: Ie875ab43ad3db92ae2712492ee151fbad0fec3cc
2014-11-17Adds support for Functional Nova-NetworkDaneyon Hansen4-27/+33
Previously, the nova-network service was not fully functional. This patch adds multi-interface support to the nova-network container. The eth0 configuration is moved to a bridge (br100 per nova defaults), and configures eth0 and eth1 as bridged interfaces. eth0 is used for the nova-flat network and eth1 for foating-ip's. This model is identical to typical bare-metal nova-network deployments. The patch depends on the following patch to kube-heat template that provides multiple interfaces per minion: https://github.com/larsks/heat-kubernetes/pull/8 Rebased. Fixed merge conflict with k8s/pod/nova-compute-pod.yaml Change-Id: Ieb59f397981a226555ce55ca621ef578b987e3c6
2014-11-14Add support for mongodb containerPradeep Kilambi2-0/+14
Implements: blueprint kube-mongodb-container Change-Id: If76f6c0be90c3025933795d262304a10bf1a880d
2014-11-12Merge "Add Ceilometer service support"Jenkins21-0/+239
2014-11-12Add Ceilometer service supportPradeep Kilambi21-0/+239
Implements: blueprint kube-ceilometer-container Change-Id: Ic9be6f2fb57641aa77f7f3a31481b166adad3f36
2014-11-07Containerizing barbican serviceVenkat Sundaram3-0/+128
Adding Dockerfile, pod and service. Please note that this uses the Juno version of Barbican from tar ball and uses uwsgi to run the service. Addressed review comments and added admin service as well. Fixing Maintainer email and yum clean up Change-Id: If58c5eec00131582024045f8d213e48f9f466f4d
2014-10-22Update MAINTAINER in Dockerfiles to Kolla ProjectLars Kellogg-Stedman27-26/+27
Remove individual MAINTAINER information from Dockerfiles. Change-Id: I777df5cde049599dc786176e1d5b4b9597f0b334
2014-10-21workarounds for nova networkingversion-m1Lars Kellogg-Stedman2-2/+7
this patch creates a dummy interface ("flat0") and uses that for flat_interface. This prevents nova from breaking container networking when it adds the container eth0 to the nova bridge (br100). Change-Id: I93c696a8476228d6bbca678748170c2a11d5af11
2014-10-21fix typo in nova-network/start.shLars Kellogg-Stedman1-1/+1
global script is called "kolla-common.sh" not "config-common.sh". Change-Id: I0303d33c786d575ac4b061b4060f626213bc583b
2014-10-21Only create bridge in nova-networkSteven Dake3-4/+4
Not all nova services need a bridge. Remove bridge creation from nova-base config and place in nova-network specifically. Change-Id: Ia78c65a4661cd95112dca7ffdc1e839d4f648d52
2014-10-21Add missing libvirt-start.shSteven Dake1-0/+13
libvirt-start.sh was missing from nova-compute/nova-compute. Add it so libvirt is started from a fresh checkout of the repository. Change-Id: I8b40819629b16e4a63102eb353b3c8682791cf9d
2014-10-21Merge "Implement containers for heat-engine and heat-api"Jenkins7-59/+137
2014-10-20Implement containers for heat-engine and heat-apiJeff Peeler7-59/+137
Loosely followed this document for setting up Heat: http://docs.openstack.org/icehouse/install-guide/install/yum/content/heat-install.html Some gotchas: - crux doesn't require escaping parenthesis for endpoint creation like keystone client - heat icehouse packages are configured for qpid, so kombu had to be specified specifically This firewall reference was handy for port information: http://docs.openstack.org/trunk/config-reference/content/firewalls-default-ports.html Implements: blueprint kube-heat-container Change-Id: Ie4291a6c4c2b85a23a71fc0a003d9160bf0a32b8
2014-10-20Change to using flat nova networking from neutronSteven Dake9-28/+67
Neutron is not yet ready, so use flat nova networking instead. Change-Id: I4905f2a54af2c0c06cc8cf95d21f5831b02fbe5e
2014-10-17fix script name in nova-controller imagesLars Kellogg-Stedman3-3/+3
Change-Id: Ia0b9057887bf34423546ca36346d9253ef4c90b9
2014-10-17Merge "Adds Neutron Server Support"Jenkins7-0/+235
2014-10-17introduce a common base for compute and controllerLars Kellogg-Stedman10-160/+10
This moves nova-ctr-base one level up and renames it nova-base, so that we can share the same basic config between compute and controller pods. Change-Id: I325f70c278744a1e1fe99b891e05c59c4248c55f
2014-10-17fix nova auth configurationLars Kellogg-Stedman1-5/+10
Based on http://lists.openstack.org/pipermail/openstack/2014-January/004667.html, there is confusion in the openstack community on how auth_uri in nova.conf is supposed to interact with the other auth_* settings. I've modified our config to use both for now. Change-Id: I1433305e23d872cd773599c85053ba8f9aeb6145
2014-10-17Merge "Properly create endpoints for Nova services"Jenkins1-4/+16
2014-10-17Merge "Make nova-compute work properly with libvirt"Jenkins3-40/+93
2014-10-17Merge "Remove nova-base since there is only 1 image for nova-compute"Jenkins3-7/+1
2014-10-17Properly create endpoints for Nova servicesSteven Dake1-4/+16
The endpoints for Nova services needed to be properly created for ports 8773 (ec2/ec2) and 8774(nova/compute) and 8774(novav3/computev3). Change-Id: I5e1931d2e7ea35f741ab73b070e24926a3763054
2014-10-16Make nova-compute work properly with libvirtSteven Dake3-40/+93
The nova-compute POD now starts and produces nearly correct output. It may be that the libvirt container needs additional attention as it is spitting out errors related to the firewall toolchain on the container. Change-Id: I5bcd21c59f341494206a09e882631185ce66f336