360 Commits

Author SHA1 Message Date
Jeff Peeler
8f4c9a930e Add heat service to tools/start scripts
The images are already updated, so this can be approved immediately
following the dependent implementation commit.

Change-Id: Ida3d6b5b64256a63652dffba9dff2365e3755286
2014-10-21 13:53:11 +00:00
Jenkins
7d0f2d41eb Merge "Implement containers for heat-engine and heat-api" 2014-10-21 06:36:09 +00:00
Jeff Peeler
40ba2909d8 Implement containers for heat-engine and heat-api
Loosely followed this document for setting up Heat:
http://docs.openstack.org/icehouse/install-guide/install/yum/content/heat-install.html

Some gotchas:
- crux doesn't require escaping parenthesis for endpoint creation like
  keystone client
- heat icehouse packages are configured for qpid, so kombu had to be
  specified specifically

This firewall reference was handy for port information:
http://docs.openstack.org/trunk/config-reference/content/firewalls-default-ports.html

Implements: blueprint kube-heat-container

Change-Id: Ie4291a6c4c2b85a23a71fc0a003d9160bf0a32b8
2014-10-20 17:35:41 -04:00
Steven Dake
0c8080296d Change to using flat nova networking from neutron
Neutron is not yet ready, so use flat nova networking instead.

Change-Id: I4905f2a54af2c0c06cc8cf95d21f5831b02fbe5e
2014-10-20 14:05:03 -07:00
Steven Dake
f2c3719506 Use hostPort to lock 1 nova-compute/nova-network per node
Kubernetes does not have a horizontal scaling feature that works per
node.  A workaround is to use hostPort to cause the scheduler not to schedule
several replicationController replicas to each node.  By doing so, only one
nova-compute is launched per node up to a total of 6 nodes which is the most
we can generate in testing.

Change-Id: I1621f15cf1ec502418b454300645b46bc796dc8b
2014-10-20 10:18:47 -07:00
Daneyon Hansen
3ae22f65ea Fixes k8s neutron pod image source and formatting
Previously, the k8s neutron pod was pulling the image from
danehans instead of kollaglue. Additionally, the formatting was
incorrect causing kube not to pull the image at all.

Change-Id: I6f787a432ffb9cae404f915ac5228ddcb88e877c
2014-10-17 23:38:04 +00:00
Jenkins
7729fcdede Merge "Add nova-novncproxy as a kube service" 2014-10-17 20:14:23 +00:00
Ryan Hallisey
5bf71ab0a4 Add nova-novncproxy as a kube service
Create the nova-novncproxy service for kubernetes.

Change-Id: Id8c0137a271faf832b736e6e1cda0b87bec7e5c2
2014-10-17 19:56:33 +00:00
Lars Kellogg-Stedman
89534f43a1 fix script name in nova-controller images
Change-Id: Ia0b9057887bf34423546ca36346d9253ef4c90b9
2014-10-17 15:46:49 -04:00
Jenkins
ad615338cc Merge "Adds Neutron Server Support" 2014-10-17 19:35:46 +00:00
Jenkins
505a00a197 Merge "Docker image and process cleaup tool" 2014-10-17 19:34:53 +00:00
Lars Kellogg-Stedman
a5f6222da8 introduce a common base for compute and controller
This moves nova-ctr-base one level up and renames it nova-base, so that
we can share the same basic config between compute and controller pods.

Change-Id: I325f70c278744a1e1fe99b891e05c59c4248c55f
2014-10-17 15:19:51 -04:00
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
Lars Kellogg-Stedman
75b169c663 remove glance-pod.json
This was replaced by glance-pod.yaml.

Change-Id: I9249ae2721e375096fc42e1e8462a024c314118e
2014-10-17 13:43:52 -04:00
Lars Kellogg-Stedman
1f3d58a97d fix nova auth configuration
Based on
http://lists.openstack.org/pipermail/openstack/2014-January/004667.html,
there is confusion in the openstack community on how auth_uri in
nova.conf is supposed to interact with the other auth_* settings.

