1449 Commits

Author SHA1 Message Date
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
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
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
Jenkins
ac61653343 Merge "Cinder bootstrap container is not initializing the DB" 2015-08-19 03:22:51 +00:00
Sam Yaple
faff29d66d Move lots of global.yml options
This moves the remaining global.yml options into the all.yml file

Change-Id: I9795b924e3e1882d20ba8f16ef3c5fe5c0193ef3
Partially-Implements: blueprint update-configs
2015-08-19 03:18:16 +00:00
Sam Yaple
8d65921bc3 Move defaults.yml to group_vars/all.yml
The purpose for having defaults.yml on the command line was originally
for variable inheritance. Over the past month we have slowly changed
how things are inherited (like ports) allowing us to place these
'defaults' into the group_vars/all.yml location as they should be
values that go unchanged (but can be overridden).

Change-Id: I2becec66bf431bfc9d88fc825b5380c1e173ca70
Partially-Implements: blueprint update-configs
2015-08-19 03:18:16 +00:00
Sam Yaple
d75d479263 Remove start.yml abstraction for kolla-ansible
Change-Id: If2e6d5cd5530c1e17f34415e169f82465f8362a1
Partially-Implements: blueprint remove-abstraction-ansible
2015-08-19 02:52:43 +00:00
Steven Dake
22655a19c9 Add oslo_versionedobjects dependency for neutron
RDO doesn't keep their RPM dependencies up to date with latest
neutron changes to requirements.txt, so we have to pip install
the package.

Change-Id: Ic49a4dd3b85e9daf60c87b245b9784818fcb3bb2
Closes-Bug: #1486241
2015-08-18 14:35:33 -07:00
Jenkins
718db54fa8 Merge "Remove Ansible abstraction for Nova" 2015-08-18 20:25:32 +00:00