805 Commits

Author SHA1 Message Date
rthallisey
63a7d01639 Ceph container
Running ceph in a container requires 2 pieces:
 - ceph-mon
 - objectstorage-daemon (osd)

Co-Authored-By: Sam Yaple <sam@yaple.net>
Change-Id: I33e5baf72e4bc493889da0d796041acfd1a2cad3
Partially-Implements: blueprint ceph-container
2015-08-30 07:54:01 +00:00
Sam Yaple
2d4a261f22 Remove pam+noaudit
This version of pam conflicts with ceph-common and needs to be removed
which is fine since we now have true Ubuntu images.

Change-Id: I1e85352a869d814bc2e26b9568ac1ccc93ca899f
Partially-Implements: blueprint ceph-container
2015-08-30 07:53:57 +00:00
Steven Dake
3046d4e94f Keystone container listens on port 80 by default
A default configuration file is present in RPM distros which
listen to http on port 80 by default.

With this patch the keystone container works on centos+binary
where it did not previously.

Closes-Bug: 1490025

Change-Id: I4b5260200521e79d76eec324eb0ef026aa61b23d
2015-08-28 13:47:14 -07:00
Sam Yaple
cbd42ca6e9 Move docker_templates to docker dir
Updated build.py to reflect this change.
Deprecate --template option and make it a noop.

Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2
Partially-Implements: blueprint remove-docker-dir
2015-08-28 13:33:50 +00:00
Steven Dake
f895ee07cc Remove docker directory
Remove the docker directory (yay) and old build tools.

This will result in an f21 failing gate - however, I have a patch
submission to remove that gate from our project configuration.

Change-Id: I3c461cedb6906422c8076f60c470e773d6cdcf33
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
5c82e0c90c Move scripts for zaqar to docker_templates
Change-Id: I558b4f1d8eceb420a3bf77297bd699f277f840b1
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
26d0d8d2fb Move scripts for swift to docker_templates
Change-Id: Ia1bcc94fd58bbfec980bfacbd7acb885a17f9056
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
eef32f0353 Move scripts for rabbitmq to docker_templates
Change-Id: I6f06c067c18e4a3eafbed2b2796aa1cfe6c9b28c
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
c685119fec Move scripts for openvswitch to docker_templates
Change-Id: I04e804bb36daf53ce2eb0db804008deb7ebc6b11
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:30 -07:00
Steven Dake
9fe28bd220 Move scripts for nova to docker_templates
Change-Id: If00f0f2e3258b7b2876b42b4fbda3681c49c8127
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
ce86de9915 Move scripts for neutron to docker_templates
Change-Id: Ife6623aab20c4259af28d2b1374fc838b934d053
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
6434f19ef2 Move scripts for murano to docker_templates
Change-Id: I1f7090d22c33891717002297c898cf1b5ddb210c
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
eb9d7da1a0 Move scripts for memcached to docker_templates
Change-Id: I3632f7d60e5830a394cd8ac1c17941745f6f2813
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
4438d45a12 Move scripts for magnum to docker_templates
Change-Id: Ia601291c5a618315e0494ab7d0673a5062ae6b99
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
1dbb831103 Move scripts for kolla-ansible to docker_templates
Change-Id: Icde18219b7d70bde8c5ebc0a3160e2f2b61d3c56
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
a7109a1f8b Move scripts for keystone to docker_templates
Change-Id: I71ba1998215913fdffaa335c270a622af113e1da
2015-08-28 00:50:29 -07:00
Steven Dake
2cbccd7dc1 Move scripts for keepalive to docker_templates
Change-Id: I67ebbfa5a89b5d5c6ab2db78ded10151b95f7337
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
bd32c7a2dc Move scripts for horizon to docker_templates
Change-Id: If260f47ea3e4f9917cf20a6e2013cc81bfa5fc83
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
43327444ca Move scripts for heat to docker_templates
Change-Id: I22ff477865382d2612eee97390a9580d2d03f40c
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
739c2c6e3a Move scripts for haproxy to docker_templates
Change-Id: I942ba0e0ced0532fb0b575843fa170a031a8eb59
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
59138665ac Move scripts for gnocchi to docker_templates
Change-Id: Iabff693470d5b522cd82915ba3b7298d286c5fa4
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
19318667ba Move scripts for glance to docker_templates
Change-Id: I6272caf3939a2e13a4599239d85020205ff7d9e3
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
dc2869684a Move scripts for galera to docker_templates
Change-Id: I16639642d4e8bc5074d72d2f4b7fa1ec3a8f31de
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
155f5a5817 Move scripts for designate to docker_templates
Change-Id: Ic1b00c8e1b459dd3ac7a6678c58ab53171dfaf00
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
ccdc01fb49 Move scripts for cinder to docker_templates
Change-Id: Id19cedf33e2acbbeebbde1c8d36e092225a25fe2
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
8930c12922 Move scripts for ceilometer to docker_templates
Change-Id: I4b4707b2d30175fcb93836edbe02c154a211c116
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Steven Dake
3ca9ae380e Move kolla-common to bsae directory
Change-Id: Ie48e1d25f06a2b91d608edda7fae54ec1ad80f2a
Partially-Implements: blueprint remove-docker-dir
2015-08-28 00:50:29 -07:00
Sam Yaple
399117b27a Fix neutron-agents regression
Change-Id: I01220077d8d25db5f69802ad27e745d90826d69b
Closes-Bug: #1489664
2015-08-28 04:29:22 +00:00
Sam Yaple
9f5edb4afc Remove CONFIG_STRATEGY prefix
We no longer have CONFIG_INTERNAL and moving forward CONFIG_STRATEGY
infront of COPY_ALWAYS or COPY_ONCE will just lead to confusion.

