Commit Graph

7 Commits (5d78239f07422ee2acef487d0a7c24a295e148db)

Author SHA1 Message Date
Monty Taylor 510e1140ce Error if shade is too old for domain_id on os_project (#2806)
* Error if shade is too old for domain_id on os_project

os_project's domain_id parameter requires shade >= 1.8.1 to work. Be
explicit.

Fixes #2805 os_project requires python-shade 1.8.1 or higher

* What I really meant was 1.8.0
2016-12-08 11:34:47 -05:00
Alvaro Aleman 54d40fe557 Ensure os_project checks the right domain (#2519) 2016-12-08 11:34:32 -05:00
Ricardo Carrillo Cruz ba3515bc30 Allow passing domain name on os_project 2016-12-08 11:33:59 -05:00
Ricardo Carrillo Cruz 9fea94b5bf Fix instantiation of openstack_cloud object in os_project
The os_project module instantiates the openstack cloud object
by passing the module params kwargs.
As the params contain a key named 'domain_id', this is used
for domain in the OpenStack connection, instead of the domain value
the user specifies on the OSCC clouds.yaml or OpenStack envvars.
This fix corrects this by popping the 'domain_id' key, so it we
keep the value but it's not passed later on module.params.
2016-12-08 11:33:53 -05:00
Brian Coca 896eecfdad fixed domain_id to actually be supported
also added domain as an alias
alt fixes #1437
2016-12-08 11:33:41 -05:00
Alberto Gireud a7b90cf456 Fix return documentation 2016-12-08 11:33:34 -05:00
Alberto Gireud bbdebd7548 Add openstack project module 2016-12-08 11:33:34 -05:00