430 Commits

Author SHA1 Message Date
Sam Yaple
efbfd7912b Ansible Mariadb w/ Galera support
Adds initial support for Mariadb with Galera replication in Ansible
using the CONFIG_EXTERNAL methods.

Additionally, this refactors some of the Galera config script to allow
for reuse by CONFIG_EXTERNAL.

Partially Implements: blueprint ansible-service

Change-Id: I566fea0376ecca39fc8a5167f9ff9ff434ea7b7e
2015-07-03 13:56:06 +00:00
Jenkins
90d92347e8 Merge "Add initial config function and keystone support" 2015-06-30 21:34:49 +00:00
Sam Yaple
3ac7da64d1 Add initial config function and keystone support
Add set_configs function that implements the flow from the proposed
ansible-multi spec. Move start.sh to config-internal.sh to preserve existing
behaviour.

config-externall.sh copies the appropriate configs in from the bind'd
location and sets permissions and ownership appropriately.

Partially Implements: blueprint ansible-multi

Change-Id: I53fca0660451087f273fefc3c63e0d8cf1a2c096
2015-06-30 17:26:23 +00:00
Jenkins
cc9432a574 Merge "Add source base container link for centos" 2015-06-30 14:40:30 +00:00
Jenkins
6e81e4829e Merge "Add base image for Ubuntu" 2015-06-30 14:39:50 +00:00
Paul Bourke
5d3ec4a25d Add source base container link for centos
This is needed to start adding source containers such as the upcoming
keystone patch.

Change-Id: I82add1c16094b331afa5b0c2a58f21ea29cd647d
Partially-Implements: blueprint install-from-source
2015-06-30 12:22:45 +00:00
Steven Dake
6370bf25cb Convert keystone from eventlet to httpd
eventlet in master (Delorean) has had a regression making Keystone
not work well with it.  Instead, we have decided to switch to the
recommended deployment model using httpd.

Change-Id: Ie5407ae4fab9882b301925ddfa1b065923bbd52f
Closes-Bug: #1469851
2015-06-29 14:39:40 -07:00
Jenkins
0618051a79 Merge "Correct FROM line in openvswitch-agent" 2015-06-29 19:34:41 +00:00
Jeff Peeler
4756797c0f Correct FROM line in openvswitch-agent
Missing KOLLA_TAG variable

Change-Id: Ic97841cb9d27a9fc5cb7967f3da1b2f016988d20
Closes-bug: #1469332
2015-06-29 14:52:24 -04:00
Steven Dake
eff7deb94d Install oslo.service via pip
python-oslo-service is not yet packaged for Delorean, causing
multiple services that have switched to this library to break.
To resolve that problem, we have a short term fix of installing
the oslo.service via pip in the base image.

Change-Id: Iff3410ec90b25b239ee49cc725ef224fa80e7aee
Closes-Bug: #1469821
2015-06-29 11:21:42 -07:00
Michal Rostecki
70de542165 Add base image for Ubuntu
Minimal base image with Ubuntu Cloud Archive repository.
More dependencies may be added during implementing the
other images.

NOTE: To build this image with proper name:

./build --prefix ubuntu-binary-

You can also configure the prefix globally:

cat >> .buildconf << EOF
PREFIX=ubuntu-binary-
EOF

Partially implements: blueprint install-from-ubuntu

Change-Id: I66bf97b508b740f8db49ed6217c6fefe5de1637e
2015-06-28 21:38:15 +02:00
Sam Yaple
62e02fdbf4 Partially revert thin neutron containers
Due to a revert in the Docker code, thin neutron containers do not work
at this time. The neutron plugin agents do not need to exist in the same
container as the other agents however. This allows for using either
linuxbridge or openvswitch

The docker commit that did the revert:
ff770d33cd

Closes-Bug: 1469307
Change-Id: Idf79c31c74c34b93f5a9bac49730aca49bbdb861
2015-06-27 16:39:34 +00:00
Jenkins
a48900bc1c Merge "Liberty requires Cinder to use the v2 API" 2015-06-26 22:13:55 +00:00
Jenkins
529e5785ca Merge "Document installation of docker-compose 1.3.0" 2015-06-26 21:43:52 +00:00
Ryan Hallisey
3935cbafa3 Liberty requires Cinder to use the v2 API
The Liberty release of Cinder will remove the v1 api so we
need to disable it in the cinder_api container and use v2.

