Sagi Shnaidman
572fe85894
Remove ANSIBLE_METADATA from all modules
...
It's not required for collections,
for more details:
https://github.com/ansible-collections/overview/issues/57
Change-Id: I954eef25bb9837c9282665ad5586dbe37f4f4424
2020-05-14 17:00:01 +03:00
Monty Taylor
e47c4671c7
Rename all of the modules
...
This is separate from the previous patch - it's just the results
of running the script so we can review the two a little independently.
We should probably squash them.
Change-Id: I838f15cf4a32455a5be20033c8ddc27db6ca15c0
2020-05-12 10:20:50 -05:00
Monty Taylor
238387f2f8
Remove incorrect os_ prefix in documentation
...
The parameteres are project_domain_name and user_domain_name.
Change-Id: I509ae5d398ff8a93d3cbcd09edb21118a1ff03c3
2020-05-12 10:10:57 -05:00
Zuul
1906b85668
Merge "Updated allocation pool checks"
2020-05-10 14:21:01 +00:00
Ken Dreyer
25ad4882b0
os_server_action: pass imageRef to rebuild
...
Prior to this change, the os_server_action module could not rebuild
servers, because it passed no arguments to the "rebuild" object.
The imageRef parameter is mandatory. If the client does not specify
imageRef, Nova takes no action to rebuild the server.
Change-Id: I0edbdb634feb90d4c54476a4089fcb014c0b83b2
2020-04-29 14:56:49 -06:00
rawat
95dcd82cbb
Updated allocation pool checks
...
As per the REST Networking API v2.0 (Subnet) docs, if subnets pools
are not specified, OpenStack networking automatically allocates pools
covering all IP addresses in the CIDR.
In custom vendor specific environments, subnets can be created without
allocation pools via UI due to which subnets will not have any existing
allocation pools. Under this scenario, module throws an
"IndexError: list index out of range" error.
Also, allow to add more allocation pools on top of existing allocation
pools.
Change-Id: Ib8becf5e958f1bc8e5c9fd76f1722536bf1c9f1a
2020-04-27 07:19:56 +10:00
Sagi Shnaidman
b824bf1c38
Convert os_server_info to use OpenStackModule
...
Change-Id: I864c767ff06d32dd79b72826cfc09e7203e5291d
2020-04-21 19:08:46 +03:00
Zuul
d1ad72a068
Merge "Add properties for os_project"
2020-04-16 19:33:48 +00:00
Duc Truong
c1a2496e0f
Add properties for os_project
...
Keystone supports setting custom properties for projects. This changes add
properties to os_project to enable setting of custom properties.
Depends-On: https://review.opendev.org/715255
Change-Id: I23e2834d6b9d40ce86db4b32a0ed8bf76b3d9879
2020-04-14 10:11:12 -07:00
Zuul
2b51a58da2
Merge "New Module: os_keystone_federation_protocol_info"
2020-04-03 16:13:26 +00:00
Zuul
0424bb8ac1
Merge "New Module: os_keystone_federation_protocol"
2020-04-03 16:12:45 +00:00
Mark Chappell
583770f597
New Module: os_keystone_federation_protocol_info
...
Add support for getting information about Keystone federation Protocols
Change-Id: Id389b094465967a2a8a0eff428f1f6679865c6f6
2020-04-02 17:27:06 +02:00
Mark Chappell
8729b8da72
New Module: os_keystone_federation_protocol
...
Add support for Keystone federation Protocols
Depends-On: https://review.opendev.org/714431
Depends-On: https://review.opendev.org/713461
Change-Id: I6dff6cebe72106e601834976e369e08583391c55
2020-04-02 17:26:31 +02:00
Mark Chappell
54c189063f
os_keystone_mapping: fixup some minor nits found in followup reviews
...
Change-Id: I0c8995e8d52a993395e674c06c84f6398473754c
2020-04-02 17:23:27 +02:00
Zuul
bf4af7b1b9
Merge "New Module: os_keystone_identity_provider_info"
2020-04-02 14:42:08 +00:00
Zuul
9e2eeedaf3
Merge "New Module: os_keystone_identity_provider"
2020-04-02 14:42:08 +00:00
Zuul
d2379cd284
Merge "New module: os_keystone_mapping_info"
2020-04-02 14:35:51 +00:00
Mark Chappell
c85817dac9
New Module: os_keystone_identity_provider_info
...
Add support for fetching the information about federation IDPs
Change-Id: I36b7fa264866689e09b020b13b7bdc3843bfacfb
2020-04-02 13:59:14 +02:00
Mark Chappell
b74791754b
New Module: os_keystone_identity_provider
...
Add support for Keystone Identity Providers
Depends-On: https://review.opendev.org/714122
Depends-On: https://review.opendev.org/713461
Change-Id: I9d4ba6b9e7b1e618f985a8264fb0238fe3cbc7bd
2020-04-02 13:59:14 +02:00
Mark Chappell
1b7ecc7a4a
New module: os_keystone_mapping_info
...
Change-Id: I716c00b7f3cde7df6a220c20a8c0652ccbe8bdce
Depends-On: https://review.opendev.org/716908
2020-04-02 13:43:31 +02:00
Sagi Shnaidman
347347b46e
Fix ansible sanity linter tests
...
Change-Id: I2d08fdc77d930378be515da697c1cf975dd8b4d2
2020-04-02 13:20:01 +02:00
Mark Chappell
cde068ca70
New Module: os_keystone_mapping
...
Depends-On: https://review.opendev.org/713633
Depends-On: https://review.opendev.org/713461
Change-Id: I6842b7d10fca292a6779043b50fb95bd0d93e584
2020-03-26 07:18:46 +01:00
Monty Taylor
75cc5012e3
Update os_client_config to use openstacksdk
...
This never got migrated but should. os-client-config is only
on life support.
Change-Id: I2d77c9f7d147900b79a410c17cce197108c0a69b
2020-03-17 13:35:45 -05:00
Mark Chappell
e39c5d0a9a
Fixup elements related sanity failures
...
Change-Id: I6f2bba929af5a148a1f52df26916e00efcc14a07
2020-03-16 15:49:49 +01:00
Mark Chappell
63e444a324
Ensure documented choices match spec
...
Change-Id: Ia40e846f970a05a894601a7a37af0231f136bab6
2020-03-16 14:15:04 +01:00
Mark Chappell
f52598dd90
Use dict rather than complex for os_quota return type.
...
Change-Id: Ib8275a88eefb46ace471ddd12fadb018b4adbf9b
2020-03-16 13:56:58 +01:00
Mark Chappell
f16eda89dd
Ensure defaults match spec
...
Change-Id: Ie5c499d7e035a0e9c3ac32e5dc5d57151c1745ed
2020-03-16 13:56:58 +01:00
Mark Chappell
aeb0e78148
Clean up doc-required-mismatch
...
Change-Id: Ia1449c50295f6b3551f176edf9bd439ace65ec90
2020-03-16 13:56:58 +01:00
Mark Chappell
1849f8bd47
Add missing type information to docs
...
Change-Id: Iac23d54512b23f031460d1b7281ccb8d93e20cad
2020-03-16 13:56:58 +01:00
Mark Chappell
9e9dacdf3c
Fix doc requirements, and consistently require python 3.6+
...
Change-Id: I43f4ba5718422f75f553e3cae88fa887722aa044
2020-03-16 10:32:21 +01:00
Mark Chappell
400e9c4873
Move default availability_zone docs into doc_fragment
...
If availability_zone is defined in the module this will override the fragment
Change-Id: I4f6abcbfee89a53480134dc64ca06782c8e6d094
2020-03-16 10:32:20 +01:00
Mark Chappell
c5cd1a0e9f
os_nova_host_aggregate: Add support for not 'purging' missing hosts
...
Change-Id: I3ac44e49ef2b8b05b2a182916e2ba5a0a980692f
Depends-On: https://review.opendev.org/712917
2020-03-13 16:49:20 +01:00
Mark Chappell
d39f3ae5b0
os_nova_host_aggregate: Fixup sanity test failures
...
Change-Id: I40cc48c8b04713a63ab8fd8c71b785a824cf3715
2020-03-13 16:49:20 +01:00
Zuul
c9d2866b57
Merge "Test with and assert support for python3"
2020-03-04 22:27:00 +00:00
Zuul
11331d7f1f
Merge "Remove from __future__ lines"
2020-03-04 22:26:59 +00:00
Zuul
fba0eda1d8
Merge "Fix H236 and remove exclusion"
2020-03-04 22:22:02 +00:00
Monty Taylor
53affc3220
Test with and assert support for python3
...
Collections are new. openstacksdk as of now doesn't support python2.
We shouldn't pretend to support python2 either. If you're using
ansible new enough to use collections, you can use python3.
This release of openstacksdk only supports 3.6 and onwards, so
set that as our min.
Change-Id: I34d544ce48f25bffde8e6e0cf82cdf9a85e681c3
2020-03-03 09:28:43 -06:00
Zuul
17cdcee058
Merge "os_coe_cluster: Retrive id/uuid correctly"
2020-03-02 18:36:17 +00:00
Bharat Kunwar
050acb6c03
os_coe_cluster: Retrive id/uuid correctly
...
Fix https://github.com/ansible/ansible/issues/67576
Change-Id: I59b07a8733d549015ed1999e30970d1131c82f99
Signed-off-by: Bharat Kunwar <brtknr@bath.edu >
2020-03-02 17:09:30 +00:00
Zuul
79b2b1001a
Merge "Fix F401 and remove exclusion"
2020-03-02 13:31:36 +00:00
Zuul
4b6c60ff14
Merge "Fix W504 and remove exclusion"
2020-03-02 13:31:35 +00:00
Zuul
d2674e42b2
Merge "Fix E128 and remove exclusion"
2020-03-02 13:31:35 +00:00
Zuul
32905ea099
Merge "Fix F841 and remove exclusion"
2020-03-02 13:31:33 +00:00
Monty Taylor
96a5914eb6
Remove from __future__ lines
...
We only support python3
Change-Id: Ieb82eb3369c4ac73f3595dc84ca11e1f11766a79
2020-03-01 06:26:03 -06:00
Monty Taylor
9d29e8c847
Fix H236 and remove exclusion
...
We haven't needed this in a VERY long time.
Change-Id: I35041c2c6ae421e7caaef3c04ffca92e2ff10e35
2020-03-01 06:22:58 -06:00
Zuul
584220fdd3
Merge "fix constructed compose"
2020-02-27 23:38:05 +00:00
Monty Taylor
86670bcec9
Fix F401 and remove exclusion
...
Change-Id: Id2dbff06925ed8326e4a214aabc19d4ada5db69c
2020-02-27 13:56:48 -06:00
Monty Taylor
92d7d7caeb
Fix W504 and remove exclusion
...
This is a topic where there are two points of view. While neither
is fundamentally better than the other in reality, what's best is
to not have any arguments about it. The tox.ini comments about 503
and 504 that were in place make the argument that:
- 503 is intended to be disabled and 504 enabled by default
- Donald Knuth believes 504 is the right way
Since Donald Knuth is smarter than all of us, align with 504, match
the comments in the file and turn on enforcement to keep it that way.
Change-Id: I92d4d1e82935e30ae42a0e14e641cbe36fd6e811
2020-02-27 13:56:48 -06:00
Monty Taylor
72ba76f156
Fix E128 and remove exclusion
...
Change-Id: I0517c0ed09d7834df763c745936793739e88ef9d
2020-02-27 13:56:48 -06:00
Monty Taylor
15f7f7fc7b
Fix F841 and remove exclusion
...
Change-Id: I92802ced580d42781cfd875389daa232aa8a64a5
2020-02-27 13:56:48 -06:00