1485 Commits

Author SHA1 Message Date
Jenkins
5801e969e1 Merge "Fix keystone for Ubuntu" 2015-08-23 07:42:15 +00:00
Jenkins
aae4016908 Merge "Cinder ansible waits for bootstrap container on all hosts" 2015-08-23 07:40:50 +00:00
Jenkins
cda323898d Merge "Record the distro and install_type variables" 2015-08-23 07:38:22 +00:00
Jenkins
606450d5cb Merge "Fix Glance for Ubuntu" 2015-08-23 06:16:36 +00:00
Sam Yaple
17333aed12 Fix keystone for Ubuntu
Due to the differences between Ubuntu and Centos around Apache2 I have
had to copy both start.sh and config-external.sh to be unique files
for Ubuntu so as not to affect Centos either. This can be removed when
we change the way config-external works.

Change-Id: I14dc11e7bb6284b897259a53acc914ae8f254d3c
Partially-Implements: blueprint install-from-ubuntu
2015-08-23 06:07:04 +00:00
Jenkins
b6c0be9a70 Merge "Ubuntu - Keepalived" 2015-08-23 06:03:15 +00:00
Sam Yaple
5dcf175cb5 Record the distro and install_type variables
We set two environment variables to record the needed info to do
conditionals in the start.sh and config-external.sh scripts

Change-Id: I08acb489e214b3dc961331bb870b435c17100635
Paritially-Implements: blueprint install-from-ubuntu
2015-08-23 03:45:03 +00:00
Jenkins
b9f0cdbe38 Merge "Rabbitmq servers fail to start due to wrong permissions" 2015-08-23 02:58:23 +00:00
Jenkins
7552de144b Merge "Rework documentaton to actually get people rolling" 2015-08-22 16:44:38 +00:00
Jenkins
54143a8121 Merge "Add templated dockerfiles for ironic" 2015-08-22 16:42:41 +00:00
Sam Yaple
3fe9b78216 Ubuntu - Keepalived
Change-Id: I7e96da95eb8720e3cad0776743cab3d523674f0f
Partially-Implements: blueprint install-from-ubuntu
2015-08-22 14:50:51 +00:00
Sam Yaple
4beacffbec Fix Glance for Ubuntu
Change-Id: Ie442b60fbaadcb83fca060b811e95c07c773c8b8
Partially-Implements: blueprint install-from-ubuntu
2015-08-22 11:07:26 +00:00
Jenkins
f70e8d4598 Merge "Add Ansible role for memcached" 2015-08-22 01:42:47 +00:00
Steven Dake
2806e453b6 Rework documentaton to actually get people rolling
Individuals are beginning to evaluate Kolla and our quickstart
documentation is in terrible terrible shape.  Pleae just approve
this change but do leave feedback.  I will address changes in
an iterative process in future patches rather then having a
perfect documentation patch in one bang.

Since this isn't code, there is not a high cost to refactoring
or risk of regressions.

Change-Id: I222cf15f4c5d748fb2daf3638094b4e7b35f8844
2015-08-21 15:17:01 -07:00
Jeff Peeler
e0f0e2105f Add templated dockerfiles for ironic
Partially-implements: blueprint ironic-container

Change-Id: I7869c49c851a95c12fffaf426abd6625f3f1a212
2015-08-21 16:45:05 -04:00
Jenkins
f14b229b10 Merge "Fix MariaDB for ubuntu" 2015-08-21 20:18:44 +00:00
Jenkins
dc2a7a006a Merge "Add custom code to base docker templates" 2015-08-21 20:04:59 +00:00
Jenkins
576bdb0b76 Merge "Run pandoc to convert the documentation" 2015-08-21 19:47:25 +00:00
Jenkins
a804be0f73 Merge "Prepare for MD to RST conversion" 2015-08-21 19:47:19 +00:00
Michal Jastrzebski (inc0)
598fe7bad1 Add custom code to base docker templates
Sometimes you need custom code in Docerfiles to solve for example
proxy problems or preconfigure base image in some specific way.
With this commit you can insert content of custom file to the beggining
of base Dockerfile to provide these changes

