Commit Graph

16 Commits (e36b7130ff1c5366ab1c767641a8819d4fdf5e5f)

Author SHA1 Message Date
Monty Taylor 96759cda82 Add deprecation notices to the old nova inventory 10 years ago
Marc Abramowitz 1560b963aa nova.py: Support OS_AUTH_SYSTEM and OS_REGION_NAME 10 years ago
Marc Abramowitz cd5edc416c nova.py: Set defaults for OpenStack settings
- auth_system
- region_name
- service_type

These are config settings that could be left out in many scenarios, but
the current code is requiring them. In particular, "service_type" is a
new one in PR #7444 so if we add that and don't set a default, then
existing .ini files won't work:

```
  File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py",
line 618, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'service_type' in section:
'openstack'
```
10 years ago
Carson Gee eccb48c8da Improvements to OpenStack inventory script 10 years ago
Monty Taylor a05804bf8d Update the nova inventory plugin with new ip code
The provisioning module knows more about how nova deals with IP
addresses now. Ensure that the inventory module is similarly as smart
by separating out the logic into the openstack/module_utils.
10 years ago
James Cammarata 366b39cfc1 Merge pull request #8007 from msabramo/nova.py_set_defaults
nova.py: Set defaults for OpenStack settings
10 years ago
James Cammarata 67e56853d3 Merge pull request #7996 from msabramo/nova.py_JSON_indented_and_sorted
nova.py: indented and sorted JSON output
11 years ago
Marc Abramowitz 50ffa9e0e7 nova.py: Set defaults for OpenStack settings
- auth_system
- region_name

These are config settings that could be left out in many scenarios, but
the current code is requiring them. With this in place, I can get by
with this minimal .ini file:

```ini
[openstack]
version=1.1
auth_url=http://{keystone_host}:5000/v2.0
project_id=web
username={username}
api_key={password}
```
11 years ago
Marc Abramowitz 26cc0b3780 nova.py: indented and sorted JSON output 11 years ago
Marc Abramowitz 685fae4d9c nova.py: Remove DOCUMENTATION block
@mpdehaan said that nothing uses them at
https://github.com/ansible/ansible/pull/7988#issuecomment-47600006
11 years ago
Hector Acosta a080873e7c Show friendlier error message if nova.ini is not found.
Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
11 years ago
bennojoy b16e2a1d48 OpenStack Modules 12 years ago
Jeffrey Chu fb39c89bd2 Use environment python in nova.py 12 years ago
Marco Vito Moscaritolo cdb8343ec6 Added documentation for nova inventory system 12 years ago
Marco Vito Moscaritolo 7fed89b51d Improved RackSpace configuration support (needed by latest version of rackspace API) 12 years ago
Michael DeHaan 41dd4a1f93 Merge plugins tree 12 years ago