812 Commits

Author SHA1 Message Date
Sam Yaple
c97ccd6a5f Ansible Rabbitmq support
Adds initial support for Rabbitmq in Ansible using the CONFIG_EXTERNAL methods.

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

Partially Implements: blueprint ansible-service

Change-Id: I1765548f7e4f1258eb8a49e2a23242955f52655d
2015-07-03 14:16:47 +00:00
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
Harm Weites
73a6ba90c4 Properly set MAGNUM_API_SERVICE_PORT
While at it, place this var in the same place as the other MAGNUM scoped vars.

Change-Id: I7f142415d7fb1874d77778d3d1301956f9799a83
Closes-bug: #1469561
2015-06-28 21:27:32 +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
Jenkins
8708de74fb Merge "Add missing Magnum vars" 2015-06-26 21:03:55 +00: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
inc0
552effa0d1 Add missing Magnum vars
Add missing vars to genenv and integration guide Magnum requires.

Co-Authored-By: Jeff Peeler <jpeeler@redhat.com>

Change-Id: I615098cffc081a53127275a07e95fecc924a862c
Closes-Bug: #1468997
2015-06-26 16:21:23 -04: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
Jenkins
90bf4c5645 Merge "Add oslo_service package to heat" 2015-06-26 16:35:15 +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
71b3fde275 Pin docker-compose version in requirements
docker-compose should be pinned for safety.

Change-Id: I26c19f4a8fe446f77074d8bf49795808f48531cc
Partial-Bug: #1468999
2015-06-26 11:05:35 +02: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
Jenkins
19420456e9 Merge "Add warnings about running on F22 and later" 2015-06-25 20:03:40 +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
Jenkins
3239e5278e Merge "Glance missing oslo.i18n" 2015-06-25 18:38:30 +00: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
Steven Dake
d0403fcd67 Add warnings about running on F22 and later
The supermin tool in the centos container needs to be updated
to supoprt reading kernel modules with the .xz compressed format
that Fedora 22 introduces as a new feature.

Change-Id: I85c9a4698edbb350d5950bbe452cbf745f5e2b33
Closes-Bug: #1468056
2015-06-25 09:41:09 -07:00
Jenkins
75b8cdd393 Merge "Have test retry building failed images" 2015-06-25 14:59:42 +00:00
Jenkins
aa0c8b5fe9 Merge "Add retry parameter to build-docker-image" 2015-06-25 14:45:12 +00:00
Martin André
091ef5a5cb Have test retry building failed images
The image build test now retries 3 times before declaring an image as
failing. This should help the gate in case of unreliable network
connectivity to the mirrors.

We expect the penalty of retrying to build failed images to be low
thanks to docker cache. Only the failing layer should be retried.

Change-Id: I15fd4926019590a150eb22dc885d0ef8cd31e7cc
Closes-Bug: #1466677
2015-06-25 22:29:22 +09: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
Jenkins
061084f71f Merge "Fix build link for ovs container" 2015-06-25 04:16:25 +00:00
Jenkins
93f398ff56 Merge "Correct dev-quickstart installation directions kUse was using yum to install docker 1.7.0. This wanted to install all of the fedora 23 dependencies. Instead, simply use RPM to install via http with the --nodeps option. This works because we don't really need selinux since we don't support an selinux operational model." 2015-06-25 04:13:45 +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