4071 Commits

Author SHA1 Message Date
OpenStack Proposal Bot
2b3ad52ff6 Updated from global requirements
Change-Id: Ia047f12911a37eed03f5718807427814b5e1b14b
2017-03-02 11:51:03 +00:00
Jenkins
42ea34774c Merge "Move ceph client role to playbooks for faster run time" 2017-03-01 13:04:51 +00:00
Kevin Carter
f517b14cff
Move ceph client role to playbooks for faster run time
The change will limit the hosts the ceph client role is executed against
by checking the ceph conditionals before simply executing the role.
This will help general run times especially on large scale clouds.

Change-Id: Ic7130368c5a2bb231c35bb459a2bebaa28a5a968
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-01 00:04:54 -06:00
OpenStack Proposal Bot
cf6600d303 Updated from global requirements
Change-Id: I2f9decee7ca7c3ea374c4f0a907fe9d9710f5d20
2017-03-01 04:12:48 +00:00
Jenkins
c33735ec3e Merge "Install rdo package" 2017-03-01 04:07:32 +00:00
Marc Gariepy
e74eca2d9f Install rdo package
Install rdo package instead of centos-release-openstack-newton.

Change-Id: I521b8b8a7a2b051334afca13fa8d58a9cb56a2ae
2017-03-01 01:18:35 +00:00
Nolan Brubaker
59aaac0cb5 Only insert container hosts into lxc_hosts
This change introduces a set of functions for dynamically populating the
lxc_hosts function on each inventory run. Any previous membership is
overwritten each time. The output is written to the
openstack_inventory.json still in order to provide parity with the
values provided to the ansible executable on stdout.

Previous code was fairly naive, inserting hosts into lxc_hosts when they
were marked as `is_metal`. This would add hosts, such as Ceph, that
were on metal but had no LXC containers.

A previous attempt at fixing this changed the _build_container_hosts
function to provide more information about the container build process,
then used that data in the _append_host_containers function to populate
the lxc_hosts group. However, this approach failed due to limited
information in each pass of the loop - if a node was an AIO, it might be
erroneously removed from the lxc_hosts group because a container wasn't
built on a given pass, and due to ordering, that pass may be the last
one of the loop.

To get around such problems, this code instead processes the inventory
in whole, after all containers have been made. Population into the group
is determined according to whether or not a given host's `physical_host`
hostvar matches the host name.

Change-Id: I9f3336f77cd0ef05fe1c7edeaf7defc6d93c3111
Closes-Bug: #1660996
2017-02-28 20:43:48 +00:00
Jesse Pretorius
448b9ce536 Update keystone SHA to support db_sync check
In https://review.openstack.org/432134 we added support
for more specific reactions to the db sync check, but
the current SHA we have for keystone does not include
fixes for a new deployment.

This updates the keystone SHA to include that support.

Change-Id: Ib85ae24ee50513c02cd32f09b0bf48b95aab20dc
2017-02-28 19:20:03 +00:00
Jenkins
fb76f7741a Merge "Use an explicit version of urrlib3" 2017-02-28 16:06:00 +00:00
Jean-Philippe Evrard
be08a064b6 Use an explicit version of urrlib3
If not forcing to install urllib3, ansible on the deploy node
will reuse the urrlib3 from site-packages, which could be older
than the one in global-requirements, because ansible doesn't
list it in its dependencies, so we don't explicit force a
certain version to be installed.

On my machine, I had an urllib3 installed with a version of
1.7.1, and all the lookups with https had SSL issues. Moving to
urllib3 fixed the thing.

This only cares about the ansible side, to ensure ansible venv
has the proper version. Hosts targetted by ansible (for example
when using get_url), also need a fix. This will be done in
different patches.

Change-Id: Ia07969ac9aee90724eecc6657affd1dbe16045a7
2017-02-28 14:26:14 +00:00
Jenkins
75d9c0ad95 Merge "Remove ceilometer from the gate" 2017-02-28 11:40:59 +00:00
Jenkins
3624bfaf6d Merge "update galera cluster database bind mount dirs" 2017-02-28 09:11:22 +00:00
Jenkins
aca7d16b9b Merge "Place gnocchi database bind mount dirs to be in group_vars" 2017-02-28 09:10:44 +00:00
Ravi Kumar Boyapati
ca2fecc876 update galera cluster database bind mount dirs
With the current play we cannot over-ride the
```/openstack/{{ inventory_hostname }}``` host directory for bind
mounting database directory. Updated it so that user can specify
a particular host direcotry of his choice.

