1465 Commits

Author SHA1 Message Date
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
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
Jenkins
5868a13da8 Merge "Add ceph wait before bootstrap" 2016-03-09 17:11:59 +00:00
Jenkins
92033d0a53 Merge "Do not create /dev/log symlink if it already exists" 2016-03-09 15:52:32 +00:00
Éric Lemoine
32a4cadac9 Add cron image and playbook
Add cron image and playbook for logrotate.

The "common" Ansible playbook includes configuration files for
logrotate. At this point the operator cannot customize/override the
logrotate configuration.

Closes-Bug: #1553244
Change-Id: Ic9fdda9a273c9ccd90502f0acc7614d2c7157dca
2016-03-09 13:53:55 +01:00
Jenkins
c83536cb39 Merge "mariadb-devel is deprecated" 2016-03-09 12:08:21 +00:00
SamYaple
7b6fbdf41d Remove storage_hostname
This was an attempt to get storage_interface to work properly but that
work will not be completed and functional this cycle. There are design
topics that need to be discussed about it that were brought to light
by the RAX gate failing for it.

TrivialFix

Change-Id: I65579f9e0e0dcf3fa51c0ea031ff474145457c40
2016-03-09 12:08:15 +00:00
SamYaple
3b65e49930 Add ceph wait before bootstrap
This will make sure ceph has a quorum and the cluster is functional
before attempting to use it. We also make sure udev has time to create
its links by looping a few times. This resolves the races found in the
bootstrap process

TrivialFix

Change-Id: Ia4624916feb5c80b2a067e5a62c176c1a5dea460
2016-03-09 11:55:39 +00:00
Éric Lemoine
500dc73c87 Do not create /dev/log symlink if it already exists
This changes the keepalived extend_start.sh script not to recreate
the /dev/log symlink if it already exists.

This change is related to a comment from SamYaple in
https://review.openstack.org/#/c/288432/.

TrivialFix

Change-Id: I9ca2b4d0b36c961ab3e1e18e2011dd10b47c33e3
2016-03-09 10:41:08 +01:00
Steven Dake
21ecd9925a Upgrade Heat
This could possibly use gold plating in how bootstrapping
operates to use shade rather than the shell in the container.
It is unclear why stack create failed prior to this patch, but
that fact hasn't changed.  I think the heat domains are not setup
properly in the configuration files, meaning that the domain ID
must be created outside of Heat and registered in the configuration
file.  This is covered in Bug #1553565.

Change-Id: I490d4dd68a101f388c0ecb4acab54d5eaa6e314e
Partially-Implements: blueprint kolla-upgrade
Implements: blueprint upgrade-heat
2016-03-09 03:50:03 -05:00
Steven Dake
0d273e077d mariadb-devel is deprecated
mariadb 10 uses the packaging convention MariaDB-* to not
conflict with mariadb 5.  As such, MariaDB-devel was indicating
a deprecation warning which this patch removes.

TrivialFix

Change-Id: I4b51fcedce3ef9e44c4a6830cd38ca8040a4d3f6
2016-03-09 00:44:50 -05:00
Artur Zarzycki
dd298fcb9e Mesos DNS container
Change-Id: I07ce1b0f6a48de2a8290fac75dcf7ef07960aaf5
Implements: blueprint mesos-dns-container
2016-03-08 21:29:19 +01:00
Jenkins
492ad93321 Merge "Fix ubuntu marathon container" 2016-03-08 12:23:31 +00:00
Artur Zarzycki
46ba928f64 Fix ubuntu marathon container
When we install mesos if it(or some deps) doesn't find java it installs
gcj(java5) which generate cacerts, so later in marathon we have
situation that openjdk8 can't access(discover as broken) to it because
of different format. Additionaly this third-party openjdk8 has in
dependencies ca-certificates-java which need java to generate cacerts
file.

Change-Id: Ic4467529a842ffc4bdd99ac1e23abbdee3a82422
Closes-bug: #1552626
2016-03-08 10:11:55 +01:00
Jenkins
ef81293861 Merge "Fix type - python-olso-db for ceilometer" 2016-03-07 23:14:31 +00:00
Hui Kang
da2e1cfed9 Fix type - python-olso-db for ceilometer
TrivialFix

Change-Id: I58c60025ae536729d9f953a6f2e8a3ed22177179
2016-03-07 11:17:10 -05:00
Éric Lemoine
14dec25e54 Fix "wait for log socket" in start.sh
The code in docker/base/start.sh that waits for the log socket does
not work because it includes a bad "space" character after "-S".

This patch changes that character to a real "space" character. It
also sets the SKIP_LOG_SETUP envvar for the Heka container.

TrivialFix

Change-Id: I17a3005df5bbd57678350fc77030e44b5ad6acae
2016-03-07 13:21:38 +01:00