summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2014-10-13correct various issues with glance images and configsLars Kellogg-Stedman3-19/+33
- update keystone endpoints/user on boot (to avoid problems caused by, e.g., a stale password or invalid endpoint urls) - require GLANCE_DB_PASSWORD and GLANCE_KEYSTONE_PASSWORD in the environment, since we start multiple containers Change-Id: I31214b81280ed34409f92e79003c1116d5737d2e
2014-10-10Closes-Bug: 1379442Daneyon Hansen1-1/+1
Previously, the glance-api start script would use the container IP instead of the proxy IP for the public url when creating the keystone endpoint. This causes keystone to provide an unreachable IP within the public url and other OS services are unable to connect to the public url. Change-Id: I44befc84a90f59d535a951ee81aaff0fa1ba952d
2014-10-09Closes-Bug: 1379513Daneyon Hansen1-0/+6
Previously the glance-base script did not configure the registry host IP. This causes API to try connecting to registry on localhost. Since registry is bound to MY_IP, api is unable to connect to registry. This change adds support for the glance-base script to configure the registry_host parameter in api.conf to MY_IP. Change-Id: I1c711ff8aa95abec5ca306f03bd7e0a3883ca578
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-08update existing keystone objectsLars Kellogg-Stedman1-2/+5
when booting the keystone container with an existing database, make sure to update credentials for admin user and replace existing keystone endpoint in the service catalog. Change-Id: I2c66d75210ef7ba5a96077eea15a8c564e99f662
2014-10-07Reorganize k8s structureSteven Dake16-527/+0
All services go to TLD/k8s/service All pods go to TLD/k8s/pod Change-Id: Iad2977a9f0cd5f430c4e0a566846bf4681618379
2014-10-07Merge "Updated base image in Dockerfile and changed CMD to reference correct ↵Jenkins2-4/+4
file"
2014-10-07Updated base image in Dockerfile and changed CMD to reference correct fileJames Labocki2-4/+4
Also, fixed up environment variable to use RABBITMQ_NODE_PORT, which is what RabbitMQ expects (http://www.rabbitmq.com/configure.html). Implements: blueprint kube-rabbitmq-container Change-Id: Iacc2ea5d3c4a002e6920ed17cb21733a0cbd8d21
2014-10-07Change sdake/image to kollaglue/imageSteven Dake1-2/+2
Had my personal repo checked in. Assuming we want kollaglue for repo-based files :) Change-Id: I5ccdba8c3d3301c8140c5143aea3db5ebfa6db76
2014-10-07Modify start.sh for nova-compute/nova-computeSteven Dake1-2/+10
This should get us a working nova-compute. Once rabbitmq is operational we can further debug and implement this container. Change-Id: I0768b9f33bc43748f4e08da0edc111d669895cc8
2014-10-07chmod +x nova-compute/nova-libvirt/start.shSteven Dake1-0/+0
start.sh must be executable Change-Id: I2de86343d194af5c3783d2169192f158fdada178
2014-10-07chmod +x start.sh for nova-compute/nova-computeSteven Dake1-0/+0
start.sh must be executable Change-Id: I552b151069d4baee66b058671486846f2dc08c13
2014-10-07Merge "Get to a functional nova-libvirt start"Jenkins2-3/+26
2014-10-07Merge "Initial setup for nova-controller"Jenkins12-0/+257
2014-10-07Merge "Modify nova-compute pod to operate properly"Jenkins1-8/+5
2014-10-07Merge "Add service files for libvirt and compute"Jenkins2-0/+18
2014-10-07Merge "do not add image prefix when building"Jenkins1-0/+1
2014-10-07Get to a functional nova-libvirt startSteven Dake2-3/+26
Get a working Dockerfile Sort out start.sh to run libvirt in a container Change-Id: Iaafe807b1631ad59fea200a02e46a8cabd6791ca
2014-10-07Modify nova-compute pod to operate properlySteven Dake1-8/+5
Several things were done incorrectly in previous pod. Fix that. Change-Id: I7387964979b4ceef4dfda2349023aa0267320349
2014-10-07Add service files for libvirt and computeSteven Dake2-0/+18
Add service files for libvirtd and nova-compute Change-Id: I94c5cad75605104f57859e23341ba106a3250fc8
2014-10-07fix issues with glance scriptsLars Kellogg-Stedman7-80/+97
- glance was using wrong var name for admin_password - also missing "\" in several places, breaking multi-line crudini commands. - glance was using wrong tenant name - in the registry container, glance-manage appears to reference glance-api.conf - the glance.json config file was not spawning a registry container Change-Id: I280d1db3ed576988f2bf29ea665e1922a37f8752
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-07renamed keystone servicesLars Kellogg-Stedman12-19/+19
This renames the keystone services so that they are named by function, rather than port number (which would be confusing if they were running on a different port). Change-Id: Ibb0263a133c28a104563df431870a9effe584012
2014-10-07Initial setup for nova-controllerRyan Hallisey12-0/+257
Partial-blueprint: kube-nova-container Change-Id: Ib48e6318ae458bf03510725a220332d1920cbeae
2014-10-07use renamed mariadb servicesLars Kellogg-Stedman9-11/+11
This patch updates all the json files that reference the mariadb service variables to ues the new names. Labelling things foo-master crept into this repository from the kubernetes guestbook example (which has redis-master and redis-slaves). We're not running clustered software at the moment so these labels are unnecessary. Change-Id: I229d04c89aa13cb6cc2e1c33a0a7b21e1c6e9caa
2014-10-07remove "master" from mariadb k8s configsLars Kellogg-Stedman2-9/+9
Labelling things foo-master crept into this repository from the kubernetes guestbook example (which has redis-master and redis-slaves). We're not running clustered software at the moment so these labels are unnecessary. Change-Id: Ibf4cb2b005cc57bcb11e298dd5109cfe309c9ec3
2014-10-07Validate JSONChmouel Boudjnah5-220/+242
Let's get that quickly so we can add a gate. There was some respacing along the way (used http://jsonlint.com) Change-Id: Id18b9f9757306cf3f06e6221a21a9f600db1bd2e
2014-10-07Merge "added hautoproxy auto-configuring haproxy"Jenkins4-0/+100
2014-10-07Merge "use "crux" for creating users/endpoints"Jenkins2-41/+37
2014-10-06Merge "Remove whitespace errors in mariadb JSON"Jenkins1-1/+0
2014-10-06added hautoproxy auto-configuring haproxyLars Kellogg-Stedman4-0/+100
This image configures haproxy to forward connections for all available kubernetes services. It is meant to be run alongside other contains in a kubernetes pod to provide access to "remote" services at a consistent address so that keystone api endpoints can be configured in a sane fashion. Change-Id: Ic923c6a772f1bdf36b97b05a1d04de9e5b841ddd
2014-10-06use "crux" for creating users/endpointsLars Kellogg-Stedman2-41/+37
this patch introduces the "crux" [1] tool for creating keystone users, services, and endpoints in an idempotent fashion. E.g., to create a user that doesn't exist: $ crux user-create -n lars -t lars -p secret creating new tenant created tenant lars (d74cec5023c4428da533066bb11943db) creating new user lars created user lars (adf2c2d92e894a3d90a403c5885f192e) And performing the same operation a second time: $ crux user-create -n lars -t lars -p secret using existing tenant lars (d74cec5023c4428da533066bb11943db) using existing user lars (adf2c2d92e894a3d90a403c5885f192e) The behavior is similar for creating keystone endpoints. [1]: https://github.com/larsks/crux Change-Id: I694e0c1bdcdde595e1af2ee8ef5d0f239a9ad4cd
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-Stedman44-136/+20
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-10-03Merge "Updates to glance start scripts, db and user/role creation - adding ↵Jenkins2-26/+26
db sync and db creation as utf8 - fixing user and role creation"
2014-10-03Updates to glance start scripts, db and user/role creationDan Radez2-26/+26
- adding db sync and db creation as utf8 - fixing user and role creation Partial-blueprint: kube-glance-container Change-Id: I15be99f26483e490fccc23d029f39645c13c724b
2014-10-03Merge "Only push with the build script with -p"Jenkins1-2/+22
2014-10-03Only push with the build script with -pChmouel Boudjnah1-2/+22
Not everyone have access to kube/ docker namespace, so let just push it only when specified with -p Change-Id: I49b2b04f8db8ff7ba7c9f6b6dc9b2ec8c30a95c8
2014-10-03Remove whitespace errors in mariadb JSONSteven Dake1-1/+0
JSON should not introduce whitespace errors Change-Id: I02cc56c6205a411a3f042b65ccfb9624795c13d2
2014-10-03Merge "Keystone: Do a service and endpoint create"Jenkins1-6/+25
2014-10-03Merge "Swift: Remove trailing JSON commas that don't parse"Jenkins1-6/+6
2014-10-03Merge "Heat: Remove JSON trailing commas that don't parse"Jenkins1-4/+4
2014-10-03Merge "rabbitmq: remove trailing commas in tabs so JSON parses"Jenkins1-1/+1
2014-10-03Merge "glance: remove JSON trailing commas that don't parse"Jenkins1-3/+3
2014-10-03Merge "Keystone: remove extra commas and tabs in JSON"Jenkins1-8/+6
2014-10-03Merge "Initial libvirt and nova-compute structure"Jenkins15-1/+152
2014-10-03Merge "fix mariadb Dockerfile"Jenkins1-2/+4
2014-10-03Swift: Remove trailing JSON commas that don't parseSteven Dake1-6/+6
Change-Id: Ic7eaf187e7f0fa9481c432a8b32971a470e75bf0
2014-10-03Heat: Remove JSON trailing commas that don't parseSteven Dake1-4/+4
Change-Id: Ia642716f30ea4bd098e5c67e522bbfd01fd6cf7a
2014-10-03rabbitmq: remove trailing commas in tabs so JSON parsesSteven Dake1-1/+1
Change-Id: I91bb3cab059220a6677e28e928b5805410ce5f5c