Change-Id: Ie0d71637e25cbd79d46e1cdca62df714c10b85d2
Implements: blueprint update-configs
2015-08-27 13:26:02 +00:00
Jenkins
f2e09fd807 Merge "Implement Ansible role for Swift" 2015-08-26 10:53:37 +00:00
Paul Bourke
515cf2af68 Implement Ansible role for Swift
This currently deploys the core services for a working Swift which are
account/container/object/proxy.

I've included some basic docs in docs/swift-related.rst, which gives
usage instructions and more context on this patch. These are really to
give an overview of the state of Swift in Kolla as of now, so unless
there's some major inaccuracy there please don't nitpick it.

Change-Id: Id0c54be3e24c46459c40b16b7020f05bddbe1b19
Implements: blueprint ansible-swift
2015-08-26 10:30:29 +00:00
Steven Dake
323523b95a Install lvm in Cinder from-source containers
lvm is required to integrate with Cinder with local storage.
Since local storage is an operation we support, we need this
package whether or not we keep udev sync disabled.

Tested all variants of centos+ubuntu+binary+source in
template and dockerfile format.

Change-Id: Icaeb2eeb588816d2f8a4b57f35fd43ddc56ff269
Partially-Implements: blueprint gate-source-builds
2015-08-26 01:45:16 -07:00
Zhou Zheng Sheng
32d48e6fb7 Speedup Git Cloning Ansible Repository
When building kolla-ansible image, it clones ansible source code from
github. Since we just need the source code but not the commit history,
there is no need to download all the commit log objects. This patch adds
"--depth 1" option to git clone command. This will speedup kolla-ansible
image building a lot, especially in countries with slow Internet access.

Change-Id: I834f83a127350415a5861a2f5b2982df3d3e3f5a
Closes-Bug: #1488744
2015-08-25 22:55:40 -05:00
Jenkins
eb05118a3f Merge "WIP: Remove data containers and adjust compose files" 2015-08-25 08:46:27 +00:00
Jenkins
f07f438723 Merge "Ubuntu - Horizon" 2015-08-25 06:18:55 +00:00
Sam Yaple
6a297265c5 Ubuntu - Horizon
Updates support for Ubuntu to install Horizon.

Update the Horizon install block to follow the same structure as all
of the other source install blocks.

Removed local_settings copy since that will be copied in from outside
with the config-external.sh script

Change-Id: Iab386386286d66e6f74407a043e78cb5cb1b032b
Partially-Implements: blueprint install-from-ubuntu
2015-08-24 18:19:34 +00:00
Steven Dake
cd77ce38ac Make cinder work by removing udev+lvm integration
Turn off udev integration in the lvm.conf file in the Cinder
container so logical volumes can be created.

Change-Id: Ida01e9b9c4d530dad1a9d84724623461eda3f84c
Closes-Bug: #1487807
2015-08-24 16:00:25 +00:00
Steven Dake
f1dbf25797 WIP: Remove data containers and adjust compose files
Remove all data containers from the repository except the one image
we intend to reuse for each data container.  Adjust compose files to
remove all references to the unique data containers which serve no
purpose other then to take up extra resources.

Needs VOLUME in data containers exported in the compose files.

Change-Id: Id7746110946ef9836180cf57302aaf827e7e5405
Partially-Implements: blueprint one-data-container
2015-08-24 05:46:10 -07:00
Jenkins
b8da1faf4f Merge "Cinder reads non-Kolla generated config files" 2015-08-24 12:32:33 +00:00
Jenkins
d3d7777ebb Merge "automaton renamed to python-automaton" 2015-08-24 12:31:49 +00:00
Jenkins
11ad3b9917 Merge "Ubuntu - Neutron" 2015-08-24 08:32:58 +00: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
Sam Yaple
7ca1e19e06 Ubuntu - Neutron
Make the changes needed to support Ubuntu

Additionally, adjust the way supervisor is installed. Rather than
installing via pip, install via a package.

Change-Id: I1e7f538a180e4e35166d5afa8ba3f165b7e9f6d5
Partially-Implements: blueprint install-from-ubuntu
Closes-Bug: #1487715
2015-08-22 15:15:35 +00:00
Jenkins
f70e8d4598 Merge "Add Ansible role for memcached" 2015-08-22 01:42:47 +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
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
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
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