449 Commits

Author SHA1 Message Date
Ryan Hallisey
1aa0f7ce49 Fixes bug where heat container was not getting heat meta data
Heat container is having trouble accessing heat meta data.
Heat needs to have HEAT_CFN_API_SERVICE_HOST set in order
to properly receive meta data.

Closes-bug 1435288

Change-Id: Ia28ece3ae91ec7acc62cc86039612841ac487f36
2015-03-23 16:22:05 -04:00
Jeff Peeler
07f5999276 Check for root privilege in start.sh
This change was lost in 888bb9cc8c68bf61fddc0ca08a69f764a4012121.
Both modprobe and setenforce require root, so I think this is a good
sanity check.

Change-Id: I431df44e0fed4a981df96a9a98bfbb5c350e49ac
2015-03-21 02:18:01 -04:00
Jenkins
0d9a53470d Merge "Use -L flag in curl" 2015-03-21 03:28:12 +00:00
Jenkins
be79b50b31 Merge "Don't kill keystone, but instead wait for it to finish at the end" 2015-03-21 03:19:48 +00:00
Jenkins
f84c2b1705 Merge "Fix wait_for function in kolla-common.sh" 2015-03-21 03:17:15 +00:00
Jenkins
ad6026e0e1 Merge "Refactors nwfilter" 2015-03-21 03:16:24 +00:00
Jenkins
68978c2338 Merge "Make the Horizon dashboard work properly" 2015-03-21 03:15:58 +00:00
Jenkins
a99a861bc0 Merge "Improve Heat integration" 2015-03-21 03:15:38 +00:00
Jenkins
64f59e229c Merge "Add pid: host to libvirt" 2015-03-21 03:12:30 +00:00
Jenkins
b6d4cf6310 Merge "Cleanup leftovers after wait_for was merged into kolla-common.sh" 2015-03-21 03:07:48 +00:00
Jenkins
1854cb52e9 Merge "Remove reference to k8s directory from README" 2015-03-21 03:06:37 +00:00
Steven Dake
f4b128f7bb Use -L flag in curl
The cirros image uses a redirect.  Use curl -L to follow redirections.

Change-Id: I3a9309901ab3528442009fd6802600c51c98242f
2015-03-20 20:01:57 -07:00
Jenkins
17eccb0dfd Merge "Implements: blueprint Implement a database container set" 2015-03-21 02:47:52 +00:00
Martin André
448e48a75b Cleanup leftovers after wait_for was merged into kolla-common.sh
Change-Id: I97ab671bfbdcf5434feedec617a938b30af4579b
2015-03-21 11:11:57 +09:00
Daneyon Hansen
c49613ad0a Refactors nwfilter
Previously, the nwfilter daemon/conf pkgs would need to be
installed on the host. Compose would then mount the host DIR
to the compute containers. A more efficient approach is to simply
install the nwfilter config/daemon in the libvirt container. Both
appoaches address the following error when booting an instance:

'no-mac-spoofing' is missing

Change-Id: I81b446d198920473bf99b97ef5eac6ef5ee85024
2015-03-20 22:00:54 +00:00
Steven Dake
3f4c45fac5 Add ADMIN_USER_PASSWORD to genenv tool
The genenv tool was generating the wrong password for the openrc
file as a result of recent keystone rework.  This patch fixes that
problem.

Change-Id: I169e3255e3f3ef57938861c31ef4e342d9a32cbc
2015-03-20 13:41:08 -07:00
Jenkins
ed617a59f8 Merge "Fixes Keystone openrc and sets / for scripts" 2015-03-20 19:14:28 +00:00
Steven Dake
f642fd7b2d Don't kill keystone, but instead wait for it to finish at the end
use the bash wait builtin to wait for the keystone process to exit.

Change-Id: I03057e7925e7e41120c163c0be22ade75050d9f1
2015-03-20 10:48:32 -07:00
Steven Dake
71576f4e42 Make the Horizon dashboard work properly
The Horizon dashboard was not working properly prior to this work.

Also a docker-compose file was added to start the dashboard.

Change-Id: I8a438c15b967b0cec00bfe44b997f833bf745191
2015-03-20 10:21:29 -07:00
Steven Dake
dbddef4f78 Improve Heat integration
Generate Heat environment variables.
Rename yml file to api and engine to follow other service conventions.
Add heat to compose/start
Modify integration guide to include new variables.

Change-Id: I058d829901881e28d6f4785f59fcf778058241e4
2015-03-20 10:21:01 -07:00
Steven Dake
5bfc3e11f6 Add pid: host to libvirt
Without pid: host, nova-compute and libvirt fail to operate correctly
together.  I don't understand why, and I wish it weren't so, but it means
folks will have to install docker-compose from my personal github account
until the pull request is merged upstream.

Change-Id: I24e55405139c831f2df246f54c5b6fd39d00656a
2015-03-20 10:05:03 -07:00
Daneyon Hansen
5547b5fe78 Implements: blueprint Implement a database container set
Previously, the database container was configured for use with
Kubernetes. This patch removed any k8s dependencies, adds a script
to manage mysql server.cnf settings and splits data and app
containers. Splitting the containers provides additional
portability and operational efficiencies compared to host mounts.

Change-Id: I80656450c02dda5f2959d187eec20d5877dc54a2
2015-03-20 16:17:51 +00:00
Jenkins
fb425db56d Merge "Move genenv.sh and start.sh to tools directory" 2015-03-20 16:09:32 +00:00
Daneyon Hansen
8eb36e7cde Fixes Keystone openrc and sets / for scripts
Previously, the keydtone openrc file was not using the proper
auth url, whcih was broken with too many double ticks. Also
changed the auth port from public to admin since keystone user
is an admin tenant. Changed DIR for scripts to align with the
rest of the project.

