11083 Commits

Author SHA1 Message Date
Jenkins
d6721bed0f Merge "Remove -master from README.md" 2014-10-07 18:28:31 +00:00
Jenkins
3eae02da41 Merge "do not add image prefix when building" 2014-10-07 18:27:00 +00:00
Steven Dake
727d8d139c Get to a functional nova-libvirt start
Get a working Dockerfile
Sort out start.sh to run libvirt in a container

Change-Id: Iaafe807b1631ad59fea200a02e46a8cabd6791ca
2014-10-07 11:20:26 -07:00
Steven Dake
6dbd9c470a Modify nova-compute pod to operate properly
Several things were done incorrectly in previous pod.  Fix that.

Change-Id: I7387964979b4ceef4dfda2349023aa0267320349
2014-10-07 11:19:33 -07:00
Steven Dake
2de279e026 Add service files for libvirt and compute
Add service files for libvirtd and nova-compute

Change-Id: I94c5cad75605104f57859e23341ba106a3250fc8
2014-10-07 11:19:05 -07:00
Lars Kellogg-Stedman
d28f83dace fix issues with glance scripts
- 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-07 12:49:23 -04:00
Lars Kellogg-Stedman
44d173f2e6 do not add image prefix when building
because we don't need fedora-rdo-fedora-rdo-base.

Change-Id: I75ac2aa6904ad27b500c7fb1e48897939530cb09
2014-10-07 12:34:46 -04:00
Steven Dake
fcb3145df7 Remove -master from README.md
The removal of the foo-master labels left the README.md in an
incorrect state.  Fix that problem.

Change-Id: I61802a18c0f424cd9e5c16b988d5fbd5d462afac
2014-10-07 08:16:50 -07:00
Lars Kellogg-Stedman
3c080f9e62 renamed keystone services
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-07 11:11:19 -04:00
Ryan Hallisey
9e420ba27e Initial setup for nova-controller
Partial-blueprint: kube-nova-container
Change-Id: Ib48e6318ae458bf03510725a220332d1920cbeae
2014-10-07 14:59:07 +00:00
Lars Kellogg-Stedman
068face6fa use renamed mariadb services
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-07 10:58:52 -04:00
Jenkins
296b09e0c4 Merge "remove "master" from mariadb k8s configs" 2014-10-07 14:54:56 +00:00
Jenkins
83e451a69c Merge "Remove the trailing space in README.md" 2014-10-07 14:50:58 +00:00
Lars Kellogg-Stedman
863e29a780 remove "master" from mariadb k8s configs
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-07 10:40:00 -04:00
Haiwei Xu
fd0275b659 Remove the trailing space in README.md
Change-Id: Iafdae5d5e38f6910dbf89af5a5f47a9c29df4e5c
2014-10-07 17:45:08 +09:00
Chmouel Boudjnah
e35b376994 Validate JSON
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-07 10:02:04 +02:00
Jenkins
0d544c7130 Merge "added hautoproxy auto-configuring haproxy" 2014-10-07 04:18:26 +00:00
Jenkins
958e1cc549 Merge "use "crux" for creating users/endpoints" 2014-10-07 04:12:59 +00:00
Jenkins
5c2aded4d7 Merge "fix issues with build-docker-image" 2014-10-06 21:15:36 +00:00
Jenkins
eb6643e686 Merge "Remove whitespace errors in mariadb JSON" 2014-10-06 21:03:46 +00:00
Lars Kellogg-Stedman
154e2781d9 added hautoproxy auto-configuring haproxy
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-06 13:58:20 -04:00
Lars Kellogg-Stedman
9414ab5cad use "crux" for creating users/endpoints
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-06 13:26:34 -04:00
Lars Kellogg-Stedman
cab0499c66 add openssl to base image
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-05 21:31:55 -04:00
Lars Kellogg-Stedman
cf9440005a fix issues with build-docker-image
- 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-05 21:29:53 -04:00
Jenkins
82536f830e Merge "Updating the README to show starting services before pods" 2014-10-04 18:42:41 +00:00
Lars Kellogg-Stedman
24b6db92bc introduce a new build mechanism
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-04 11:03:39 -04:00
Dan Radez
db3c508180 Updating the README to show starting services
before pods

Change-Id: I30681d64a186e597cdd6691b4c807fea7b6c531c
2014-10-03 17:12:15 -04:00
Jenkins
9ce465d544 Merge "Updates to glance start scripts, db and user/role creation - adding db sync and db creation as utf8 - fixing user and role creation" 2014-10-03 20:49:00 +00:00
Dan Radez
4592e3884f Updates to glance start scripts, db and user/role creation
- adding db sync and db creation as utf8
- fixing user and role creation

