1480 Commits

Author SHA1 Message Date
Jenkins
ff3095f56e Merge "Allow external ceph journals and fix bootstrap" 2016-03-21 14:17:24 +00:00
Jenkins
b333f44a53 Merge "Fix mysql bootstrap" 2016-03-21 13:02:40 +00:00
Jenkins
fe1f7e29ce Merge "Fix 'optional' config.json values" 2016-03-21 12:39:46 +00:00
SamYaple
afce10dea4 Fix mysql bootstrap
The lightsout recover patch broke multinode mysql. Also the lightsout
recovery didnt probably pass the --wsrep-new-cluster flag. This
updates the mariadb bootstrap to work with multinode again.

Closes-Bug: #1559480
Related-Id: I903c3bcd069af39814bcabcef37684b1f043391f
Change-Id: I1ec91a8b2144930ea8f04cc1c201b53712352e4e
2016-03-21 12:23:00 +00:00
Jenkins
25af34ce74 Merge "Allow user to choose filesystem for osd" 2016-03-21 09:26:14 +00:00
Jenkins
59bc1b8d74 Merge "Increase usefulness of openstack-base" 2016-03-20 17:05:51 +00:00
Jenkins
d95c736703 Merge "Ceilometer needs pymongo to start" 2016-03-20 16:38:27 +00:00
Jenkins
69553b95f1 Merge "Fix race condition in haproxy" 2016-03-20 16:17:28 +00:00
Hui Kang
127bd6f5da Ceilometer needs pymongo to start
pymongo is needed when ceilometer uses mongodb as backend database

Change-Id: Id75dc7bed30cdfa12f95bb66ca6d4cdf7be0261c
Closes-Bug: #1559370
Related-Bug: #1559390
2016-03-19 23:00:14 -04:00
SamYaple
f4175f04d7 Fix 'optional' config.json values
These values are optional only when the services are not enabled.

If the file does not exist we should not warn, but rather inform.

Ceph-mon is an exception here since its bootstrap process means
the files may or may not exist initially.

TrivialFix

Change-Id: Ic02bece76d480e99deecf612036f37abb5604135
2016-03-19 23:01:27 +00:00
SamYaple
5250a00781 Allow external ceph journals and fix bootstrap
This allows us to specify external journals for osds which can greatly
improve performance when the external journals are on the solid-state
drives.

The new lookup and startup methods fix the previous races we had
preventing osds from being created properly.

This retains the same functionality as before and is completely
compatible with the previous method and labels, however this does set
new labels for all new bootstrap OSDs. This was due to a limitation
in the length of the name of a GPT partition.

Closes-Bug: #1558853
DocImpact
Partially-Implements: blueprint ceph-improvements
Change-Id: I61fd10cb35c67dabc53bd82270f26909ef51fc38
2016-03-19 22:36:30 +00:00
SamYaple
6d0cd535d3 Allow user to choose filesystem for osd
Change-Id: I9c770a08219d2eead5ece8e3462157359cd920cb
Partially-Implements: blueprint ceph-improvements
2016-03-19 22:36:30 +00:00
SamYaple
0da25415f8 Increase usefulness of openstack-base
Just like last cycle, I ran all of the requirements and found the
packages that were installed >=10 times throughout our containers. By
combining them in the openstack-base we reduce the size of the images
by ~600MB (10%) and decrease build time by a measurable amount (5-10m
in the case of Centos)

TrivialFix
Change-Id: I582d75644a8e8b936c6f9fc10c6b5821e1e8c5c4
2016-03-19 17:41:11 +00:00
Vikram Hosakote
ec3baf0428 Install Elasticsearch and Kibana packages using yum/apt-get
Test results of this patch set are at
http://paste.openstack.org/show/490450/.

Change-Id: I2957cc70fcca34706ec50a630d785f0630c3f5c0
Closes-Bug: #1553203
2016-03-18 04:05:30 +00:00
Steven Dake
a577634fd3 Reorder operations of mkdir and useradd in toolbox
The home directory for Ansible already exists and does not
need to be created.  Reorder useradd and mkdir at suggestion
of Jeff Peeler to avoid warning.

The warning looks like this:

INFO:__main__:kolla-toolbox:Step 6 : RUN mkdir -p /etc/ansible /usr/share/ansible /home/ansible     && echo 'localhost ansible_connection=local' > /etc/ansible/hosts     && useradd --user-group ansible --groups kolla     && sed -i 's|  "identity_api_version": "2.0",|  "identity_api_version": "3",|' /usr/lib/python2.7/site-packages/os_client_config/defaults.json
INFO:__main__:kolla-toolbox: ---> Running in ccded9c01fca
INFO:__main__:kolla-toolbox:useradd: warning: the home directory already exists.
INFO:__main__:kolla-toolbox:Not copying any file from skel directory into it.
INFO:__main__:kolla-toolbox:

TrivialFix

Change-Id: I031ade6597f8071f5be1768a7e70b1008dd94e52
2016-03-17 13:30:28 -07:00
Jenkins
bbe08628d0 Merge "Manila ubuntu binary container" 2016-03-17 15:45:12 +00:00
MD NADEEM
d4a5c75db6 Manila ubuntu binary container
manila-share is present in manila-common package.

Change-Id: Ida231c0468b6ee3bb6a76fb9f475724abf95c1cb
Closes-Bug:#1553199
2016-03-17 17:19:01 +05:30
Jenkins
3c0641b36b Merge "MariaDB lights out recovery" 2016-03-17 06:24:32 +00:00
MD NADEEM
f11112371d Fix race condition in haproxy
The time period between getting pid
of haproxy service and checking existance of
pid file is very short, if with in this period
haproxy service get reload then the race condition
occured and container get exit as extend_start.sh
script exit.

To minimize the risk of race condition, this patch
let the extend_start.sh script to try upto 3 times
before exit.

Closes-Bug: #1479888

Change-Id: I2f9b7ec832dec8d94a2cdd27ca8a212d0c65a60d
2016-03-16 15:56:19 +00:00
SamYaple
2aaaed770e MariaDB lights out recovery
This playbook only matters for multinode since AIO can recover from
power outage without additional configuration.

DocImpact
Implements: blueprint mariadb-lights-out
Change-Id: I903c3bcd069af39814bcabcef37684b1f043391f
2016-03-16 15:53:44 +00:00
Jenkins
25a33ca0dc Merge "Move sysctl out of haproxy container" 2016-03-16 00:32:10 +00:00
Paul Bourke
db27136ed5 Add missing tar command for oraclelinux binary
Kibana was failing with the binary build type due to tar missing.

TrivialFix

Change-Id: Ia7cb77c5359b2ed30cd1883c0848cd1506a63833
2016-03-15 16:16:53 +00:00
SamYaple
22fe11840b Move sysctl out of haproxy container
sysctl was improperly set in the contaienr itself which is not correct

TrivialFix

Change-Id: If2ffca6d2a40e86db4af2f103a27b280bc5fa2ff
2016-03-15 14:56:38 +00:00
Jenkins
439188cedb Merge "Use ubuntu Mitaka repo" 2016-03-15 02:35:47 +00:00
Jenkins
302b030216 Merge "Install openvswitch-switch in manila" 2016-03-14 23:43:35 +00:00
Mauricio Lima
a9edc7e0a0 Install openvswitch-switch in manila
Change-Id: I8277ad668f46d327807a01ceb96c2abb417f0e3d
Closes-Bug:#1556271
2016-03-14 12:18:31 -04:00
SamYaple
8b3f0d0857 Use ubuntu Mitaka repo
The rabbitmq-server package is upgraded to 3.5.7 in cloud-archive
so we update centos to match

The xen-utils package now needs an explict version, xen-utils-4.6 is
what is provided by cloud-archive mitaka

Libvirt 1.3 is in the ubuntu cloud-archive. This has a new daemon for
logging that needs further implementation in newton. For now, it has
been disabled within the qemu.conf

Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
TrivialFix
Change-Id: I84217824817c484b6800a64cbd7767b127a3098e
2016-03-14 15:52:48 +00:00
Jenkins
c09db422cf Merge "Mesos DNS container" 2016-03-14 12:33:18 +00:00
Jenkins
a35c7225db Merge "Properly pin ceph" 2016-03-14 03:05:34 +00:00
Jenkins
d90d0ad782 Merge "Fix false alert messages in HAProxy logs" 2016-03-14 00:58:06 +00:00
Jenkins
c12e65c164 Merge "Drop root user for neutron-linuxbridge-agent" 2016-03-13 23:26:42 +00:00
SamYaple
0bb766c129 Properly pin ceph
Ubuntu is a bit different than centos. We aren't pinning a single ceph
verion because we cannot. We can however pin to a particular repo,
but we were not due to formating. This fixes that formating and pins
to a specific repo.

TrivialFix

