3754 Commits

Author SHA1 Message Date
Sam Yaple
3f707d78df Revert "Fix consistently failing CentOS gate"
This reverts commit 17e0de6aa6c32c5adebeffc90c96f15285877cf5.

This change should have never merged. There is something else going on
here and the bug doesnt fully invetigate the issue. Using a mix of
system and pip packages is not acceptable and can cause problems.
In this case the packaged mysql has a KNOWN issue that we fixed in
liberty by switching to the pip installed package.

Change-Id: Ie10116010156c13742a0a5d37c440c713e4698e5
2016-03-28 20:54:55 -04:00
Mauricio Lima
b9603d35e7 Remove bootstrap_mariadb with cleanup-containers
TrivialFix

Change-Id: Ic6884d46d8edf2d430f8a9fb8635f7d98d011112
2016-03-28 13:00:29 -04:00
Carlos Cesario
493650aa5e Change keystone log dir
Proposed patch to change keystone and heka log dir
from /var/log/kolla/apache2/ to /var/log/kolla/keystone/

Closes-Bug: #1560620
Change-Id: I70c65ceba5a301cc56880313ca86f01bd35676cb
2016-03-28 08:51:35 -03:00
Jenkins
834b5eff5c Merge "Use packaged pip instead of easy_install" 2016-03-28 05:00:24 +00:00
Jeffrey Zhang
0a6cff4a6d Refactor the glance service group mapping
Add a glance_service_groups variable containers the container name,
service name and group name. In this way, we can remove lots of
duplicated lines.

TrivialFix

Change-Id: I9beb7509ad7221cd495e3211a2e67d986486aac6
2016-03-28 12:25:48 +08:00
Jeffrey Zhang
9523fd0e56 Only copy the necessary config files for Glance
Only copy the necessary config files when it _really_ needed. This
will make the config file safer

Partial-Bug: #1559122
Change-Id: I5f5df54c688fb4f6b0ee68815116e2418d5742f7
2016-03-28 12:24:23 +08:00
Jeffrey Zhang
0ae14ebb07 Restrict the rabbitmq only start on rabbitmq group
Change-Id: I375d637eff76dd3d00e61e521c0d68a19e5da9a3
Closes-Bug: #1562261
2016-03-28 04:06:30 +00:00
Gerard Braad
0dcb83030d Use packaged pip instead of easy_install
TrivialFix

Change-Id: I1eefec4326f97f466243051bcc33551e0803980d
2016-03-28 03:24:56 +00:00
Jenkins
90321d0497 Merge "Fix gate to use world writeable docker socket" 2016-03-27 23:42:47 +00:00
Steven Dake
a789346727 Fix gate to use world writeable docker socket
A recent change related to sudo securepath broke how sudo -E
works.  Now the PATH is reset by sudo as set by tox.  As a result
we can no longer rely on sudo -E anywhere in our gating system
relating to path inheritence from the parent shell.

This patch uses a shell operation in the setup_nodes.yml code
to chmod the docker socket to 666 so docker containers can build
properly.  Now docker operations don't return a permission denied
and we no longer require the sudo -E operation in any of our tox
scripts.  This isn't a security vulnerability because our gate
scripts are only meant to be run in OpenStack infrastructure.
To make this more clear I recommend moving these shell scripts to
tests/gate.

Change-Id: I5b3d6e280e3c12a25defedb14b5589ba642043fa
Closes-Bug: #1562383
2016-03-26 22:23:35 -07:00
Jeffrey Zhang
1fc0003aee Fix the wrong refer self in kolla_docker.py
Change-Id: Ia5bcfa7253fc5a471a089339c52883af05623068
Closes-Bug: #1562345
2016-03-27 00:37:52 +08:00
Nguyen Hung Phuong
328a7e8898 Fix typos in Kolla
TrivialFix

Change-Id: I21f51811ec4256d9b6b2e219de6201e4811dfc5a
2016-03-26 08:06:49 +00:00
Jeffrey Zhang
d2ad5f290a Remove meaningless char in regexp of find_disks.py file
the $ char is useless and not needed.

TrivialFix