I've modified our config to use both for now.

Change-Id: I1433305e23d872cd773599c85053ba8f9aeb6145
2014-10-17 10:15:59 -04:00
Jenkins
d6632b90a2 Merge "Properly create endpoints for Nova services" 2014-10-17 14:13:52 +00:00
Jenkins
bf3c7eda8a Merge "Make nova-compute work properly with libvirt" 2014-10-17 14:13:31 +00:00
Jenkins
28aef69c6e Merge "Remove nova-base since there is only 1 image for nova-compute" 2014-10-17 14:12:55 +00:00
Steven Dake
e35e4f931a Properly create endpoints for Nova services
The endpoints for Nova services needed to be properly created for ports
8773 (ec2/ec2) and 8774(nova/compute) and 8774(novav3/computev3).

Change-Id: I5e1931d2e7ea35f741ab73b070e24926a3763054
2014-10-17 00:41:46 -07:00
Steven Dake
a14b8048c2 Make nova-compute work properly with libvirt
The nova-compute POD now starts and produces nearly correct output.
It may be that the libvirt container needs additional attention as it
is spitting out errors related to the firewall toolchain on the container.

Change-Id: I5bcd21c59f341494206a09e882631185ce66f336
2014-10-16 23:02:56 -07:00
Steven Dake
518e724845 Remove nova-base since there is only 1 image for nova-compute
Libvirt imports from fedora-rdo-base rather then nova-base, so no need
in generating an extra image.

Change-Id: I3ddd3aca54900686e3351de3dc11896347b14b6e
2014-10-16 23:02:53 -07:00
Jenkins
cc2821c12d Merge "Run nova-api as privileged so it can muck with iptables" 2014-10-17 00:43:37 +00:00
Lars Kellogg-Stedman
2d1f3dd9f2 configure nova database connection
config-nova-controller.sh needs to set the nova database connection
string.

Change-Id: I82f61f1c003ef9068a664e2d4cafaab1b5c47a00
2014-10-16 17:25:32 -04:00
Lars Kellogg-Stedman
d02543c1bc fix sql typo in nova-conductor start script
Change-Id: Ia01973ef10b1ab94a2cb5ddd9186adb916066beb
2014-10-16 17:22:00 -04:00
Steven Dake
b47c6afed0 Run nova-api as privileged so it can muck with iptables
Not sure if mucking with iptables is safe, but appears required.

Change-Id: I766b0e61e247c47b4449c1ed2c204ddb8919a87d
2014-10-16 14:19:26 -07:00
Jenkins
a3b90f59f1 Merge "add /check.sh script to nova-api image" 2014-10-16 20:53:50 +00:00
Jenkins
b5a164900f Merge "fix typo in crudini command" 2014-10-16 20:53:27 +00:00
Jenkins
6b7cf4506a Merge "Wrong shell script specified in start.sh" 2014-10-16 20:47:25 +00:00
Lars Kellogg-Stedman
b1a2d74406 add /check.sh script to nova-api image
Change-Id: Ia0f796b3a580c57b9f84390bae3b1012f99dcce0
2014-10-16 16:43:53 -04:00
Lars Kellogg-Stedman
818b119d22 fix typo in crudini command
Change-Id: I67f23c1fa987c33abef8607834dfface1de0fee2
2014-10-16 16:43:18 -04:00
Daneyon Hansen
de313681f9 Adds Neutron Server Support
Previously Kolla did not support Neutron. This patch provides
initial Neutron support by implementing neutron-server
functionality. It also creates a neutron-base image that
provides common config and packages for all Neutron-based
services.

Partially Implements: Blueprint Kubernetes Neutron Container

