14 Commits

Author SHA1 Message Date
Ryan Hallisey
d2194febb5 Docker image and process cleaup tool
When running Docker, you can unknowingly use up a lot
of memory.  This tool will make it easier to clean up
Docker.

Change-Id: Icfd780f12b01956093a2933dd484cde1e2d6d5bc
2014-10-17 17:58:42 +00:00
Steven Dake
ff038f4a96 Add nova-libvirt to started services
nova-libvirt was not in the list of started services, so its port
was not available prior to this change.

Change-Id: I59cedb68ff87a9a54e93c85e60f748e5cc161a4c
2014-10-15 07:22:42 -07:00
Steven Dake
b79ec04b70 Add replication controllers to start and stop scripts
replicaton controllers are now automatically started by the start
scripts and killed by the stop script

Change-Id: I15d15ff9b1b640bd0f8cace872a827ecfe476ca3
2014-10-15 07:22:39 -07:00
Jenkins
ec5a16dcec Merge "add better validation checks (part 1)" 2014-10-14 19:44:51 +00:00
Lars Kellogg-Stedman
bfbf1b8c9b add better validation checks (part 1)
This patch adds a script for validating YAML files, and replaces the
existing JSON checks with one largely identical to the YAML check.

This also provides a script that can be installed as a pre-commit hook
that will perform this checks when you commit changes.  You can install
the hook by running tools/pre-commit-hook --install.

Change-Id: Ib4742a9db062362cfa61d669c691151bc1ca376c
2014-10-14 15:21:22 -04:00
Steven Dake
c2517e40f2 Start nova-controller services and pods
Start all of the nova-controller services and pods with the start-all-pods
and start-all-services startup scripts

Change-Id: I47fe15d67ef177fbecf342357bff44cf2fdb5d9e
2014-10-14 10:02:45 -07:00
Lars Kellogg-Stedman
6ccd3a9b44 update start/stop scripts
- use new yaml config files
- provide separate service- and pod- start/stop scripts

Change-Id: Iaff2a5b4d5a33467a9d10b10e9bd5c922eeed3aa
2014-10-13 11:31:39 -04:00
Jeff Peeler
8e040e7047 Update start/stop scripts with updated paths/names
Change-Id: I931e02bfe4360548a404e0d22ca9dd9a39312771
2014-10-10 16:26:35 -04:00
Steven Dake
2bc783b8c6 Reorganize k8s structure
All services go to TLD/k8s/service
All pods go to TLD/k8s/pod

Change-Id: Iad2977a9f0cd5f430c4e0a566846bf4681618379
2014-10-07 15:33:11 -07: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
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
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
Chmouel Boudjnah
ac0b2a797f Add validate-json tox target
This is a simple JSON validation script based on demjson python library,
we do some shell script trickeries to exit properly if there is a
failure for tox (should probably patch demjson to properly exit
instead).

Change-Id: I930908336deef7daeaab5b55ba2031c64698d880
Implements: blueprint json-validation-gate
2014-10-03 09:59:19 +00:00
Steven Dake
2204cb4063 Add a start and stop command
Start communicates with kubecfg to start the OpenStack services.
Stop communicates with kubecfg to stpo the OpenStack services.
2014-09-27 13:58:22 -07:00