Commit Graph

12 Commits

Author SHA1 Message Date
Jesse Pretorius (odyssey4me)
1a597c2b03 Bump minimum openstacksdk version when using os_network/dns_domain
With the addition of [a], the minimum openstacksdk version needs to
be bumped to include [b], or the os_network module will return the
error:

TypeError: create_network() got an unexpected keyword argument 'dns_domain'

To handle this, we fail the module if the dns_domain argument is used
and the minimum openstacksdk version for that argument is not met.

[a] 6c74e29618
[b] a3e846e2b9

Fixes: #64495
Fixes: #64841
Change-Id: I8c41e505d5c1949ddc535c78933da06405c47299
2020-01-30 17:40:03 +00:00
Sagi Shnaidman
cb2c6f403e Add rstcheck for ansible-test to lint RST files
Change-Id: I02e2ac73a6d56f83f0ec597d6c60c5757cec3f90
2020-01-28 17:23:00 +02:00
Zuul
d36da2d1ce Merge "Fix argument spec for os_subnet and os_zone" 2020-01-28 01:22:42 +00:00
Zuul
e7191aa699 Merge "fix os_user_role for groups in multidomain context" 2020-01-28 01:22:39 +00:00
Sagi Shnaidman
edefe417ae Add colleciton repo to required projects
Add collections repo to "required projects" so that we can run it
on amy repo, not only on collections.

Change-Id: I0e58b84a3688534fe61c6c88ff482630f6fbec93
2020-01-27 16:40:36 +02:00
Bram Verschueren
c7506b5b10 fix os_user_role for groups in multidomain context
This fixes searching for a group in multi-domain context by passing the
domain_id in the call to get_groups.

original github PR: https://github.com/ansible/ansible/pull/62858

Change-Id: Ia2216728c15cc9d9a5e29bfe6b9fc63d2c6982ce
Task: 38375
Story: 2007209
2020-01-23 08:22:46 +01:00
Abhijeet Kasurde
ead550d34e Fix argument spec for os_subnet and os_zone
Ansible argument spec provides facility to provide choices
for the given parameter.
Module os_subnet and os_zone spells 'choices' incorrectly.
This change fixes these modules, by changing 'choice' to 'choices'.

Original Upstream PR: https://github.com/ansible/ansible/pull/65497

Change-Id: I3eed5feeef1234996f22bf8dfe7ecec0bc8eb298
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-01-22 13:19:00 +02:00
Valery Tschopp
4c03ae0c16 Fix os_user_role issue to grant a role in a domain
Set domain_id when domain is set or project/domain is set.

Change-Id: I0f189647cd9b97252f29055506f75dfd8398dee4
Task: 38309
Story: 2007184
2020-01-21 16:56:16 +00:00
Sagi Shnaidman
7c52b83b52 Run functional devstack job on ansible collection
Porting of job that was running on patches in Ansible.

Change-Id: Ifa5a6b40d6a0f1de9f2cbc917a55c2d0e8ac421d
2020-01-21 00:25:48 +02:00
Sagi Shnaidman
57b76835c9 Make collection tar file path version independent
Find collection TAR file by "ls".
Change-Id: Icf988005258b260b51e8de7e70b344275948b40b
2020-01-19 21:19:51 +00:00
Sagi Shnaidman
6ac08e7f0e Migrate openstack modules as a collection
Migrate accordin to Ansible guidelines [1[]] and tool
migrate.py [2]
Also fixed ALL ansible-test sanity issues

Add pep8 and linter job with runs ansible-test sanity test.

[1] https://etherpad.openstack.org/p/openstack-ansible-modules
[2] https://github.com/ansible-community/collection_migration

Change-Id: Ib2b1c8f23aacfca95304132bfe5c4cdedbea0520
2020-01-17 14:07:24 +00:00
OpenDev Project Creator
20619996d5 Added .gitreview 2019-09-25 15:21:42 +00:00