Change-Id: I2399a1331992fae0f387f01e5b5c1c1d34f0637d
2014-10-16 19:50:04 +00:00
Lars Kellogg-Stedman
2ab124bac0 correct missing backslash in config-nova-controller.sh
Change-Id: I3d49c5647744fb7d4e13f2e1fb84dc62f0f7e2c6
2014-10-16 15:08:31 -04:00
Steven Dake
3dd2839394 Wrong shell script specified in start.sh
start.sh was trying to run nova-config.sh which has been renamed
nova-controller-config.sh

Change-Id: I546ce046c0789144cb48668500ea4b206d07487d
2014-10-16 11:57:36 -07:00
Steven Dake
6a5c1d8f50 Make shell scripts executible
Without +x, docker will not run the shell scripts and the containers
exit immediately.

Change-Id: I03ca231d6e46131a58c01fae0f9b65e0a3722d36
2014-10-16 11:40:26 -07:00
Lars Kellogg-Stedman
bd885521ec renamed nova-controller -> nova-ctr-base
there is a 31 character limit on image names in docker hub.

Change-Id: I9624668fc2f09c397084eadf792d4d0cc8486ae1
2014-10-16 13:49:48 -04:00
Lars Kellogg-Stedman
b4560bd0e3 introduce scheduler to common configuration
Change-Id: I56156ed59b6678180bcb5d1bdd00233d8f339643
2014-10-16 11:51:59 -04:00
Lars Kellogg-Stedman
1eba53eb13 introduce conductor to common configuration
- source in common configuration script
- actually sync the database

Change-Id: I61d50edb0b44a71800e172c4777d3b40026e8521
2014-10-16 11:51:56 -04:00
Lars Kellogg-Stedman
4cd2ebcfed Nova has an undeclared dependency on python-cinderclient
Nova imports python-cinderclinet, which is not present by just
installing python-nova-api.  Hard yum-install it until upstream
fixes packaging.

Change-Id: I3187721d3eda7ce81da9540469fcc93b93560d3b
2014-10-16 11:51:53 -04:00
Lars Kellogg-Stedman
60631ac069 have start.sh source in common configuration script
Change-Id: I90fcd6ed43ce6c2b224eb43492586c8f4231ceda
2014-10-16 11:51:50 -04:00
Lars Kellogg-Stedman
558dcb5f56 fix nova-controller pod
remove nova-controller image, which is not meant to be started directly.
add required NEUTRON_SHARED_SECRET environment variable.

Change-Id: Id671c5473db8e6e222b16ccdfd9eaedc872c60fa
2014-10-16 11:51:46 -04:00
Lars Kellogg-Stedman
c3c41964f0 changes to base nova configuration
- correct typos/syntax errors in configuration scripts
- make config script consistent with other images
- do not create keystone entries in base image script

Change-Id: I42986fe1b9c80c5b0735fd70294bce1a6223a3ca
2014-10-16 11:51:39 -04:00
Jenkins
64b7b2a712 Merge "Add nova-libvirt to started services" 2014-10-15 18:47:24 +00:00
Jenkins
05cca9915a Merge "Add replication controllers to start and stop scripts" 2014-10-15 18:47:18 +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
Lars Kellogg-Stedman
8b4f8d91ad modify tox config to use new validation code
this patch modifies tox.ini to perform both the JSON and YAML validation
checks.

Change-Id: Ie8db699f19dc7698407bab1e3d51dcb6184cfad2
2014-10-14 22:36:43 -04:00
Jenkins
63888e7385 Merge "Expose ports needed by the nova-controller" 2014-10-14 22:17:29 +00:00
Jenkins
ec29d5df62 Merge "Have qemu uri point to correct place" 2014-10-14 19:47:24 +00:00
Jenkins
9b484b4026 Merge "nova-compute-service doesn't expose a port" 2014-10-14 19:45:38 +00:00
Jenkins
ec5a16dcec Merge "add better validation checks (part 1)" 2014-10-14 19:44:51 +00:00