Change-Id: I18df48ca86badadf6ec18757c17ed32222ead30a
2016-03-25 22:25:41 +08:00
Jenkins
bd5d38ef3c Merge "Adds genisoimage package dependency to nova-compute" 2016-03-25 10:59:20 +00:00
Jenkins
acc6968dd5 Merge "Upgrade elasticsearch" 2016-03-25 10:58:17 +00:00
Jenkins
beaee72f0f Merge "Add kibana authentication using HAproxy" 2016-03-25 10:53:57 +00:00
Jenkins
b1030263c5 Merge "Change heat domain to heat_user_domain" 2016-03-25 04:10:46 +00:00
Jenkins
9dcbb443d9 Merge "Revert "Make heat work"" 2016-03-25 03:26:48 +00:00
SamYaple
5b18913f36 Change heat domain to heat_user_domain
heat_user_domain is what is in the docs, but more importantly it is
what we have in Liberty and will be a requirement to doing upgrades
properly.

Change-Id: I9cf53d43b4faaa5d1b0156cc50192722d2739602
Closes-Bug: #1553565
2016-03-24 15:07:04 +00:00
Jenkins
1ac8e64369 Merge "Change CentOS in documentation" 2016-03-24 15:02:22 +00:00
Jenkins
4da6d2cf9c Merge "Re-set external_network_bridge for l3 agent" 2016-03-24 14:43:52 +00:00
Sam Yaple
1c177f3827 Revert "Make heat work"
This reverts commit 7524b3770fedd730bf2c49d26a94135c5357781b.

Liberty uses heat_user_domain and works and this should too. The
bootstrap process itself must have changed or another part of the
config. Either way that needs to be fixed so we can do proper upgrades.
Basically, dont change the heat domain out from under the user).

Change-Id: I32ae3ef90d340a83b09c09860af8f3635c1a07a5
2016-03-24 12:54:05 +00:00
Jenkins
0b7c5c7aec Merge "Reduce log errors from heka" 2016-03-24 12:29:48 +00:00
akwasniewska
ba62740a93 Add kibana authentication using HAproxy
Change-Id: Ib501571dd34cb68924775ce738499d63df5718dd
Closes-Bug: 1556487
2016-03-24 11:46:06 +01:00
Jeffrey Zhang
7bcf58cf78 Upgrade elasticsearch
Change-Id: I24d17f98013d82f2e6f46548cac80c0303d6e171
Implements: blueprint upgrade-elasticsearch
2016-03-24 18:19:52 +08:00
Jenkins
ec86b44fc3 Merge "Make heat work" 2016-03-24 10:12:28 +00:00
Jenkins
31a82052f2 Merge "Add reno support" 2016-03-24 08:39:03 +00:00
Gerard Braad
674ff439fd Change CentOS in documentation
Change-Id: Ic4725a4cef02a57e837c727378a99bf7575d4ebd
2016-03-24 06:59:24 +00:00
Jenkins
f0440b90bc Merge "Include docker python install" 2016-03-24 06:50:42 +00:00
Steven Dake
17e0de6aa6 Fix consistently failing CentOS gate
This fixes a gate regression and probably regression in general
with building images.  I'm not sure where the regression came from,
but I suspect a new verson of MySQL-python from pip is to blame.

Closes-Bug: #1561347
Change-Id: Ib502d0090a3fc3b3ea5d27a91ff59df1f53c01a3
2016-03-24 01:51:39 -04:00
Gerard Braad — 吉拉德
4d58ef5d43 Include docker python install
Change-Id: I5a55f6798d73b289b02232dd26f5e5fb72da9e4c
2016-03-24 04:07:10 +00:00
Steven Dake
7524b3770f Make heat work
Fix the domain user to point at heat instead of some nonsensenical
value.  Now stack-create works properly.

Change-Id: If2bc57c2516ffe724999515bb6aa3eeb31a0c980
Co-Authored-By: Angus Salkeld <asalkeld@mirantis.com>
Closes-Bug: #1553565
2016-03-23 23:43:59 -04:00
Vikram Hosakote
4e60b9917f Revert libvirt change in heka-openstack.toml.j2 in master
This is consistent with the patch set in
https://review.openstack.org/#/c/296012/ for stable/mitaka

The new lua parser for libvirtd.log so that libvirtd.log can be
parsed in the Kibana dashboard will be implemented in a separate
patch set (in both master and backported to Mitaka).

TrivialFix

