2080 Commits

Author SHA1 Message Date
Sam Yaple
268aaa60fd Fix broken galera
A previous commit [1] broke Galera on Ubuntu while trying to fix
Centos. This fixes the underlying different between the two distros
and should help prevent that kind of mistake in the future.

[1] I523d1989575dbe24a891fcae3b6bf56d83e69615

Change-Id: Ie3e47f10cb669f36f8d2f166c88555931a54e3ec
Backport: Liberty
Closes-Bug: #1509281
2015-10-23 20:15:37 +00:00
Steven Dake
3842391b78 Encode datadir for xtrabackup
Xtrabackup previously used a hardcoded datadir.  In the latest
update to xtrabackup, the my.cnf config option datadir is now
parsed.  This variable was unset, causing galera to implode.

backport: liberty

Change-Id: I523d1989575dbe24a891fcae3b6bf56d83e69615
Closes-Bug: #1509281
2015-10-23 03:19:31 -07:00
Steven Dake
a40989c002 Use EL7 repostitory instead of EL6 for percona
This patch uses the EL7 binary bits for percona's software instead
of EL6.  To match binary ABIs, it is recommended to use the same
major version of EL for CentOS.

backport: liberty

Change-Id: I1d2b146a036806c7fd2baef97a6ed861a570d26e
Partial-Fix: #1509281
2015-10-23 02:55:44 -07:00
Jenkins
2d5293d7c9 Merge "Add documentation around how to build behind a proxy" 2015-10-22 17:52:30 +00:00
Jenkins
d99da3531f Merge "Add missing images to default build profile" 2015-10-22 13:04:00 +00:00
Paul Bourke
b7a498a9f8 Add missing images to default build profile
We were missing keepalived, openvswitch, and rsyslog

TrivialFix

Change-Id: I2ca51b77060a0f9ca0577d0c1fb0b3d5fc703802
2015-10-22 12:51:31 +01:00
Michal Rostecki
9a9c0ce944 Remove memcached container in cleanup-containers tool
Change-Id: Ic56b7b2fd6cd7d191cc364a37f3ebbc44950932e
Closes-Bug: #1508780
2015-10-22 06:47:32 +02:00
Jenkins
331e2f3bef Merge "Ironic binary shouldnt use upper-constraints" 2015-10-21 13:32:39 +00:00
Paul Bourke
61f9f407c4 Add documentation around how to build behind a proxy
Change-Id: Ie0e69f72a9f4c4c1eee897d2b48b4318c3b94638
2015-10-21 12:35:19 +01:00
Sam Yaple
1be8b67f56 Ironic binary shouldnt use upper-constraints
TrivialFix
Related-Id: I9fbfa7ca442063db52c8b14586176ab994d2cf46
Change-Id: Ic1a7f311a323a3fed296ef2b76cd2dbde96053e2
2015-10-21 10:54:58 +00:00
Jenkins
ef862427fa Merge "Add nova-spicehtml5proxy console" 2015-10-21 10:01:15 +00:00
Jenkins
7e4f78130b Merge "Improve dry-ness of base dockerfile.j2" 2015-10-21 09:34:52 +00:00
Steven Dake
c7a9835b68 Improve dry-ness of base dockerfile.j2
The delorean repositories no longer have a separate location for
openvswitch.  Now openvswitch is located in delorean-deps.repo
and the rest of delorean master is located in the delorean.repo
file.  These files can be installed for both RDO and SOURCE, but
not for RHOS.  This patch uses the install_metatype to make a
determination as to when to install these two repos.  In the
process, we can remove the source RPM installation.

Change-Id: Ieedddd9d7ee234b6acdb03f7043d57c18e024951
Closes-Bug: #1508326
2015-10-21 04:56:52 -04:00
Jenkins
a466bcb939 Merge "In gate functional testing" 2015-10-21 08:56:30 +00:00
Steven Dake
194bb93ff2 Make Ceph install from Source on RPM
Ceph doesnt install from source on RPM because Ceph pulls in
python-requests.  This causes a cpio error during unpacking
because requests is installed in the base image.  A simple
workaround is to remove in the nova-compute container which
is the only container this conflict occurs within.

backport: liberty

Change-Id: I493900854a53c98f1a5cb6478675a18feceefea5
Closes-Bug: #1508236
2015-10-20 19:55:22 -04:00
Steven Dake
a026ec253a Increase Ceph RPM gpg key timeout to 90 seconds
The default timeout for Ceph GPG rpm key retrieval is 30 seconds.
In my testing, the GPG key takes approximately 50 seconds to download
often resulting in a failure to build containers that need to retrieve
the Ceph GPG sign key.  Crank up the timer to 90 seconds so the key
is more likely to be downloaded, allowing images to be built.

