batch operations in nova-compute dockerfile

- batch yum operations to the build goes faster
- yum clean after install to remove yum cache and make
  final image smaller

Change-Id: I62246a6329a6b2ab6ab4fee6f72652a805f1e72e
Nova-api should not set up the database

Instead, nova-conductor will setup the database.

Change-Id: I91a46aa9bc3fc99fe58053b239929c8121864283
Merge "batch operations in nova-compute dockerfile"
Merge "Nova-api should not set up the database"
Config will be done by the controller

Remove config setup in nova-conductor.

Change-Id: I0740e6a69601ab4a39c20a3287792013355a9262
Nova-controller needs a start script

The nova-controller is going to make all the configurations
so it needs a script to setup nova.conf. The config data is
stored locally in nova.conf and will be read in and executed by line.

Change-Id: Id501212671201ca68cd08018ce024db284dd8c54
Update nova-controller's container ports

The previous values were just stand in values.  The new
ports support nova-api, ec2 api, and metadata api.

Change-Id: I330575d9b53b69bcacc61061b271252e61e64d4b
Add kube services

Add kubernetes services so that the nova controller
can use the ports 8773, 8774, and 8775, which correspond with
nova-api, nova-ec2-api, and metadata-api.

Change-Id: Idb083e2e0745c6587f9fa4f01a068727a435c2c6
Merge "Add kube services"
do not perform database or keystone setup in nova-compute

- do not perform database or keystone initialization in nova-compute
  image (these should happen in the controller images).
- fix incorrect nova.conf path
- configure keystone_authtoken correct

NB: This still won't result in a working image, because it does not
configure the RPC settings yet.  That will be for a subsequent patch.

Change-Id: Icbd66104ef817d360c46003b29fff63f66ace8d2
Have qemu uri point to correct place

Prevoiusly the connection uri was using an undefined variable.  Now
it will use NOVA_LIBVIRT_SERVICE.

Change-Id: Ia5ceb3428fa7aeb8dd1dd7b500c63119856977f2
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
nova-compute-service doesn't expose a port

AFAIK the service files are only for services with ports exposed.  Since
nova-compute doesn't expose a port, kubecfg returns an error when attempting
to register it:

F1014 17:06:34.329482 32317 kubecfg.go:395] Got request error:
service "novacompute" is invalid: port: invalid value '0'

Change-Id: I4d9f8d50d538f42d520f3d9437ab32aa6a226d2b
Expose ports needed by the nova-controller

The nova-controller will be using ports 8773, 8774,
and 8775. Therefore, Docker needs to be made aware of this.

Change-Id: Ia53dd50bdce4b328c246bad5399ab7ff44750d58
Convert nova-compute-replication to yaml

Yaml is the future - json is the past

\o/

Change-Id: I36a9cbf8db034d1e8deba040a22e556d791c65ed
Merge "Config will be done by the controller"
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
Merge "Nova-controller needs a start script"
Merge "Start nova-controller services and pods"
Merge "add better validation checks (part 1)"