981 Commits

Author SHA1 Message Date
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
331e2f3bef Merge "Ironic binary shouldnt use upper-constraints" 2015-10-21 13:32:39 +00: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
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
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
a7d4431928 Add nova-spicehtml5proxy console
Change-Id: I0ca15e00ee52373b84f7021d86a29304526b7436
Partially-Implements: blueprint nova-proxies
2015-10-19 12:09:48 +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
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
Jenkins
0545701d0d Merge "Make Ceph work for RPM based distributions" 2015-10-14 10:58:08 +00:00
Steven Dake
1353538644 Make Ceph work for RPM based distributions
Ceph packages need to be installed in nova, glance, and cinder.
Once that is done, Ceph works like a champ!

Change-Id: I296da1d04d0c1bcb729f22e65e432d53d561b49c
backport: liberty
Closes-Bug: #1505549
2015-10-13 21:48:17 -04:00
Sam Yaple
5f200e0446 Fix issue with su and bad kernels
Long story short, some kernels before 3.15 had an issue with using su
in a container when the network namespace was --net=host. The gate
has a 3.10 and a 3.13 kernel and has a problem with this. This changes
everything to use sudo

backport: liberty
Partially-Implements: blueprint functional-testing-gate
Change-Id: I4d79ccaa1cddffcc8393f64e7e1be2538efe33e5
2015-10-13 15:13:55 +00:00
Martin André
e9ed7ca403 Remove obsolete backport for oslo.log
The patch was merged upstream. Remove it from kolla tree since it
doesn't apply cleanly anymore and break openstack-base image building.

backport: liberty

Change-Id: Ia82aa10860d24d696a172ec6596076c9b6b2d0a5
Closes-Bug: #1505456
2015-10-13 09:52:45 +09:00
Steven Dake
52eb4d8403 Remove an oslo.message 2.2.0 pin
In https://bugs.launchpad.net/kolla/+bug/1483667, oslo.messaging
was pinned to 2.2.0.  This pin is no longer necessary as this bug
has been fixed upstream.

backport: liberty

TrivialFix

Change-Id: Ica9ae41876a754291d4c6ee1235f6e69a4213463
2015-10-07 22:20:28 -07:00
Jenkins
9d7177574b Merge "Remove which from neutron-server" 2015-10-08 03:07:02 +00:00
Jenkins
c4888d3310 Merge "Remove debug output in base image yum command" 2015-10-08 03:06:41 +00:00
Jeff Peeler
717ed63b56 Fix up ironic Dockerfiles to build
The dockerfiles for each of these containers were hacked to force
install the most recent version of the package, even though the newer
version had a lower version number. Delorean has fixed the issue by
bumping the epoch, so the hack is no longer required.

backport: liberty

Change-Id: I8d9c071d84e53280d3cadfceb9034bb96f64f3a3
Closes-bug: #1503785
2015-10-07 13:33:19 -04:00
Jenkins
05764198a2 Merge "Removing /dev/log on rsyslog start" 2015-10-07 09:58:34 +00:00
Jenkins
ec835750e7 Merge "Install agent dependencies from source for CentOS" 2015-10-07 09:50:31 +00:00
Jenkins
998210bcc1 Merge "Enable source for openstack-base for RPM distros" 2015-10-07 09:50:01 +00:00
Michal Jastrzebski
865ba80231 Removing /dev/log on rsyslog start
Currently we seem to be experiencing races between containers.
If another containers tries to write to rsyslog before rsyslog container
is up and running it will create /dev/log as directory,
and that will prevent rsyslog from starting.

Change-Id: I88ac27693d12e605f95e3a945fc98783516d7933
Closes-Bug: #1501694
backport: liberty
2015-10-07 11:32:28 +02:00
Steven Dake
2dead81564 Install agent dependencies from source for CentOS
Several packages are not installed from RPM packages which are
required in order for CentOS from source to operate correctly.

This looked like sudo was failing to execute, but it was because
the dnsmasq binary was not found.

backport: liberty

Change-Id: If23cfbacd55d9089ffec442399ee0151adea923f
Closes-Bug: #1503412
2015-10-06 22:59:53 -07:00
Steven Dake
fbb1842fc8 Enable source for openstack-base for RPM distros
Make openstack-base optimized for from source builds for RPM based
distributions.

backport: liberty

Change-Id: I5f1056ebc09fd55cd5d46da7a09331e38940d888
Implements: blueprint openstack-common-container
2015-10-06 22:59:50 -07:00
Steven Dake
e6391aff36 Remove which from neutron-server
The which tool is installed in the base image now and this extra
install is duplicated and has no effect.

backport:liberty

TrivialFix

Change-Id: I70c3edb11f5c847063b6e4ab4f9de7184356ce57
2015-10-06 21:50:44 -07:00
Steven Dake
c5b6a436bd Remove debug output in base image yum command
The base image contains -d 10 in a yum command which prints unhelpful
debug output for one of the yum commands.  Remove the extranous debug
output.

backport: liberty

TrivialFix

This patch is a trivial fix and is a test to set boundaries on what
a trivial fix looks like that doesn't require a bug tracker entry.  If
reviewers feel a trivial fix isn't documented properly by this commit
message, please weigh in, as this is a slight suggested change to our
policy as first institued by the Magnum community and brought to my
attention by Jeff Peeler.  Hopefully this compromise won't be abused :)

Change-Id: I57f00978d0baaefd73592f4ad6a655e663d83478
2015-10-06 21:50:39 -07:00
Steven Dake
c6947eeb8a Pin rabbitmq to 3.5.5
Pin rabbitmq to 3.5.5 for RPM platforms.  This version is the latest
and sparkly with lots of bug fixes.  Tested multi-node HA and everything
seems solid in comparison to the 3.3.z releases used previously.

backport: liberty

Change-Id: I53bf70175fd12ded132141aa499c73919a932cdf
Closes-Bug: #1503280
2015-10-06 21:47:08 -07:00
Sam Yaple
94162bd08f Bring Kolla inline with FHS
This brings Kolla images inline with FHS and should make finding
locations of things more consistent and reliable with the linux world
at large.

Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8
Closes-Bug: #1485742
2015-10-06 03:30:53 +00:00
Sam Yaple
cb4e875ae1 Common start.sh
The majority of the start.sh code is identical. This removes that
duplicate code while still maintaining the ability to call code in a
specific container.

The start.sh is moved into /usr/local/bin/kolla_start in the container

The extend_start.sh script is called by the kolla_start script at the
location /usr/local/bin/kolla_extend_start . It always exists because
we create a noop kolla_extend_start in the base directory. We override
it with extend_start.sh in a specific image should we need to.

Of note, the neutron-agents container is exempt from this new
structure due to it being a fat container.

Additionally, we fix the inconsistent permissions throughout. 644 for
repo files and the scripts are set to 755 via a Docker RUN command to
ensure someones local perm change won't break upstream containers.

Change-Id: I7da8d19965463ad30ee522a71183e3f092e0d6ad
Closes-Bug: #1501295
2015-10-06 03:30:26 +00:00
Sam Yaple
3a56ce1826 PXE for Ironic for ubuntu
This makes Ironic build properly from source.

Change-Id: Ic61cd945760843aae1f0a01738bca3b818fd2f69
Closes-Bug: #1500577
2015-10-04 03:59:23 +00:00