Related-Bug: 1560298
Related-Id: I1bc8bdb3180f30dc69af28a35fa057ac801bde0f
Change-Id: I59938a4e99abc676c391e535405417701aae2767
2016-03-23 23:51:48 +00:00
Steven Dake
0d2591dc30 Reduce log errors from heka
Heka depends on haproxy and keepaived being present to communicate
with ElasticSearch.  If we start ElasticSearch prior to haproxy and
keepalived, the number of errors are reduced in heka.

Change-Id: Id2c742ea572c6450a371421e21f34aa69355bb8b
Partial-Bug: #1560779
2016-03-23 18:20:49 -04:00
Jenkins
35fda60255 Merge "Fix inconsistancy in globals.yml" 2016-03-23 22:08:50 +00:00
Jenkins
3a7445677f Merge "Add creation of new log folder for Horizon" 2016-03-23 19:39:54 +00:00
SamYaple
b188d3abe5 Re-set external_network_bridge for l3 agent
Without this option set to blank neutron will attempt to dump raw
frames which is not correct. Kevin Benton is working on fixing the
deprecation message.

Change-Id: Ib6d6f41e2f222d383583e79958a78f2a09d3ae93
Closes-Bug: #1561156
2016-03-23 19:02:31 +00:00
Steven Dake
801ef2e843 Add reno support
For proper release note generation on the releases.openstack.org
website, this change will need to be backported into mitaka and
liberty as well.  Then a special one-file reno file will have to
be added for mitaka describing the features and the same story
for liberty.

See log of the discussion here:
http://eavesdrop.openstack.org/irclogs/%23openstack-release/%23openstack-release.2016-03-23.log.html#t2016-03-23T18:00:05

Change-Id: I3c298ae08ec4645f384ea5829cb0851fe82f4557
Partially-Implements: blueprint add-reno
2016-03-23 11:59:35 -07:00
Jenkins
721229297e Merge "Add conntrack-tools" 2016-03-23 16:20:56 +00:00
Serguei Bezverkhi
8d96d639c8 Add creation of new log folder for Horizon
The previous Horizon logging fix missed the part of creating new folder,
this fix adds it.

Change-Id: I14da441ebb6de94964326c0a1b02ae1480b080bd
Closes-Bug: 1561073
2016-03-23 12:05:08 -04:00
Jenkins
2bed01f981 Merge "MariaDB is not copied if enable_rabitmq is disabled" 2016-03-23 15:51:42 +00:00
SamYaple
27975f8ab5 Add conntrack-tools
Conntrack is used by neutron as a dep, but not installed in the source
containers. This leads to errors in the log and in some cases network
instability.

Change-Id: Ie6eae7530bf4e378eedb852a16ed8595402113a6
Closes-Bug: #1561008
2016-03-23 14:26:27 +00:00
Jenkins
73f55d3d6f Merge "Swift busted with Heka" 2016-03-23 12:36:44 +00:00
Jenkins
a3a43e7b92 Merge "Add PBR generation of version information" 2016-03-23 12:33:03 +00:00
Jenkins
91599cf646 Merge "Remove ironic images from excluded list" 2016-03-23 11:54:34 +00:00
Jenkins
d9d70d0502 Merge "Reconfigure for haproxy" 2016-03-23 07:14:27 +00:00
Jenkins
ada9ac95a0 Merge "Added note about nested environment" 2016-03-23 07:13:15 +00:00
Jenkins
47cce66181 Merge "Changes horizon log location to kolla_logs volume" 2016-03-23 07:09:05 +00:00
Steven Dake
fea486a7f0 MariaDB is not copied if enable_rabitmq is disabled
Eric spotted this on IRC.  Submitted a bug and patch
on his behalf since he isn't available to work on Kolla
in the next few hours.

Co-Authored-By: Eric Lemoine <elemoine@mirantis.com>
Change-Id: I91efdd540170a391228d247c2e6e533e6c87b951
Closes-Bug: #1560819
2016-03-23 02:48:40 -04:00
Steven Dake
8307b06a46 Swift busted with Heka
Swift and heka were broken by an optimization that resulted in
a regression in commit:
0a1486a2c73275009f7158c911e7bfd683e40a58

This patch fixes that problem.

Change-Id: I02c6cf4de4f807c3ec66e2d4f59f182d0b864ea3
Closes-Bug: #1560788
2016-03-23 02:08:29 -04:00