3685 Commits

Author SHA1 Message Date
Jenkins
ad05c1846d Merge "Fix the nova reconfigure in the multinode env" 2016-04-01 20:42:51 +00:00
Jenkins
152d22732d Merge "Update Quickstart with example for distro and install type" 2016-04-01 20:17:36 +00:00
Jenkins
19d325093d Merge "Workaround ansible bug related to delegate_to" 2016-04-01 19:27:07 +00:00
Jenkins
d544a4f3cd Merge "When two interfaces are used for two VIPs, tie them together" 2016-04-01 19:11:34 +00:00
Jenkins
17781afa52 Merge "Fix IP resolve check for RabbitMQ on AIO" 2016-04-01 17:19:18 +00:00
Steven Dake
0bba5fe000 Workaround ansible bug related to delegate_to
Currently the delegate_to doesnt happen and the neutron role creation is
attempted once on the first server and is skipped. The re-ordering of hosts in
site.yml seems to make the first host to be one inside neutron-server group
yielding the expected results. This patch needs to be re-visited as soon as a
version of ansible is chosen that fixes the issues with delegate_to

Co-Authored-By: Steven Dake <stdake@cisco.com>
Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com>
Co-Authored-By: Nate Potter <nathaniel.potter@intel.com>
Co-Authored-By: Ganesh Mahalingam <ganesh.mahalingam@intel.com>
Change-Id: Ia712b323aa9d750d470a11ee899ab1b3054a903f
Partial-Bug: #1546789
2016-04-01 10:13:31 -07:00
Dave McCowan
bbbe84667d When two interfaces are used for two VIPs, tie them together
When a node uses two physical interfaces for its two VIPs, these
physical interfaces should be tied together, so both VIPs will
be taken out of scheduling if either one fails.  Without this change,
if a request comes into one interface that needs access to the
second interface to process the request, the original request
unnecessarily fails.  Repeating this results in a black hole where
a failing server keeps getting new requests.

Change-Id: Ic51e6584c1fbda3eb7821cb47f759c77e562cc65
Closes-Bug: #1550455
2016-04-01 12:04:22 -04:00
Michal Rostecki
5aa2dcce30 Fix IP resolve check for RabbitMQ on AIO
On AIO installation we cannot assume that the public IP address
will be the first entry in "getent ahostsv4" result, because
it may be also a localhost address. To make this check positive
in AIO, we should look for the public IP in the whole output.

Change-Id: I1da7b95d7f00c7f87ff68ead46bf55fdea812599
Closes-Bug: 1564564
2016-04-01 07:57:14 +02:00
Davanum Srinivas
f0be9c736c Update Quickstart with example for distro and install type
Make it a bit more clear on how to switch distro if needed

TrivialFix

Change-Id: I888c8310d11c8bc65f579df2cdc9d32f3928dc23
2016-03-31 14:42:18 +00:00
Steven Dake
1fac190cec Increase database connections to 10000
Scale limit testing on a 64 node cluster with 13 TB RAM and 2600
cores showed that atleast 1800 database connections are required
to appropriately start 2000 virtual machines simulateounsly.  Other
documentation on the internet recommends larger values such as 8000,
so we set to a larger value that should be able to handle a maxed out
512GB ram per compute node cluster with all services enabled.

Change-Id: I8767cf3fb04e066cc22e796c647e944b4e4a1742
Closes-Bug: #1564275
2016-03-31 00:42:23 -07:00
Jenkins
3a028e4334 Merge "Revert libvirt change in heka-openstack.toml.j2 in master" 2016-03-31 06:43:48 +00:00
Jenkins
dff16f9221 Merge "Update swift name" 2016-03-31 00:23:09 +00:00
Mauricio Lima
47a6d1039d Update swift name
TrivialFix

