799 Commits

Author SHA1 Message Date
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
Jenkins
5d1f194113 Merge "Add more checks to the glance containers" 2015-06-25 03:26:42 +00:00
Steven Dake
4dac672cc8 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.

Change-Id: I7e7fbe9cab9f38d51807442d0f6a41a344779ba2
Closes-Bug: #1468464
2015-06-24 20:10:20 -07:00
Martin André
f370edfb70 Add retry parameter to build-docker-image
Partial-Bug: #1466677
Change-Id: I2fc2ded47bb2ed34fb1e272d35b0758f098ce0ac
2015-06-25 11:59:02 +09:00
Harm Weites
24577bdeac Check if tools/genenv binary dependencies are met.
The check is using the bash-native 'type' instead of which, because which
is not always available on all environments.

Current implementation only checks for the availability of openssl but
this can be easily expanded.

Change-Id: I97e8f52ea664ef80901deae9dea8acc93b6e1ca4
Closes-Bug: #1463101
2015-06-25 11:21:09 +09: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
Jenkins
f945d648bd Merge "Minor doc fixups in dev-quickstart.md" 2015-06-25 01:39:10 +00:00
Jenkins
8f4c78653e Merge "centos-rdo-neutron-base fails to build" 2015-06-24 23:18:55 +00:00
Jenkins
61900a3eba Merge "Fix docker-1.7.0 binary download link" 2015-06-24 23:13:17 +00: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