Change-Id: I29115b048cc7c65f55217fbe2abf7f4e954a0e5e
2017-02-27 21:50:09 -05:00
Ravi Kumar Boyapati
67f2db5b22 Place gnocchi database bind mount dirs to be in group_vars
Removed hardcoded gnocchi database bind mount dirs in play and
added to group_vars so users can over-ride if needed.
Change-Id: Icf2c1abf661302b54d870028df98c06e89a32dde
2017-02-27 21:45:01 -05:00
Kevin Carter
5094011164
Remove ceilometer from the gate
This change removes ceilometer from the integrated gate. Sadly the
ceilomteter roles and playbooks have been a little neglected which has
resulted in a slow and sometimes unstable system. To improve gate times
ceilometer has been pulled out of the integrated gate. Once we're able
to get the ceilometer roles and playbooks  updated to the latest
release and we're able to resolve all of the deprecations we should
put these rolse back in rotation for the integrated gate.

Change-Id: I116928a1db96e242ed87177578581fe7bf16a001
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-02-27 15:43:33 -06:00
Kevin Carter
4c04c688e7 unify interface lookups
The playbooks were running a bunch of common tasks that could be
simplified and unified into a single common_task include. This PR moves
the interface look into a single place and cleans up the duplicate code
within the cinder, neutron, and nova playbooks.

Change-Id: I46f2812670ea17b9ff28ef6f054d82fd6dccc999
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-02-27 20:50:07 +00:00
Jenkins
945a785ce9 Merge "Update thread/worker settings for optimal memory usage" 2017-02-27 18:57:27 +00:00
Jenkins
bfca7241e0 Merge "Updated from global requirements" 2017-02-27 15:48:35 +00:00
Jenkins
a721668811 Merge "Disable haproxy endpoint drain wait" 2017-02-27 15:48:29 +00:00
OpenStack Proposal Bot
9aeea15940 Updated from global requirements
Change-Id: I0d4c10bdfa676a57ef75e5a5cba62a4064d664fd
2017-02-27 01:16:06 +00:00
Jenkins
b6c51bc6d1 Merge "Fix error during 'inventory-manage.py -r' calls" 2017-02-26 14:02:09 +00:00
Logan V
ce14919513 Disable haproxy endpoint drain wait
When haproxy endpoint management has a wait condition for the
connection drain to occur, it causes the module to fail if a backend
is not specified. Since our current implementation relies on backend
auto discovery (since the same host may be present in multiple backends),
this causes the module to fail when it attempts to disable the endpoints.

Change-Id: Ia292e4cb4d8ba73a72af8305cc2006aea9c43e32
2017-02-25 17:30:42 -06:00
Joel Griffiths
3a08bb7b78 Fix error during 'inventory-manage.py -r' calls
Use load_inventory instead for load_from_json. Rename
load_from_json to _load_from_json.

Move most of the --clear-ip and --remove calls to their
corresponding functions. Modified other calls to account
for the change

Add a test to test for inventory item removal.

fixes bug: 1663328

Change-Id: I2dbecb085383b3d02e298cc09b02566d1e52a064
2017-02-24 19:37:06 +00:00
Jesse Pretorius
0463862c6e Update thread/worker settings for optimal memory usage
Change-Id: I30800b385e08541ab0e7600f9ab24d143b968022
2017-02-24 11:41:48 -05:00
OpenStack Proposal Bot
41cf2f51d7 Updated from global requirements
Change-Id: I898728f2bb12bb97d6035d165b8b142c6996a903
2017-02-24 00:13:13 +00:00
Jenkins
9f3419e91d Merge "Update doc index for Pike" 2017-02-23 21:24:59 +00:00
Jenkins
2ac8c3f226 Merge "Use setuptools 33.1.1" 2017-02-23 20:16:06 +00:00
Jesse Pretorius
e0f219a367 Update doc index for Pike
Change-Id: I6e0df41ffa2e345e39b5c5502d904357ed52db63
2017-02-23 15:07:51 -05:00
Jenkins
d8d8540369 Merge "[Doc] fix small typo" 2017-02-23 17:03:50 +00:00
Marc Gariepy
d427a7f9e1 [Doc] fix small typo
Change-Id: I81178b9c91d18b610592ba601070e8f9b77b8227
2017-02-23 10:46:06 -05:00
Jenkins
e80770ffc4 Merge "[docs] Update troubleshooting chapter in ops guide" 2017-02-23 15:29:45 +00:00
Jenkins
55f2b6d497 Merge "Deprecate ceilometer-collector" 2017-02-23 14:59:23 +00:00
Jesse Pretorius
6a8f21dedb Use setuptools 33.1.1
As per [1] and [2] setuptools 34.0.0-34.2.0 does not handle
re-installs or upgrades properly.