Change-Id: I5dab7214d4d39afdf92555e3ffbd7f4a6194cd45
Closes-bug: #1469177
2015-06-26 17:17:34 -04:00
Jeff Peeler
65f89001d0 Document installation of docker-compose 1.3.0
Also, change all references from fig to docker-compose.

Change-Id: I6bff2ab57cd6a06293d0a6d130d1cf9bc885b712
Closes-bug: #1468999
2015-06-26 16:52:45 -04:00
Jenkins
163b829d2b Merge "The CINDER_LVM_LO_VOLUME_SIZE var had a typo" 2015-06-26 20:25:40 +00:00
Jenkins
344495d292 Merge "Add missing openstack.env vars and export to heat" 2015-06-26 20:24:58 +00:00
Jenkins
b2aeebd62e Merge "The Cinder API container requires python-keystone package" 2015-06-26 19:41:09 +00:00
Michal Stachowski
1d9c5f914c Add missing openstack.env vars and export to heat
Heat failed on heat-keystone-setup-domain because it requires openrc
style of env vars. Also, genenv missed Keystone port env vars.

There are several openrc instances that are using the keystone public
port, bug filed: https://bugs.launchpad.net/kolla/+bug/1469209

Change-Id: I03b57c43c38fb3ebded4d6f206161cf02fb4883d
Closes-Bug: #1469003
Co-Authored-by: Jeff Peeler <jpeeler@redhat.com>
2015-06-26 15:34:23 -04:00
Ryan Hallisey
ae043642f9 The CINDER_LVM_LO_VOLUME_SIZE var had a typo
The truncate command is failing because the CINDER_LVM_LO_VOLUME_SIZE
has a typo.

Change-Id: If5f965fab2edbb8794cf6280e350c12a863b6464
Closes-bug: #1469229
2015-06-26 14:48:12 -04:00
Jenkins
370343e329 Merge "Remove log files from required vars in Cinder" 2015-06-26 17:41:50 +00:00
Ryan Hallisey
d4d7e9fda1 The Cinder API container requires python-keystone package
This package was not required until now. The Cinder API may
have gone through some changes recentrly to now require this package.

Change-Id: Id3eac9716d11213fec0af6dff11fbec1e3045550
Closes-bug: #1469182
2015-06-26 09:56:16 -04:00
Ryan Hallisey
d3e91294a3 Remove log files from required vars in Cinder
The log dir and files are being set to nothing and they
were being required by Cinder causing the check to fail.
The log dir and files are not required to run Cinder so
they need to be removed.

Change-Id: I523481f5e3c51a05294fc5e13caaff0a95626f13
Closes-bug: #1468996
2015-06-26 09:32:46 -04:00
inc0
436749b660 Add oslo_service package to heat
Delorean repo has latests version of heat, which requires oslo_service,
but there is no oslo_service rpm package upstream yet. This has to be
pip installed until packaging problem is solved in repo.

Change-Id: Id147dde9dc7cbe5b734fbf4671d48a0404a1548b
Closes-Bug: #1469001
2015-06-26 10:35:49 +02:00
Ryan Hallisey
258d6ae3f3 Allow /dev/pts proper permissions so cinder and libvirt work
We need to mount /dev both Libvirt and Cinder containers and
/dev/pts is not correctly mounted.  The /dev/pts recieves no
permissions from the host so it becomes inacessable.
We need to change the permissions of /dev/pts in the container
to 666.

Change-Id: Id197a766adc3aecb24e6b10aa84f51c23124b488
Closes-bug: #1468951
2015-06-25 22:02:32 -04:00
Jenkins
92f6f1f344 Merge "Do not run all vars through check_required_vars" 2015-06-25 22:07:59 +00:00
Jenkins
a8977713ee Merge "Add missing dependency oslo policy" 2015-06-25 21:41:48 +00:00
Jenkins
7e2e2a2a61 Merge "Add neutron-openvswitch-agent contianer" 2015-06-25 20:36:54 +00:00
Harm Weites
0e6854d224 Do not run all vars through check_required_vars
Doing this breaks non-clustered setups and LOG_BASE isn't even set.

Change-Id: If4f5deb54c8bb6881af4e532e32d725a05f53f49
Closes-Bug: #1468882
2015-06-25 21:40:30 +02:00
Jeff Peeler
339efaa75c Add missing dependency oslo policy
Affecting one ore more neutron containers

Change-Id: I2788c1921eb82ad0d0524fc99a436c5fe9ff50d8
Closes-bug: #1468863
2015-06-25 14:42:51 -04:00
Fang Fenghua
74010ff986 Add neutron-openvswitch-agent contianer
Implements the neutron-openvswitch-agent plugin container.

