767 Commits

Author SHA1 Message Date
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
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
Harm Weites
f23a35651e Configure Heat service domain
Change-Id: Iefc2dfea4bf4ce2fa9a5d1f013594929d218b9fc
Closes-Bug: #1463970
2015-06-24 20:38:37 +02:00
Jenkins
b9d8dc63fd Merge "Auto generate minimal environment variables doc" 2015-06-24 15:35:02 +00:00
Jenkins
6766632b9c Merge "Change fat neutron container into thin containers" 2015-06-24 15:28:59 +00:00
Ryan Hallisey
01e90ec2e5 Auto generate minimal environment variables doc
This script will generate the minimal-environment-variables doc
based on the what each services has in the check_required_var field.
Anytime that field is changed run this script and commit the changes.
Since Neutron is a thick container, the script will get a few duplicates
in the neutron-agents field.  When Neutron is thinned out, this script
will function normally.

Closes-bug: #1459347

Co-Authored-By: Lon Hohberger <lhh@redhat.com>
Change-Id: I1ba6bd5148af12cacfd872591b3c7b84a8dccba2
2015-06-24 10:47:21 -04: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
0f843e2154 Merge "Minor doc fixups in ansible-deployment.md" 2015-06-24 06:04:49 +00:00
Jenkins
37f9fcdb63 Merge "Move ansible/README.md under docs/" 2015-06-24 06:04:43 +00: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
Jenkins
93d124693b Merge "Add --prefix to override .buildconf" 2015-06-23 12:12:00 +00:00
hayderimran7
4f6a49769e Fix docker-1.7.0 binary download link
The download link is fixed and updated to use docker-1.7.0
from https://get.docker.com instead of https://master.dockerproject.com
because later one only holds latest docker bin which is 1.8.0,
and get.docker.io is also the official way of getting docker binary
as mentioned in docker install docs.Also fixed the docs to point
that 1.7.0 is minimum version required for docker.
Closes-bug: 1467767

Change-Id: I7770295271499275f937be3c2feab7216a30a388
2015-06-23 00:02:03 -07:00
Ryan Hallisey
2dbde4ad8e Add option to not run db sync
Database syncs should not be required every time a container starts.
We can default database startup to true, but give the option
to set it to false.

Change-Id: Ib76876b2671f6c31f4511412efd3a438ec78f01f
Closes-bug: #1467576
2015-06-22 16:37:14 -04:00
Michal Rostecki
64f23c1d13 Move Designate-Sink start.sh to docker/common
All start.sh scripts should be in docker/common directory
instead of docker/centos.

Change-Id: Ifc1d07246e3b56156a1dc861e2b262f75c1cd918
Closes-Bug: #1467528
2015-06-22 17:56:04 +02:00
Michal Jastrzebski (inc0)
52f4909435 Keepalived container
This patch contains keepalived container for yum-based distros.

Change-Id: I8e3ea7a61ad6c27b25b635e7aeeff5ef04a807b4
Implements: blueprint keepalived-container
2015-06-22 17:18:44 +02:00
Paul Bourke
95e9b4de91 Minor doc fixups in ansible-deployment.md
* Capitalise all usages of "Ansible", "Kolla", and "OpenStack"

* Add note to let users know ssh key setup is not necessary for the aio
  demo.

* Add note to remind users to update the koalla_directory variable.

Change-Id: Icb5c1237aa5de049445cb417e565da550dc87daf
2015-06-22 14:06:16 +00:00
Paul Bourke
6d3be05e5b Move ansible/README.md under docs/
Move the Ansible README under the docs/ dir to make it more visible
to people browsing the docs.

Change-Id: Ibe38ac24ad5c328486f7a9dd13fbe825d77d26e0
2015-06-22 14:06:16 +00:00
Paul Bourke
72335cae6d Add base image for oraclelinux
This patch provides the basis for an alternate set of images to be
available in Kolla, based on oraclelinux.

It is difficult ahead of time to know all base dependencies and exactly
which repos they'll come from, so at this time I have just added the bare
minimum.

In the next commit keystone will require some essentials that will
likely make sense to add here.

NOTE: To build this image you must set the following .buildconf in the
root of the kolla repo:

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