Partially-implements: bp rhel-based-image-support
Partially-implements: bp add-proxy-to-dockerfiles
Partially-implements: bp build-script
Change-Id: Idbfec764aad627f5c00dc09c4854d5fa1c5ac9cf
2015-08-21 20:21:41 +02:00
Jenkins
76630d26a5 Merge "Added missing configuration to horizon docker template." 2015-08-21 17:46:18 +00:00
Jenkins
0f2a4e1e0b Merge "Prepare for gating by distro, type, docker type" 2015-08-21 16:49:10 +00:00
Vladislav Belogrudov
dd9986cf0a Rabbitmq servers fail to start due to wrong permissions
Rabbitmq containers mount /var/lib/rabbitmq from 'data'
containers with 'root:root' permissions because
ansible does not wait for rabbitmq bootstrap container -
the latter corrects access rights but sometimes gets
killed just after start.

Change-Id: I5cd1ce9810a1fd457dd34a1283e448204964c17d
Closes-Bug: #1487422
2015-08-21 16:16:37 +00:00
Paul Bourke
d13163ab51 Add Ansible role for memcached
Note, this is not in the inventories/site.yml as it will be a
transparent dependency of Swift.

Change-Id: Ic8c80072596594e646ece74ac0ce74c7000398ff
Partitially-Implements: blueprint ansible-swift
2015-08-21 13:52:06 +00:00
Sam Yaple
fd9d11aeb4 Fix broken zaqar template
Change-Id: I714b33b8a818b7d3320cfaa8fb10fc758f545513
Closes-Bug: #1487462
2015-08-21 13:13:48 +00:00
Sam Yaple
8f7ff27779 Fix MariaDB for ubuntu
In MariaDB we adjust the dependecies of what we install there as well
adding only what is appropriate for the install.

In Ansible we adjust some templates to all work around differences
between the different Linux families.

Change-Id: Ibc26e2f4d4a732630632d3ed27fb595b6fe019d2
Partially-Implements: blueprint install-from-ubuntu
2015-08-21 13:10:05 +00:00
Jenkins
91088e595f Merge "Fix RabbitMQ for Ubuntu" 2015-08-21 13:08:48 +00:00
Jenkins
6dd30b2a72 Merge "Add kolla-ansible for ubuntu" 2015-08-21 13:07:28 +00:00
Jenkins
3bd021cd39 Merge "Fix up base for ubuntu" 2015-08-21 13:06:35 +00:00
Vladislav Belogrudov
ad2b9019ae Cinder ansible waits for bootstrap container on all hosts
Bootstrap task runs bootstrap container on one host but
waits for its exit on all machines in inventory. This
gives error about non-existing container id.

Change-Id: Ie06c4da470c2e109d13b029fa674373b255653f3
Closes-Bug: #1487387
2015-08-21 12:34:27 +03:00
Jenkins
9ddd415486 Merge "Add build from source and templating for Zaqar" 2015-08-21 09:11:40 +00:00
Steven Dake
6e3127d043 Run pandoc to convert the documentation
This converts all MD formatted docs that were renamed to RST to
preserve git history into actual RST documentation.  Some minor
edits were made but in general the purpose of this patch is to
*only* convert the documentation not rework the documentation.
I do plan on reworking the documentation in further patch sets.

All links were tested and a test rendering is available:

    http://github.com/sdake/kolla

Change-Id: I3df430b14df1ede15407c7f4ba7afcbdc6f9d757
2015-08-21 02:10:31 -07:00
Steven Dake
bbcf22cc12 Prepare for MD to RST conversion
Sphinx and OpenStack documentation standards require the use of
RST formatted documentation.  In order to get out docs integrated
into docs.openstack.org, the following steps must be taken:

1. we need to first convert the documentation to RST
2. sphinx support must be added to the repository
3. project-config must be updated with a publish-docs job

The ability to pubish to docs.openstack.org is a privilege only
available to Big Tent projects.  As a result, we should be taking
advantage of this to help spread the word on our implementation.

Note the documentation was converted with a tool called pandoc
the syntax of which was:
pandoc -f markdown -t rst file.md > z
mv z file.rst

In order for git to preserve history the files have to be git mv'ed
in one commit followed by the pandoc operation in a separate commit.

Change-Id: Iba2a70b989e8305da03e8204a9b130d457b00cf0
2015-08-21 02:10:31 -07:00
Mick Thompson
37283874d0 Added missing configuration to horizon docker template.
Added missing copy and link commands:
 && cp -r /horizon/openstack_dashboard /usr/share/openstack-dashboard/ \
 && cp /horizon/openstack_dashboard/local/local_settings.py.example \
     /etc/openstack-dashboard/local_settings \
 && ln -s /etc/openstack-dashboard/local_settings \
     /usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py \
 && cp /horizon/manage.py /usr/share/openstack-dashboard \
 && python /usr/share/openstack-dashboard/manage.py collectstatic --noinput \