Change-Id: I2f6c4cd2f7d51652dc2729c0ab384165151e94e2
2016-03-13 23:21:53 +00:00
Jenkins
8165fdf0bc Merge "Remove openstack client from keystone bootstrap" 2016-03-13 16:12:59 +00:00
Vikram Hosakote
9d1911c5a4 Fix false alert messages in HAProxy logs
Bug #1549753 raises false alarm about haproxy to the operator and
monitoring tools even though haproxy is running fine and there is
no issue.

haproxy uses UDP datagram socket for logging and the default queue
length of 10 datagrams causes false alert messages in haproxy
logs. This patch set fixes this bug by increasing the queue length
to 128.

Test results of the fix in this patch set are at
http://paste.openstack.org/show/490302/.

Change-Id: I64fdd17cd278d51616aa0dfa4e8d2a422c8ee630
Closes-Bug: #1549753
2016-03-13 07:02:27 +00:00
Jenkins
35917e34be Merge "Add missing files in ironic containers" 2016-03-11 22:52:49 +00:00
Jenkins
ab6e2ebac6 Merge "Install master's version of an RDO keystone" 2016-03-11 22:52:28 +00:00
SamYaple
215cfc0345 Remove openstack client from keystone bootstrap
Keystone has merged the rest of thier bootstrap code. Lets take
advantage of that.

TrivialFix

Change-Id: Icfe8a2dca7ae49724fa3290fdfe9fb21b8ba01a2
2016-03-11 14:35:40 -05:00
Steven Dake
c5f27aa8a6 Install master's version of an RDO keystone
RDO isn't moving for approxximately 1 week new packages into
current-passed-ci.  This blocks Sam's keystone bootstrap patch.

To unblock this, we temporarily have provided copr built RPMs
based upon the srpm from RDO and keystone-master tarball.

TrivialFix

Change-Id: Ic0fe30c56e8dd229f2a25157125272324621bad9
2016-03-11 14:35:40 -05:00
Andrey Shestakov
6345313d17 Add missing files in ironic containers
Added missing package for qemu-img in centos container
Added pxelinux.0 in ironic-pxe in centos container

TrivialFix

Change-Id: I706284824f915caf974b1247520c3e4025c47f57
2016-03-11 16:10:28 +02:00
Jenkins
19bdb0934e Merge "Add missing 'yum clean all' to mariadb" 2016-03-10 21:51:07 +00:00
Jenkins
89938f9b67 Merge "Update gnocchi for centos binary" 2016-03-10 21:50:46 +00:00
Jenkins
a28b246259 Merge "Add cron image and playbook" 2016-03-10 20:22:15 +00:00
Paul Bourke
33e997b79d Add missing 'yum clean all' to mariadb
Found another missing clean in mariadb, halves the size of the image.

TrivalFix

Change-Id: Idcbb925a6f232bd1172710456662a52784e025b6
2016-03-10 12:36:23 +00:00
Jenkins
4a5859bb46 Merge "Add missing 'yum clean all' in oraclelinux base" 2016-03-10 12:09:14 +00:00
Swapnil Kulkarni (coolsvap)
0cca862991 Update gnocchi for centos binary
Gnocchi packages are now available in centos repos[1]
for liberty and the images build.

backport: liberty

Closes-Bug:#1478145
[1] http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/

Change-Id: I957754d4a4e35b026d3e27ee23f33ce2e78592ec
2016-03-10 17:28:06 +05:30
Jenkins
89d4134199 Merge "Add centos-extras repo to oraclelinux-base" 2016-03-10 11:49:59 +00:00
Paul Bourke
4dd60575f2 Add missing 'yum clean all' in oraclelinux base
This one line halfs the size of oraclelinux images, from over 1GB to
just over 500MB, bringing them inline with centos.

TrivialFix

Change-Id: I9fd89aeeec56207791fc289db9880b43b17536f5
2016-03-10 10:24:19 +00:00
Vikram Hosakote
6770ed4c5d Drop root user for neutron-linuxbridge-agent
Change-Id: Ic4448469ac31f6804b517c916e9b41c39e527081
Closes-Bug: #1553522
2016-03-09 20:35:05 +00:00
Paul Bourke
2967f250d7 Add centos-extras repo to oraclelinux-base
magnum requires python-docker-py which is missing in the oraclelinux
base repos.

TrivialFix

Change-Id: I466a170a8df8f207c47d06ba5a6cba9b7efa3e5f
2016-03-09 17:14:55 +00:00
Jenkins
a82e7b1239 Merge "Remove storage_hostname" 2016-03-09 17:12:21 +00:00