1455 Commits

Author SHA1 Message Date
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
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
Jenkins
ddec57673b Merge "Remove barbican" 2015-08-19 16:01:28 +00:00
Jenkins
b214523d58 Merge "Add Dockerfile template for kolla-ansible" 2015-08-19 16:01:02 +00:00
Steven Dake
5d671a5682 The requirements.txt file isn't correct
We now depend on jinja2 and docker-py for building images.

We no longer depend on docker-compose for any part of our
runtime so removing it as a requirement.  If we keep compose
in the tree, it will be for reference only, not for runtime.

Change-Id: Ie663a0f183e74c14f01e9cb4fdc8763355c6415a
Partially-Implements: blueprint dockerfile-template
2015-08-19 08:03:03 -07:00
Swapnil Kulkarni
8758435d40 Add Dockerfile template for Gnocchi
Change-Id: I15e6a06645361aec979d7dad4794b45236c957e3
Partially-Implements: blueprint dockerfile-template
2015-08-19 15:02:07 +00:00
Jenkins
d04ee6b68c Merge "Add oslo_versionedobjects dependency for neutron" 2015-08-19 14:59:23 +00:00
Jenkins
1c2cb5333c Merge "Remove Ansible abstraction for Neutron" 2015-08-19 14:34:01 +00:00
Sam Yaple
6edfeb1f37 Update support to control
Change-Id: Icd74a87a0acc5a29f69fdd348966c74408eea2a9
Partially-Implements: blueprint update-configs
2015-08-19 14:02:30 +00:00
Swapnil Kulkarni
059d84859f Remove Ansible abstraction for Neutron
Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: I19ae5c2d58b94cd95b969e5c4e65ef1670a78b7e
Partially-Implements: blueprint remove-abstraction-ansible
2015-08-19 12:16:56 +00:00
Ryan Hallisey
eaf096b261 Libvirt is moving around the wrong config file
Libvirt uses libvirtd.conf not libvirt.conf. Currently,
the config file get copied to '/etc/libvirt/libvirt.conf' and
libvirt creates its own libvirtd.conf and ignores the
configured libvirt.

Change-Id: I7a55b92c33ade72b7ac8ba028c67313479ad8343
Co-Authored-By: Ian Main <imain@redhat.com>
Closes-Bug: #1486100
2015-08-19 07:24:25 -04:00
Sam Yaple
b408bd531d Fix small typo in task name
Change-Id: I80e183985560404455443e6fa22e661bea3c0fa3
Closes-Bug: #1486516
2015-08-19 11:04:51 +00:00
Sam Yaple
102c8332bd Remove barbican
Barbican has never worked properly

Change-Id: Ifd0b74adf5afea321508376ad46ac3ddef0b5b89
Closes-Bug: #1486249
2015-08-19 10:42:34 +00:00
Sam Yaple
e7b3dce728 Remove defaults.yml from docs
Change-Id: I1d69aa1670c897deee09f09ecfa29866223056cc
2015-08-19 10:34:35 +00:00
Jenkins
9d23f12831 Merge "Move lots of global.yml options" 2015-08-19 10:31:19 +00:00
Jenkins
41fabba084 Merge "Move defaults.yml to group_vars/all.yml" 2015-08-19 10:25:32 +00:00
Sam Yaple
7f029b759c Add Dockerfile template for kolla-ansible
Change-Id: I53113d2a7595177839daebe74fa5bc409573f824
Partially-Implements: blueprint dockerfile-template
2015-08-19 05:19:29 +00:00
Steven Dake
bd5e5bbb64 Use one data container for all data volumes
The previous method of using the API image for a data container
worked, but resulted in more data being bindmounted and copied
into the system.  This patch resolves that by essentially using
a distro-type as a FROM in a Dockerfile to generate
distro-type-data.  Further all of the data containers used
throughout ansible are modified to use this new data container.

Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5
Partially-Implements: blueprint one-data-container
2015-08-18 20:52:27 -07:00