This patch reduces the version we use to the last known
good version.

[1] https://github.com/pypa/setuptools/issues/951
[2] https://review.openstack.org/436948

Change-Id: Ic08f6d0035c4bbaa22412ad5f4176c2fe09cee3b
2017-02-23 14:56:17 +00:00
daz
53d6e17602 [docs] Update troubleshooting chapter in ops guide
1. Fix typos and markup
2. Change glance cli command to openstack cli command
3. Updated chapter introduction

Change-Id: I3c814e51409feac1852440078da89c58d7d34dbd
Implements: blueprint create-ops-guide
2017-02-23 16:25:00 +11:00
Miguel Alex Cantu
42292e1ecd Deprecate ceilometer-collector
Per https://review.openstack.org/#/c/413920/, the ceilometer-collector
service is now deprecated.
This commit removes the inventory group mappings to the
ceilometer-collector service/container. It also removes
the service from the bootstrap and testing inventory.

Relates-To: I396b154d106c0afba44d57792ae6dad39b33a6f5
Closes-Bug: 1666238
Change-Id: Ied14c2a0eda928197c187ad28781568f2d58f51c
2017-02-22 20:09:06 -05:00
Jenkins
07f448e501 Merge "[Docs] Remove infra references from refinfo" 2017-02-22 21:05:56 +00:00
Jenkins
5edce69de8 Merge "[Docs] Scratch the content of backup and restore" 2017-02-22 21:05:50 +00:00
Jenkins
f20cf0a04a Merge "[Docs] Refactor galera ops page" 2017-02-22 21:05:47 +00:00
Jenkins
3d452be1f0 Merge "[Docs] Integration of role maturity matrix" 2017-02-22 21:05:41 +00:00
Jenkins
ef156fc88f Merge "Fix ceph AIO bootstrap for CentOS" 2017-02-22 21:05:35 +00:00
Jenkins
705891eb88 Merge "Serialize Keystone and manage haproxy endpoints" 2017-02-22 21:05:25 +00:00
Jenkins
517285da37 Merge "Add in ironic_service_user_name group_vars/all.yml" 2017-02-22 21:05:19 +00:00
Jean-Philippe Evrard
4f1010d48f [Docs] Remove infra references from refinfo
Reference Information shouldn't assume the name of the node used
to deploy openstack-ansible.

Change-Id: I1004f97474aaead6f83b99b362420edbe976f831
2017-02-22 19:46:40 +00:00
Jean-Philippe Evrard
7544ea9986 [Docs] Scratch the content of backup and restore
This is wrong. We need to work on it.

Change-Id: Id9456da09cbd30583d7410e79c8ea78fe77f09b4
2017-02-22 19:45:54 +00:00
Jean-Philippe Evrard
fc49b7d135 [Docs] Refactor galera ops page
A few readability issues should be fixed now.

Change-Id: Ie189f1aa55970b14930058717be512e472ef1d36
2017-02-22 19:45:25 +00:00
Jean-Philippe Evrard
a930912bff [Docs] Integration of role maturity matrix
Generation will come later.

Change-Id: Iefccc0304963f5badd4da74080962bd512212777
2017-02-22 19:42:12 +00:00
Marc Gariepy
f09e0a27f5 Fix fastest-infra-wheel-mirror.py for CentOS.
on CentOS:
In [2]: platform.linux_distribution()
Out[2]: ('CentOS Linux', '7.2.1511', 'Core')

Also don't add repo_build_pip_extra_indexes if the mirror list is empty

Change-Id: Ia17915a03e7460689a8e403f93bcc87485cde13d
2017-02-22 14:26:44 +00:00
Michael Davies
3bdf5aabbb Add in ironic_service_user_name group_vars/all.yml
The os_nova role is referring to the ironic_service_user_name variable
but it is not defined anywhere.  This patch adds it back into the
default set of variables.

Change-Id: I4b9f49db9b101be84d4792fb2d409c489161c953
Closes-Bug: #1647253
2017-02-22 13:52:45 +10:30
Marc Gariepy
cd267f153c Fix ceph AIO bootstrap for CentOS
Change-Id: I1f9b86c217ce9a442c4e203ab6c75cc15ea7fffb
2017-02-21 22:42:22 +00:00