6 Commits

Author SHA1 Message Date
git-harry
5768314812 Set default inventory file for inventory-manage.py
The script inventory-manage.py takes a file argument. The default name
for this file, in the project, is openstack_inventory.json. Not only is
it the default but the rest of the project assumes that it will be that
name.

This commit sets the default argument for the file parameter to this
assumed file name - 'openstack_inventory.json'.

Change-Id: I635122d22bb0467aad21f48dccda1bc0444518c1
Closes-bug: #1454324
2015-07-07 10:38:02 +00:00
Jesse Pretorius
72f33ff7b4 Flake8 update - inventory-manage.py
This update fixes issues with linting such that it can now pass
OpenStack hacking/flake8 checks.

Partial-Bug: #1440462
Change-Id: I5fae26dc6af5fe09ef6bfcab9bb0894f27e7aae6
2015-04-07 10:38:21 +01:00
Dolph Mathews
923f1b2263 Remove support for ~/.openstack_deploy/
The README documents support for housing openstack_deploy/ in an
unprivildged user's home directory, but then the script for creating
openstack-ansible immediately requires root privileges, meaning that you
can't setup openstack_deploy/ in an unpriviledged user's home dir at
all.

This removes support for the feature instead of trying to fix it,
because I don't see a use case in keeping it, and there are many
additional fixed references to /etc/keystone_deploy/ that would have to
be made dynamic.

Change-Id: I19c6a568d1d52c33b3c13e9c007ca59e44d8c1dd
Closes-Bug: 1435597
2015-03-23 22:28:34 +00:00
Jesse Pretorius
81c4ab04f7 Remove and/or rename Rackspace related bits
This patch removes and/or renames anything that is Rackspace specific
from the playbooks, roles and variables.

It also removes items which appear to be orphaned/unused and flattens
the playbooks into a single directory in order to better match ansible
best practise (and remove some horrible fiddles we were doing).

The following have been removed due to RAX/RPC naming or RAX/RPC
specific usage:
 - playbooks/monitoring
 - playbooks/rax*
 - playbooks/rpc*
 - roles/maas*
 - roles/rax*
 - roles/rpc*
 - scripts/f5-*
 - scripts/maas*
 - scripts/rpc*
 - scripts/*lab*
 - vars/repo_packages/rackspace*
 - vars/repo_packages/rax*
 - vars/repo_packages/rpc*
 - vars/repo_packages/holland.yml

The following have been removed as they are unused:
 - playbooks/setup/host-network-setup.yml
 - roles/openssl_pem_request
 - roles/host_interfaces
 - scripts/elsa*
 - ssh/
 - vars/repo_packages/turbolift.yml

The following directories have been renamed:
 - etc/rpc_deploy > etc/openstack_deploy
 - rpc_deployment > playbooks

The playbooks have all been moved into a single directory:
 - rpc_deployment/playbooks/infrastructure/* > playbooks/
 - rpc_deployment/playbooks/openstack/* > playbooks/
 - rpc_deployment/playbooks/setup/* > playbooks/

The following files have been renamed:
 - lxc-rpc > lxc-openstack
 - lxc-rpc.conf > lxc-openstack.conf
 - rpc_environment > openstack_environment
 - rpc_release > openstack_release (etc and pip)
 - rpc_tempest_gate.sh > openstack_tempest_gate.sh
 - rpc_user_config > openstack_user_config

The following variables have been renamed:
 - rpc_release > openstack_release
 - rpc_repo_url > openstack_repo_url

The following variables have been introduced:
 - openstack_code_name: The code name of the upstream OpenStack release
   (eg: Juno)

Notable variable/template value changes:
 - rabbit_cluster_name: rpc > openstack
 - wsrep_cluster_name: rpc_galera_cluster > openstack_galera_cluster

DocImpact
Closes-Bug: #1403676
Implements: blueprint rackspace-namesake
Change-Id: Ib480fdad500b03c7cb90684aa444da9946ba8032
2015-02-13 18:03:54 +00:00
Jacob Wagner
b0166e98ba added ability to sort the output of inventory-manage.py 2014-08-29 18:14:32 -05:00
d34dh0r53
6f6e75f549 Initial Commit 2014-08-26 18:08:15 -05:00