- Jul 22, 2022
-
-
Jakob Meng authored
With Ansible OpenStack collection 2.0.0 we break backward compatibility to older releases, mainly due to breaking changes coming with openstacksdk >=0.99.0. For example, results will change for most Ansible modules in this collection. We take this opportunity to drop the symbolic links with prefix os_ in plugins/modules and the plugin routing in meta/runtime.yml. This means users have to call modules of the Ansible OpenStack collection using their FQCN (Fully Qualified Collection Name) such as openstack.cloud.server. Short module names such as os_server will now raise an Ansible error. This also decreases the likelihood of incompatible Ansible code going undetected. Symbolic links were introduced to keep our collection backward compatible to user code which was written for old(er) Ansible releases which did not have support for collections and where OpenStack modules where named with a prefix os_ such as os_server which is nowadays known and stored as openstack.cloud.server. In Ansible aka ansible-base 2.10, a internal routing table lib/ansible/config/ansible_builtin_runtime.yml [1] was introduced which Ansible uses to resolve deprecated module names missing the FQCN (Fully Qualified Collection Name). Additionally, collections can define their own plugin routing table in meta/runtime.yml [2] which we did. In ansible-base 2.10 and ansible-core 2.11 or later, if a user uses a short module name and the collections keyword is not used, Ansible will first look in the internal routing table, get an FQCN, and then looks in the collection for that FQCN. If there is another routing entry for that new name in that collection's meta/runtime.yml, Ansible will continue with that redirect. If it does not find another redirect, Ansible will look for the plugin itself, so it will not find a redirect in the collection before looking at its internal redirects. Except if the user uses a FQCN, then it looks directly in that collection. Ansible 2.9 and 2.8 do not have any notion of these redirects with a plugin routing table, backward compatibility with deprecated os_* module names is solely achieved with symbolic links. Ansible releases older than 2.11 are EOL [3], so usage of os_* symlinks should reduce soon. [1] https://github.com/ansible/ansible/blob/devel/lib/ansible/config/ansible_builtin_runtime.yml [2] https://github.com/openstack/ansible-collections-openstack/blob/master/meta/runtime.yml [3] https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html Change-Id: I28cc05c95419b72552899c926721eb87fb6f0868
-
- Mar 31, 2022
-
-
Ümit Seren authored
Change-Id: Ib8b5481a1e257490f2a9ff62659a70ea2e920304
-
- Feb 09, 2022
-
-
Harald Jensås authored
Create, Update, Remove ironic ports from OpenStack. NOTE: Does not support 'is_smart_nic', afict this is not implemented in openstacksdk. Change-Id: I6d9519988e98b10d0f7bd19b1387fb1f3b657046
-
Harald Jensås authored
Retrieve information about Bare Metal ports from OpenStack NOTE: Does not support 'is_smart_nic', afict this is not implemented in openstacksdk. Change-Id: I1d57ab976ac3b4c5552b9b21db7e90e25fd71764
-
- Feb 03, 2022
-
-
Harald Jensås authored
Add module baremetal_node_info / os_ironic_info. Retrieve information about Bare Metal nodes from OpenStack Change-Id: I597a66b817bb6b53ecad7503e44f6818aec031a2
-
- Jan 11, 2022
-
-
hamza alqtaishat authored
The module retrieve the nova compute services info filters by * host * binary ( nova-compute, nova-conductor, ... ) Closes-Bug: 2009775 Change-Id: I0f9cac27a7a91727ba1d005e04431e8f83c46fa8
-
- Jul 29, 2021
-
-
Sagi Shnaidman authored
Disable ansible-test since it's broken in 2.11[1] [1] https://github.com/ansible/ansible/issues/75353 Change-Id: Idd2f99ddfe507b5b02de206c1f8c75692d6a84a2
-
- Jun 22, 2021
-
-
Ümit Seren authored
Change-Id: If02e03f124a8677cba42aa7019947e8f00ea476f
-
- Jun 17, 2021
-
-
Polina Gubina authored
Change-Id: I99f084bcb2fa3d4a203f439a55eef162ab82d43d
-
- May 27, 2021
-
-
Polina Gubina authored
Change-Id: If932651c9d7a1819f805a49b020826682c5b8087
-
- Apr 08, 2021
-
-
Polina Gubina authored
Change-Id: I13161b360addac2d2c1c507145b5be653d6dec17
-
- Feb 04, 2021
-
-
Artem Goncharov authored
Let's add a new missing module for getting info about security groups. Add tests. Change-Id: Ib032c8d14444cea1fcbfd98d252cc56b9f5f383e
-
- Jan 28, 2021
-
-
tischrei authored
Let's add a new missing module for getting info about security group rules. Change-Id: Iba2fe66c4bd19ab66f8e35c091ed4c0ea423efd1
-
- Jan 25, 2021
-
-
Irina Pereyaslavskaya authored
Change-Id: Idc3c50e9857b9bc87767cc93096fe7a8b24b298e
-
- Sep 30, 2020
-
-
Artem Goncharov authored
Change-Id: I4edc34639f17adb97dd055fcdeec14ea92acb9bd
-
Artem Goncharov authored
Change-Id: I5ef76247a449b1b8653bb2bb91fccd5f3db57cf8
-
- Sep 29, 2020
-
-
Artem Goncharov authored
Introduce volume_backup module to manage volume/snapshot backups. Change-Id: Ibc4e87d47d8e38a0cf52e391dafdf025ab202982
-
- Aug 16, 2020
-
-
Sagi Shnaidman authored
Add module for retrieving information about volumes in a cloud. Story: #2007817 Task: #40095 Change-Id: Ic7551c1737b08b967613e42923f5ea4ec0b606a4
-
- Jun 17, 2020
-
-
Sagi Shnaidman authored
from https://github.com/openstack/ansible-collections-openstack/pull/2 Change-Id: I82c68c31bccd54d5c2624bf2081820c09791b466
-
- May 16, 2020
-
-
Monty Taylor authored
The collection routing implementation for 2.10: https://github.com/ansible/ansible/pull/67684 just update the filename to be meta/runtime.yml. Change-Id: I858f53e66bef2c40fb7ec2821d412bd966417106
-
- May 12, 2020
-
-
Monty Taylor authored
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
-
Monty Taylor authored
The 2.10 transition has a routing.yml file that points each individual module from ansible/ansible to a new location. That means we can put: os_server: redirect: openstack.cloud.server into lib/ansible/config/routing.yml in ansible/ansible and have the result be the end user's playbooks still working with the old names while providing new names that are less ugly. This adds a routing file to our collection repo, as well as the script used to generate the new mapping. Change-Id: Ia5d18282b14ad0d86a347343be8bb477ae47130a
-
- Apr 02, 2020
-
-
Mark Chappell authored
Add support for getting information about Keystone federation Protocols Change-Id: Id389b094465967a2a8a0eff428f1f6679865c6f6
-
Mark Chappell authored
Add support for Keystone federation Protocols Depends-On: https://review.opendev.org/714431 Depends-On: https://review.opendev.org/713461 Change-Id: I6dff6cebe72106e601834976e369e08583391c55
-
Mark Chappell authored
Add support for fetching the information about federation IDPs Change-Id: I36b7fa264866689e09b020b13b7bdc3843bfacfb
-
Mark Chappell authored
Add support for Keystone Identity Providers Depends-On: https://review.opendev.org/714122 Depends-On: https://review.opendev.org/713461 Change-Id: I9d4ba6b9e7b1e618f985a8264fb0238fe3cbc7bd
-
Mark Chappell authored
Change-Id: I716c00b7f3cde7df6a220c20a8c0652ccbe8bdce Depends-On: https://review.opendev.org/716908
-
- Mar 26, 2020
-
-
Mark Chappell authored
Depends-On: https://review.opendev.org/713633 Depends-On: https://review.opendev.org/713461 Change-Id: I6842b7d10fca292a6779043b50fb95bd0d93e584
-
- Mar 10, 2020
-
-
Sagi Shnaidman authored
It's possible in Ansible to set options for modules with modules_default keyword[1]. For some of modules it's possible to do with module_default groups, like cloud modules[2] Add this option to OS modules. [1] https://docs.ansible.com/ansible/latest/user_guide/playbooks_module_defaults.html#module-defaults [2] https://docs.ansible.com/ansible/latest/user_guide/playbooks_module_defaults.html#module-defaults-groups Change-Id: I31e36f3a6d600815152a116afb37f8e3e21bc282
-