summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-10-13Merge "correct various issues with glance images and configs"Jenkins4-75/+97
2014-10-13correct various issues with glance images and configsLars Kellogg-Stedman4-75/+97
- 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-10Update start/stop scripts with updated paths/namesJeff Peeler2-9/+8
Change-Id: I931e02bfe4360548a404e0d22ca9dd9a39312771
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-09remove erroneous bind_host from configLars Kellogg-Stedman1-4/+0
this was part of some experimental work and should have not made it into the kolla/master branch. Change-Id: Ibb933a09e3de17c33bd194c4d3dd6aa972721012
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-08Add a replicationController for nova-compute so it runs on each minionSteven Dake1-0/+66
We want the nova-compute controller to run on each minion Change-Id: If0355034927e195d1dd5482dab1026418185e9c6
2014-10-08Modify rabbitmq pod to point to right imageSteven Dake1-1/+1
The image location for rabbitmq was incorrectly pointing at Lars private repository. Change it to point to the global kollaglue repo. Change-Id: Ib4fd84db9410fa7057730ff74be2acc0babfa438
2014-10-07Reorganize k8s structureSteven Dake18-14/+16
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 "Remove -master from README.md"Jenkins1-3/+3
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-07Remove -master from README.mdSteven Dake1-3/+3
The removal of the foo-master labels left the README.md in an incorrect state. Fix that problem. Change-Id: I61802a18c0f424cd9e5c16b988d5fbd5d462afac
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-07Merge "remove "master" from mariadb k8s configs"Jenkins2-9/+9
2014-10-07Merge "Remove the trailing space in README.md"Jenkins1-2/+2
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-07Remove the trailing space in README.mdHaiwei Xu1-2/+2
Change-Id: Iafdae5d5e38f6910dbf89af5a5f47a9c29df4e5c
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 "fix issues with build-docker-image"Jenkins1-4/+14
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-05fix issues with build-docker-imageLars Kellogg-Stedman1-4/+14
- fix typo in --namespace option build-docker-image had a missing '$' in the code that handled the --namespace option. - force builds to kollaglue namespace with 'latest' tag to use the --release flag - build IMAGE after config and options processing to permit overriding PREFIX in .buildconf Change-Id: Icf70b33080ef19643f133f2b6f60087c524bd4fb
2014-10-04Merge "Updating the README to show starting services before pods"Jenkins1-13/+11
2014-10-04introduce a new build mechanismLars Kellogg-Stedman47-136/+199
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-03Updating the README to show starting servicesDan Radez1-13/+11
before pods Change-Id: I30681d64a186e597cdd6691b4c807fea7b6c531c
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