Change-Id: Iadde3239227e65ecca479b16a7b7db51d3a579c8
2015-03-20 07:18:21 +00:00
Martin André
1cb5514353 Fix wait_for function in kolla-common.sh
Add `wait_for_output` and `wait_for_output_unless` helper functions that
only succeed when the command output contains the expected string, with
a possibility to exit early with a failure for `wait_for_output_unless`.

Change-Id: Ie20e7c72fb84f626f1a3fe9c4d2f22c9d6863dbe
2015-03-20 12:55:53 +09:00
Jenkins
9b7a844094 Merge "Always restart glance services" 2015-03-20 01:39:08 +00:00
Martin André
888bb9cc8c Move genenv.sh and start.sh to tools directory
Rename them `genenv` and `start`.
Have `genenv` create the openrc file in the top-level directory.

Add openrc and compose/openstack.env to gitignore, as well as *.img.

Change-Id: I5d8006e97efd77cf364215f55d5e585139ae273e
2015-03-20 10:31:02 +09:00
Martin André
3e439b5e1e Remove reference to k8s directory from README
Kolla has moved away from Kubernetes and is now using docker-compose to
define container sets.

Remove last reference to Kubernetes in the README file, and document
the `compose` directory instead.

Change-Id: Ic586da2ae7859817c0da888f6ce5c788188e43d2
2015-03-20 10:13:26 +09:00
Jenkins
65683e5ed7 Merge "Remove traces of kubernetes" 2015-03-20 01:01:21 +00:00
Jenkins
e201fd5206 Merge "Check for root privilege in start.sh" 2015-03-20 00:58:05 +00:00
Steven Dake
096a85da32 Always restart glance services
Always restart glance services since they are idempotent.

Change-Id: I6ad98eacf0fd10b97a007db81dbe23459cc71e2b
2015-03-19 13:18:41 -07:00
Jenkins
415c5e4747 Merge "Use keystone authentication with Glance" 2015-03-19 20:06:03 +00:00
Jenkins
f91293cd5d Merge "Correct glance-api-registry format" 2015-03-19 20:02:37 +00:00
Steven Dake
f7bf845c00 Remove traces of kubernetes
Change-Id: Ie14063022aa1f4e1409421b8049ec75ec9a32802
2015-03-19 10:00:00 -07:00
Steven Dake
858cdda3ec Use keystone authentication with Glance
Previously glance was not using keystone for authentication.  This resulted
in --is-public true failing when doing image-create.

Co-Authored-By: Lars Stedman (larsks@redhat.com)

Change-Id: I54273115242ee169201643fe0ad559392650c883
2015-03-19 09:21:48 -07:00
Jeff Peeler
0dc0cf1b9e Check for root privilege in start.sh
Change-Id: I38f6cf133b0ebf59a9595fb62868a81f731a0b85
2015-03-19 12:05:22 -04:00
Jenkins
b3759b480f Merge "Properly format code blocks in integration guide" 2015-03-19 16:04:53 +00:00
Jenkins
c3b1174351 Merge "Implements: blueprint heat-fig-update" 2015-03-19 15:44:56 +00:00
Jenkins
ac17371249 Merge "Update start.sh" 2015-03-19 13:34:20 +00:00
Jenkins
3309f5e4a0 Merge "Make rabbitmq container work with it's proper hostname set" 2015-03-19 13:34:13 +00:00
Steven Dake
97d3792bfe Make genenv.sh create an environment that will actually start keystone
The latest keystone container parses the keystone admin port environment
variable.  This script was setting it incorrectly.

Change-Id: I0d85e5266e5198e47b77906639bc121cd1e6d1f5
2015-03-18 20:08:15 -07:00
Steven Dake
38fada551c mariadb-server requires the hostname userspace command
The hostname command is required to allow mariadb to access
the network properly.  Without it, in some cases mariadb cannot
execute name service resolution.

Change-Id: Ia215585faad23012143b63c4d82acd6ba69f59b7
2015-03-18 20:07:36 -07:00
Martin André
5e63d49528 Properly format code blocks in integration guide
Also enclose filenames with backticks.

Change-Id: I8bc467f2910af2d31dc7a9bf94ce7b3eb8d178e4
2015-03-19 10:08:50 +09:00
Jenkins
f2a38c55bd Merge "The wait_for function needs to be added into all the images" 2015-03-18 22:56:44 +00:00
Jenkins
16076af97a Merge "Fix an error in the nwfilter definition" 2015-03-18 22:53:35 +00:00
Steven Dake
6aebcbfb53 Correct glance-api-registry format
The yaml formatting is wrong, causing some versions of compose to bail.

Change-Id: I20c0709699c2c259e9d2443a7d91e5f70ce67188
2015-03-18 15:45:11 -07:00
Steven Dake
b8a67110c7 Update start.sh
Clean up start.sh and make more functional

Change-Id: If9cb8a6a621991a28cf9b95c4fd0e5b7e780272a
2015-03-18 15:24:47 -07:00
Steven Dake
ac930b33dd Make rabbitmq container work with it's proper hostname set
Change-Id: I0f79ba151dbb290378e2db0d1af9feb71cb84e6d
2015-03-18 15:24:47 -07:00
Ryan Hallisey
2b801dac90 Implements: blueprint heat-fig-update
Heat is split into the engine and api.  The current images
built in kollaglue work.

Change-Id: I14bb8520cf76a84491163f0f102d603d312cd5fb
2015-03-18 17:21:35 -04:00
Jenkins
904c8db96e Merge "Add a "admin" user via crux to keystone container" 2015-03-18 20:19:16 +00:00