Partially implements: blueprint add-optional-oraclelinux-images

Change-Id: I1ccce8eebe8fa0d4342af2aa482c083d074bda66
2015-06-22 13:05:39 +00:00
Jenkins
cee4555eb8 Merge "Unbreak the gate" 2015-06-22 11:43:12 +00:00
Paul Bourke
549208a7ab Fix broken cinder symlinks for fedora
It looks like we forgot to update these as part of 793d68a29

Partial-Bug: #1466913
Change-Id: I3a879d33ef6d8200be923a63e2ae31409d247455
2015-06-22 09:00:29 +00:00
Paul Bourke
247095a0d3 Minor doc fixups in dev-quickstart.md
* Capitalise all usages of "Ansible", "Kolla", and "OpenStack"
* Fix some typos

Change-Id: I26acd90ca9f4a48673a95b0ab8e331f620058f6e
2015-06-22 08:57:33 +00:00
Jenkins
4fdaf6a1ce Merge "Fix 'unsupported locale setting' errors in init-runonce" 2015-06-21 12:18:33 +00:00
Jenkins
be1cdd153b Merge "Fix broken cinder symlinks for rhel" 2015-06-21 12:10:02 +00:00
Sam Yaple
a91432463f Unbreak the gate
A missing symlink causes the mariadb-app container to fail to build.
This was introduced when we refactored all of the base images.

Partially Implements: blueprint refactor-base-image-layout

Change-Id: I265b0efb4718c0c08c654f5992235ca34bf364c2
2015-06-21 12:10:01 +00:00
Sam Yaple
4a899d754f Add --prefix to override .buildconf
Add in the ability to override the prefix in .buildconf files removing
the requirement to set the prefix in a .buildconf to limit the number
of images built.

Partially Implements: blueprint refactor-base-image-layout

Change-Id: I1da1559e660adc2fe9eaf5e17ce427c89645a8b7
2015-06-20 09:09:58 +00:00
Fang Fenghua
0971e7eed6 Add openvswitch container
Add openvswitch containers. Openvswitch is seperated into two running
containers:
  ovs-db-server
  ovs-vswitchd

The db container is what everything interacts with. Neutron tells the db
its information, the vswitchd container reads this db and talks to the
kernel module.

The db does not need to be persistent since the plugin agent will
repopulate all the information each time it is restarted and the plugin
agent is required to be restarted when the ovs-vswitchd container is
stopped/started to ensure the ports are setup properly.

This container requires /run for the socket and /lib/modules:ro to load
the appropriate host kernel module.

This userspace tools and the kernel module do _not_ have to match
versions. Additionally, even though it is recommended that the userspace
tool be newer than the kernel version to take advantage of all the
features, it is not required.

Partially Implements blueprint: openvswitch-container

Co-Authored-By: Sam Yaple <sam@yaple.net>

Change-Id: I70e3807be32c9a07346d316e7856421ecf468b9a
2015-06-20 08:23:12 +00:00
Jeff Peeler
1962bfb16e Fix Heat container env vars and dependencies
This commit adds a few dependencies (that are actually packaging errors)
present in all of the containers, as well as specifically in
heat-engine. Some of the environment variables were not set correctly in
the heat-api-cfn container. The environment variables have also been
correctly added to the genenv script.

Also removed duplicated compose file data already present in
heat-api-engine.

Closes-Bug: #1461872
Change-Id: I9631d1bc6ea42425272570a9dda8cbf5edcef4f3
2015-06-19 17:33:32 -04:00
Jenkins
b87f16fac5 Merge "Fixed non-bashate compliant method signature" 2015-06-19 18:59:59 +00:00
Jenkins
5e610ff5c5 Merge "Fixed non-bashate compliance indentation in mariadb script" 2015-06-19 18:59:37 +00:00
Jenkins
9dc905b80e Merge "Add cinder into the docker compose setup" 2015-06-19 17:55:01 +00:00
Borne Mace
a081aee8ae Fixed non-bashate compliance indentation in mariadb script
Change-Id: I4c25238b57ae718205d2e31994a9be74fae3dda0
Partially-implements: blueprint bashate-gate
2015-06-19 10:52:59 -07:00