backport: liberty

TrivialFix

Change-Id: I7420cdf8d3b61aa9f4f52795fccbe5da3e48d57b
2015-10-20 16:28:19 -04:00
Sam Yaple
f39bb2ee13 In gate functional testing
This runs the ansible playbooks to completion.

It does not validate that OpenStack is working yet, but it will ensure
Ansible did not break.

Additional gates will be needed for this and there is a patch in
project-config to handle that.

Change-Id: I7a24a704023cc8f19d42844636e9cb512060f693
backport: liberty
Partially-Implements: blueprint functional-testing-gate
2015-10-20 19:15:33 +00:00
Jenkins
7b73bc95ac Merge "Update requirements to use tarball by default" 2015-10-19 20:29:04 +00:00
Jenkins
ab3ae911d0 Merge "Use bool filter for ironic" 2015-10-19 20:27:22 +00:00
Paul Bourke
592b3bd066 Add build profiles to build.py
Add ability to define "profiles" in kolla-build.conf, which are
predefined sets of images to build at once.

The supplied profiles match what Steven defined in the
restructure-template bp, though others can easily be added by the user.

Multiple profiles can be supplied at once, as well as supplemented by
the existing regex mechanism, e.g. to build profiles infra, main, and
also ironic, one can use:

tools/build.py --profile infra --profile main ironic

Change-Id: I0c6f450152cb23dcfc58e0969669fcedf03fab01
Implements: bp restructure-template
Doc-Impact
2015-10-19 13:31:30 +01:00
Sam Yaple
a7d4431928 Add nova-spicehtml5proxy console
Change-Id: I0ca15e00ee52373b84f7021d86a29304526b7436
Partially-Implements: blueprint nova-proxies
2015-10-19 12:09:48 +00:00
Sam Yaple
f52b98c199 Update requirements to use tarball by default
This makes all of our defaults tarballs for consistency

TrivialFix

Change-Id: I4cb923a3319aa3dcba10dccf439a0193a42c1d55
2015-10-19 11:27:36 +00:00
Sam Yaple
d6bf048c34 Use bool filter for ironic
TrivialFix

Change-Id: Idaa6376c8585b9bebe1d68a518f965124dfe6b76
2015-10-18 19:19:43 +00:00
Jenkins
42b34bb782 Merge "add "registry" flag to "tools/build.py"" 2015-10-17 10:55:15 +00:00
Kuo-tung Kao
52b7253811 add "registry" flag to "tools/build.py"
With registry flag,
build image using `tools/build.py --registry 172.22.2.81:4000`
the image name looks like `172.22.2.81:4000/kollaglue/data`
When user use kolla-ansible,
user set `docker_registry` to `172.22.2.81:4000` in `/etc/kolla/globals.yml`.

Build image using `tools/build.py -n abcd`
the image name looks like `abcd/data`
When user use kolla-ansible,
user set `docker_namespace:` to `abcd` in `/etc/kolla/globals.yml`.

build image using `tools/build.py -n abcd --registry 172.22.2.81:4000`
the image name looks like `abcd/data`
When user use kolla-ansible,
user set `docker_namespace:` to `abcd` in `/etc/kolla/globals.yml`.
user set `docker_registry` to `172.22.2.81:4000` in `/etc/kolla/globals.yml`.

With the feature, it will reduce user confusing and mistaking.

Change-Id: I18ac7a3ccec032888e35f5e9a79fc190760cc8a0
Closes-Bug: #1505056
2015-10-17 10:08:03 +08:00
Jenkins
968a42b826 Merge "Enable COMPRESS_OFFLINE for Horizon" 2015-10-15 15:01:15 +00:00
Jenkins
7ee4bb01c2 Merge "Fix syntax in kolla-build.conf example" 2015-10-15 15:01:09 +00:00
Jenkins
12ddac000c Merge "Use memcache for consoleauth and horizon" 2015-10-15 15:01:02 +00:00
Jenkins
f218233290 Merge "Use openstack/requirements for ironic" 2015-10-15 15:01:00 +00:00
Jenkins
dace19bef3 Merge "Use openstack/requirements for horizon" 2015-10-15 15:00:54 +00:00
Jenkins
8a4132b303 Merge "Use openstack/requirements for heat" 2015-10-15 15:00:47 +00:00
Jenkins
1e1d44667e Merge "Use openstack/requirements for gnocchi" 2015-10-15 15:00:13 +00:00
Jenkins
045ee04a1e Merge "Use openstack/requirements for glance" 2015-10-15 15:00:06 +00:00
Jenkins
57cd336432 Merge "Use openstack/requirements for designate" 2015-10-15 14:59:30 +00:00
Jenkins
180de5f376 Merge "Use openstack/requirements for cinder" 2015-10-15 14:59:22 +00:00
Jenkins
1257e50aac Merge "Use openstack/requirements for ceilometer" 2015-10-15 14:59:00 +00:00
Jenkins
74874de6ec Merge "Use openstack/requirements for keystone" 2015-10-15 14:58:36 +00:00
Jenkins
2f1cc59b56 Merge "Use openstack/requirements for repeatable builds" 2015-10-15 14:58:07 +00:00
Paul Bourke
82684d9ccc Fix syntax in kolla-build.conf example
TrivialFix

