1472 Commits

Author SHA1 Message Date
Steven Dake
69ea4959f8 Use cinder-volumes as name of LVM VG
Use cinder-volumes as name of LVM volume group expected on the host
instead of the nonsense that was there before.

Change-Id: I35221ac0ad3464581f9ba95c3127832e0af7ad64
Closes-Bug: #1487800
2015-08-22 20:00:36 -07:00
Steven Dake
3327fa4fe2 Cinder reads non-Kolla generated config files
The RDO packages do something wierd about reading files from
/usr/share/cinder/cinder-dist.conf by default.  These files contain
non-Kolla configured configuration values.  This is obviously not
ideal since RDO policies may be different then Kolla policies.

This should probably be fixed across the source base, but for the
moment it is blocking correct operation of Cinder.

Change-Id: I823a90b28eaaf5474334885a45f22ed28537b24b
Closes-Bug: #1487799
2015-08-22 20:00:36 -07:00
Steven Dake
5c5a3faaa0 automaton renamed to python-automaton
Cinder is broken by this RDO package rename.  Maintaining docker templates
for basic things like this until the /docker directory is removed.

Change-Id: Ieae2ab3296346767c305d21e8bb8de964160f84a
Closes-Bug: #1487762
2015-08-22 12:57:47 -07:00
Jenkins
f70e8d4598 Merge "Add Ansible role for memcached" 2015-08-22 01:42:47 +00: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
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
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
Swapnil Kulkarni
19136fd4c4 Add build from source and templating for Zaqar
Co-Authored-By: Steven Dake <stdake@cisco.com>

Change-Id: Ibe8b6ea7941ab3f2fd7dcfcd2ed18fd6111bb270
Partially-implements: blueprint install-from-source
Partially-implements: blueprint dockerfile-template
2015-08-20 03:22:33 -07:00
Sam Yaple
b89575b419 Add Dockerfile template for nova
Change-Id: I11fd26950f76be2200730e333e365ef74dfd5747
Partially-Implements: blueprint dockerfile-template
2015-08-20 09:28:09 +00:00
Jenkins
a760549e78 Merge "Remove start.yml abstraction for kolla-ansible" 2015-08-20 09:16:47 +00:00
Jenkins
1b49b9572d Merge "Load ip_vs module for keepalived" 2015-08-20 08:38:57 +00:00
Jenkins
7541da8fc6 Merge "Remove defaults.yml from docs" 2015-08-20 08:03:42 +00:00
Jenkins
dab049193f Merge "Fix small typo in task name" 2015-08-20 08:01:32 +00:00
Jenkins
6d54316200 Merge "Fix binary builds for oraclelinux templates" 2015-08-20 07:58:57 +00:00
Jenkins
2d5e537295 Merge "Add Dockerfile template for Gnocchi" 2015-08-20 07:58:55 +00:00
Jenkins
9f1729ef82 Merge "Fix missing line break in memcached template" 2015-08-20 07:56:35 +00:00
Steven Dake
98b98924ee Use database_user_create in the register operation
The register operation was registering user_database which is a global
variable in group_vars/all.yml.  This results in glance not being deployable
because user_database is overwrriten at keystone task registration time.

The result of this is the playbooks fail to deploy.

Change-Id: Ic69725fb09aa0a368ec5b0d8f47bfc768c29c70c
Closes-Bug: #1486876
2015-08-20 00:49:31 -07:00
William Frischemeier
c4611eca8e Load ip_vs module for keepalived
If ip_vs is not loaded keepalived will enter a restart loop.  To fix that
load ip_vs module every time we start the container.

Change-Id: I6b39d8654cc6a6da7a9162e5c3efab073746b246
Closes-Bug: #1486276
2015-08-19 17:45:16 -04:00
Paul Bourke
8cf4ffa22f Fix binary builds for oraclelinux templates
* Enable some extra repos for oraclelinux in the base template.

* Disable magnum binary builds for oraclelinux due to unavailable
  python-docker-py dependency

Change-Id: Iaf8826dc0f9ff93a40e5ad3d1c0fd1fb6ef2e048
Closes-Bug: 1486636
2015-08-19 16:58:12 +00:00
Paul Bourke
f17c1beba8 Fix missing line break in memcached template
Change-Id: I22919b5a3bda2f95ebcec6721f2fde868b81e7c6
Closes-Bug: #1486634
2015-08-19 16:56:18 +00:00