Partial-blueprint: kube-glance-container

Change-Id: I15be99f26483e490fccc23d029f39645c13c724b
2014-10-03 16:10:17 -04:00
Chmouel Boudjnah
5aa235066c Rename validate-json target as pep8 and improve it
When discussing with the infra guys they have mentioned it would be
easier to call our linting job pep8, it's indeed badly named but that
target has been used all over openstack for linting projects. As a bonus
point it would make things easier to add the job to the gate. To make
that patch much more interesting than a three characters change I have
improved the validate-samples script to detect if jsonlint was present
and if not fallback to the standard python -mjson.tool which give you
less details but nonetheless works if jsonlint is present.

Change-Id: I8d71a229917004dfd7223a16e4f270101cf2f0a8
2014-10-03 21:18:12 +02:00
Jenkins
76a1602900 Merge "Add validate-json tox target" 2014-10-03 18:44:45 +00:00
Jenkins
01f53ef0f5 Merge "Only push with the build script with -p" 2014-10-03 18:43:36 +00:00
Chmouel Boudjnah
4e1e9334d5 Only push with the build script with -p
Not everyone have access to kube/ docker namespace, so let just push it
only when specified with -p

Change-Id: I49b2b04f8db8ff7ba7c9f6b6dc9b2ec8c30a95c8
2014-10-03 16:55:55 +00:00
Steven Dake
6a8eb99608 Remove whitespace errors in mariadb JSON
JSON should not introduce whitespace errors

Change-Id: I02cc56c6205a411a3f042b65ccfb9624795c13d2
2014-10-03 09:54:42 -07:00
Jenkins
3127f4cad3 Merge "Keystone: Do a service and endpoint create" 2014-10-03 16:48:21 +00:00
Jenkins
05f1777cbc Merge "Swift: Remove trailing JSON commas that don't parse" 2014-10-03 16:47:59 +00:00
Jenkins
a6417f8024 Merge "Heat: Remove JSON trailing commas that don't parse" 2014-10-03 16:47:53 +00:00
Jenkins
5b3cb3c8b4 Merge "rabbitmq: remove trailing commas in tabs so JSON parses" 2014-10-03 16:47:48 +00:00
Jenkins
11c833d8cb Merge "glance: remove JSON trailing commas that don't parse" 2014-10-03 16:47:42 +00:00
Jenkins
4f242ff9e3 Merge "Keystone: remove extra commas and tabs in JSON" 2014-10-03 16:47:35 +00:00
Jenkins
30ad5df95e Merge "Initial libvirt and nova-compute structure" 2014-10-03 16:17:49 +00:00
Jenkins
470fcb7349 Merge "fix mariadb Dockerfile" 2014-10-03 15:01:01 +00:00
Steven Dake
532c610705 Swift: Remove trailing JSON commas that don't parse
Change-Id: Ic7eaf187e7f0fa9481c432a8b32971a470e75bf0
2014-10-03 07:56:02 -07:00
Steven Dake
73d1ada4da Heat: Remove JSON trailing commas that don't parse
Change-Id: Ia642716f30ea4bd098e5c67e522bbfd01fd6cf7a
2014-10-03 07:56:02 -07:00
Steven Dake
3a60c10363 rabbitmq: remove trailing commas in tabs so JSON parses
Change-Id: I91bb3cab059220a6677e28e928b5805410ce5f5c
2014-10-03 07:56:02 -07:00
Steven Dake
96b06f111b glance: remove JSON trailing commas that don't parse
Change-Id: Ie5d7f5342284997e878803b273f0796421ae6bb2
2014-10-03 07:56:02 -07:00
Steven Dake
5d0d4b224d Keystone: remove extra commas and tabs in JSON
The JSON doesn't parse correctly

Change-Id: Ie68ad1cdfb80b9f3c15e9d93476f7c53cc0a0858
2014-10-03 07:56:00 -07:00
Jenkins
33c4705176 Merge "Using new fedora base image from kollaglue" 2014-10-03 14:54:14 +00:00
Jenkins
e949735c3d Merge "fix keystone dockerfile" 2014-10-03 14:48:13 +00:00
Lars Kellogg-Stedman
1931a016b0 Using new fedora base image from kollaglue
Change-Id: I388113e5a9c748054a099ef1a3063863120e9a99
2014-10-03 10:46:50 -04:00