Change-Id: I60dacac49d416442e699c790617ac5ad0a8b0a8e
2015-10-15 14:25:58 +01:00
Paul Bourke
3391a32802 Use openstack/requirements for ironic
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I9fbfa7ca442063db52c8b14586176ab994d2cf46
Partial-Bug: #150530
2015-10-15 11:10:01 +00:00
Paul Bourke
ef3c7a5df0 Use openstack/requirements for horizon
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I145908bef5d18fea35f38032725f48c18f8cb831
Partial-Bug: #150530
2015-10-15 11:09:42 +00:00
Paul Bourke
c1b75765f8 Use openstack/requirements for heat
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I36de9a5c52ac265d0fb54ba7d540048aedf33fde
Partial-Bug: #150530
2015-10-15 11:09:33 +00:00
Paul Bourke
59889345c0 Use openstack/requirements for gnocchi
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I70ade4df3297347833b116e73a77a50767d75d15
Partial-Bug: #150530
2015-10-15 11:09:26 +00:00
Paul Bourke
7c582b4bbf Use openstack/requirements for glance
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I46f456ce71f76b0a6a2933220a500c5221769ff9
Partial-Bug: #150530
2015-10-15 11:09:20 +00:00
Paul Bourke
f951e9f9c8 Use openstack/requirements for designate
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I07ed5f20ab4b4bcd0fc6b3c231a54ebe0d51bf67
Partial-Bug: #150530
2015-10-15 11:09:13 +00:00
Paul Bourke
9f39f2725e Use openstack/requirements for cinder
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: Ib6a57da3232fb99e92103e606f81774556f76426
Partial-Bug: #150530
2015-10-15 11:09:05 +00:00
Paul Bourke
c3997b14b7 Use openstack/requirements for ceilometer
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: I3dd452d0cf502c0adf892b67b152de1c8930c77f
Partial-Bug: #150530
2015-10-15 11:08:58 +00:00
Paul Bourke
be8a366184 Use openstack/requirements for keystone
See Iccb4e99f8e4b6659a19c1817d0f4c697824af25c for context.

Change-Id: Ic4f5732e70b0cda3b3755e8fe33ece3116fa8afc
Partial-Bug: #150530
2015-10-15 11:08:49 +00:00
Paul Bourke
72a8f5aabd Use openstack/requirements for repeatable builds
Add this repo to the openstack-base image, and use the upper-constraints
to install the client packages. Will follow up with dependant patches
for the child images to reduce the risk of breaking everything at once.

--

Background:

Many dependencies in the requirements.txt of OpenStack components have
quite loose version requirements, in many cases they will just specify a
minimum version (e.g. WebOb>=1.2.3).

The result of this is that given a Kolla image for Keystone built today,
another build of the exact same ref of Keystone could be broken
tomorrow, due to it picking up a later unsupported dependency.

The https://github.com/openstack/requirements repo exists to bring some
sanity to this situation. (It also outlines other problems it solves in
it's readme).

We also may like to checkout the stable/liberty branch of this project
in our liberty branch, once it appears.

Change-Id: Iccb4e99f8e4b6659a19c1817d0f4c697824af25c
Partial-Bug: #1505306
2015-10-15 12:07:48 +01:00
Sam Yaple
2ea87ebdb7 Use memcache for consoleauth and horizon
Unfortunately there was no was to avoid memcache for consoleauth, so
we might as well take advantage of it for Horizon as well.

Change-Id: Idd338a025b031f6b50fe0c9f03c2c8d862f9d4c0
Closes-Bug: #1504606
Closes-Bug: #1504800
2015-10-15 10:47:21 +00:00