Co-Authored-By: Sam Yaple <sam@yaple.net>
Partially Implements blueprint: openvswitch-container

Change-Id: Ie0fa318541e16d730b7007d3620c7873e898ed4a
2015-06-25 17:03:33 +00:00
Michal Jastrzebski (inc0)
89d69ecea1 Glance missing oslo.i18n
Glance required this package but it's not in rpm dependencies

Change-Id: I4a60e317ef1004649d2377f29b7f41b9c42c5212
Closes: bug 1468729
2015-06-25 12:51:39 +02:00
Jenkins
e8535fc361 Merge "Move glance-data container to the correct place" 2015-06-25 04:26:26 +00:00
Martin André
61a0bb6ce4 Move glance-data container to the correct place
It should be in docker/{centos,fedora,...}/binary/glance/glance-data
and not directly at the root of docker directory.

Change-Id: I9c4c260ef14f9b367dc86ccfb1a66d764d58ae01
Closes-Bug: #1468596
2015-06-25 12:43:06 +09:00
Martin André
69e79b56d8 Fix build link for ovs container
Change-Id: Ia296239bbf2d242403885d3ad5005479159c8aff
Closes-Bug: #1468591
2015-06-25 12:29:49 +09:00
Jenkins
5d1f194113 Merge "Add more checks to the glance containers" 2015-06-25 03:26:42 +00:00
Jenkins
999a51b6f3 Merge "Set up glance to use a data container." 2015-06-25 02:18:06 +00:00
Ryan Hallisey
29a9515365 Add more checks to the glance containers
The glance containers need to check for more required variables
than they were originally.

Closes-bug: #1432336
Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>

Change-Id: I8fc730580f09ed3d4c54b8e94d011f0f924cae3e
2015-06-24 19:14:57 -07:00
Steven Dake
92e2f85552 centos-rdo-neutron-base fails to build
An ordering problem with the Dockerfile resultled in this
container and all thin containers failing to build.  This patch
Fixes that problem.

Change-Id: I4a7ba1554bdcba3f2147eb4eaa628d1cc19f84fd
Co-Authored-By: Jeff Peeler <jpeeler@redhat.com>
Closes-Bug: #1468486
2015-06-24 15:04:14 -07:00
Jenkins
0525afce5c Merge "Fixes MariaDB to support Heat" 2015-06-24 21:49:34 +00:00
Jenkins
893ddcc73d Merge "Add openvswitch container" 2015-06-24 21:16:50 +00:00
Daneyon Hansen
4a4cf92eb9 Fixes MariaDB to support Heat
When spawning Heat stacks, the DB reaches the max_connections
limit. This causes MariaDB to block all traffic by source IP,
essentially blocking all services. This patch introduces the
MARIADB_MAX_CONNECTIONS parameter to make the max_connections
configurable. The default of 151 max_connections is maintained.

Closes-Bug: #1465422

Change-Id: I869aa9f117c6fa959b1c6948dfc379f30a6bc1d7
2015-06-24 19:57:31 +00:00
Harm Weites
f23a35651e Configure Heat service domain
Change-Id: Iefc2dfea4bf4ce2fa9a5d1f013594929d218b9fc
Closes-Bug: #1463970
2015-06-24 20:38:37 +02:00
Jenkins
6766632b9c Merge "Change fat neutron container into thin containers" 2015-06-24 15:28:59 +00:00
Sam Yaple
98460af04d Change fat neutron container into thin containers
Key difference here is the ip_wrapper.py file. This file and docker 1.7
allow for the network namespaces to be created in the host mount
namespace and propogated into the containers.

Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
Change-Id: I73bcd1c97bbaf742af883dbf281a8d76aff8aebf
2015-06-24 14:41:23 +00:00
Michal Stachowski
214ac7e608 RabbitMQ container with HA support
This is new RabbitMQ container with support for HA. It's next step for
provide HA support in Kolla project. RabbitMQ is supporting now
active/active model and It's ready for active/passive model.

Change-Id: I2eb6c65f6268ee96d377e72cf880a01c8042559e
Implements: blueprint rabbitmq-ha
2015-06-24 14:10:10 +02:00
Jenkins
54aa5d2fd1 Merge "Keepalived container" 2015-06-24 06:01:40 +00:00
Jenkins
2336ba39d4 Merge "Fix Heat container env vars and dependencies" 2015-06-24 05:58:50 +00:00
Jenkins
cfcbb2f4fa Merge "Add base image for oraclelinux" 2015-06-23 21:58:15 +00:00