Change-Id: I852acea531c9c9ed68e83fbf98860453da1ce98f
2016-03-30 11:39:35 -04:00
Jenkins
65041fbcc2 Merge "Fix gate by adding MariaDB-shared dependnecy" 2016-03-30 15:00:24 +00:00
Jenkins
2068bc009a Merge "Revert "Fix consistently failing CentOS gate"" 2016-03-30 14:59:46 +00:00
Jenkins
94e5616464 Merge "Fix the Ceph reconfigure" 2016-03-30 09:49:07 +00:00
Jenkins
2bd896e364 Merge "Pass extra variables through kolla-ansible to ansible-playbook" 2016-03-30 09:48:59 +00:00
Jenkins
a8e788819b Merge "Added precheck to check kernel version 4.2 on Ubuntu 14.04." 2016-03-30 09:34:35 +00:00
Jeffrey Zhang
792e2c1f26 Fix the nova reconfigure in the multinode env
Checking the fix condition first in the when clause rather than the
dynamic condition. Otherwise it will raise issue, especially in
multinode env.

For example use

  when:
    - nova_console == 'novnc'
    - inventory_hostname in groups['nova-novncproxy']

rather than

  when:
    - inventory_hostname in groups['nova-novncproxy']
    - nova_console == 'novnc'

Because the nova-novncproxy groups may do not exist.

Change-Id: I1e76ee239908a17a4c2ffd9a18c570fbc485172e
Closes-Bug: #1563643
2016-03-30 16:57:42 +08:00
Jenkins
981d8206ab Merge "Starting heka bootstrap container failed in deployment" 2016-03-30 07:47:26 +00:00
Jenkins
45f6b673e3 Merge "Add optional services option in globals.yml" 2016-03-30 06:11:32 +00:00
Jenkins
251b498c72 Merge "Fix the wrong refer self in kolla_docker.py" 2016-03-30 05:22:21 +00:00
Carlos Cesario
833c1269c7 Added precheck to check kernel version 4.2 on Ubuntu 14.04.
Kolla recommends LTS wily kernel version 4.2 on Ubuntu 14.04.

http://docs.openstack.org/developer/kolla/quickstart.html#installing-dependencies

The precheck check the running kernel version, because checking
the linux-image-generic-lts-wily cannot be a valid check.

The package (linux-image-generic-lts-wily) can be installed, but
the running kernel can be other version.

Closes-Bug: #1563500
Co-Authored-By: Vikram Hosakote <vhosakot@cisco.com>
Change-Id: I4e08bca95493b2dbd0ad5f8d1ea4e07b18c4959d
2016-03-30 03:12:19 +00:00
MD NADEEM
e1b9b8e7f5 Add optional services option in globals.yml
Closes-Bug: #1563642
Change-Id: Id047dbcd438edc748fbe928cabbdbc1060c7c3de
2016-03-30 03:05:38 +00:00
Hui Kang
25393eb28f Pass extra variables through kolla-ansible to ansible-playbook
Change-Id: I4ddad85aadfac4047460085ec6bc0fcabd718253
Closes-Bug: #1561757
2016-03-29 17:59:33 -04:00
Jenkins
882636c9dd Merge "Restrict the rabbitmq only start on rabbitmq group" 2016-03-29 19:47:10 +00:00
Mauricio Lima
9a910d6b1e Starting heka bootstrap container failed in deployment
Change-Id: I7efa3f5df3a5743d264864070967cf995900b147
Closes-Bug: #1561111
2016-03-29 15:24:47 -04:00
Steven Dake
5f381dfbdd Fix gate by adding MariaDB-shared dependnecy
With the reorganization of the MariaDB repository, the C libraries
for mariadb were not included in the toolbox container.  This results
in a non-functional CentOS environment which is resolved by this
simple patch.

Change-Id: Ib4a2f7e55b6efc36bc3ff2d93447cb97b7b109f5
Closes-Bug: #1561347
2016-03-29 14:08:24 -04:00
Jenkins
a9539d9abe Merge "Remove bootstrap_mariadb with cleanup-containers" 2016-03-29 10:31:00 +00:00
Jeffrey Zhang
f7066db4f0 Fix the Ceph reconfigure
Closes-Bug: #1563251
Change-Id: I0072c92d6c8160f868b4ab0ec08b11541d3f3401
2016-03-29 18:05:48 +08:00
Jenkins
0523c8fc90 Merge "Refactor the glance service group mapping" 2016-03-29 09:27:02 +00:00
Jenkins
48fcd382ec Merge "Only copy the necessary config files for Glance" 2016-03-29 09:26:40 +00:00
Jenkins
b6b37f4cec Merge "Remove meaningless char in regexp of find_disks.py file" 2016-03-29 09:21:39 +00:00
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
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