Changed 'mkdir -p /usr/share/openstack-dashboard/static' to 'mkdir -p /usr/share/openstack-dashboard'

Change-Id: Ia79c43d771ab2b3628112a9c4d0e6bb2d3348f4f
Closes-Bug: 1487028
2015-08-21 10:04:04 +01:00
Duane DeCapite
129f1d06a1 Workaround for existing keepalived.pid file
Fixes issue where keepalived will not restart after container failure.
Removes keepalived.pid file if one exists on container startup.

Change-Id: I6ec3297a5e49a4d5255323aa7f75dfdc10d0c5ec
Closes-Bug: #1485079
2015-08-20 19:55:55 -04:00
Jenkins
e51477e48c Merge "Remove start.yml and bootstrap.yml" 2015-08-20 18:42:12 +00:00
Jenkins
7c270014cd Merge "Change default config location" 2015-08-20 18:34:58 +00:00
Jenkins
405e7a2f1b Merge "Fix group name in vagrant docs" 2015-08-20 18:28:14 +00:00
Jenkins
df6708560c Merge "Allow Docker to make better use of cache" 2015-08-20 18:26:14 +00:00
Jenkins
2b01412ab9 Merge "The requirements.txt file isn't correct" 2015-08-20 17:39:02 +00:00
Sam Yaple
e8adfbcfc4 Remove start.yml and bootstrap.yml
Change-Id: I50d93255db0c1f7f036524fa88b3f8c077fa1efa
Implements: blueprint remove-abstraction-ansible
2015-08-20 17:19:58 +00:00
Sam Yaple
535c72c73d Change default config location
Currently we write configs to /opt/kolla/config on the destination
node. This does not mesh with LSB so we adjust it to /etc/kolla

Change-Id: I4b6683b3b707ebb25b064ba5162533ea5a35d977
Partially-Implements: blueprint update-configs
2015-08-20 17:09:54 +00:00
Jenkins
f9a2b0640a Merge "Add Dockerfile template for nova" 2015-08-20 16:28:50 +00:00
Sam Yaple
49a9fba23e Allow Docker to make better use of cache
Docker cache takes into account things like filesize, hash of file,
and even timestamp and access times when determining whether to use
the cache or not. This modifies the build script to adjust all the
timestamps to 0 epoch. Since we dont care about timestamps this allows
us to make far better use of the cache, including when downloading and
creating tarballs for source builds.

Change-Id: Id4287cf1fcaa2de63feaab9e6f4ebbd4defdb768
Partially-Implements: blueprint build-script
2015-08-20 15:35:28 +00:00
Sam Yaple
e4acef75cf Add kolla-ansible for ubuntu
Change-Id: Ia62a9df706b5d1c9c1673d5664839b3a561f3c51
Partially-Implements: blueprint install-from-ubuntu
2015-08-20 14:44:49 +00:00
Sam Yaple
fe2e454f26 Fix RabbitMQ for Ubuntu
In rabbitmq we removed the requirement for hostname since that is
already installed.

Change-Id: Ia2355e332d53763db630d19663c2ddc8bf3aa425
Paritially-Implements: blueprint install-from-ubuntu
2015-08-20 14:43:32 +00:00
Sam Yaple
9cb2b3fc95 Fix up base for ubuntu
In the base we no add the sources.list with the appropriate sources
from around the interwebs. We also pull in the appropriate signing
keys for those packages. We adjust the dependencies as well.

Change-Id: Ic7e084c0c57287945d0e7c2526f050afbbdec454
Partially-Implements: blueprint install-from-ubuntu
2015-08-20 14:42:57 +00:00
Sam Yaple
795810fef3 Fix group name in vagrant docs
Change-Id: I9a031dc3aea3c2ca549e3c2353c64e95180f2ba7
2015-08-20 10:38:42 +00:00
Jenkins
daeea32cdf Merge "Update support to control" 2015-08-20 10:37:31 +00:00
Jenkins
dfcfd0e5fe Merge "Use database_user_create in the register operation" 2015-08-20 10:30:50 +00:00