Skip to content
Snippets Groups Projects
  1. Jul 22, 2022
    • Jakob Meng's avatar
      Dropped symbolic links and plugin routing for deprecated module names · b87ae7dc
      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
      b87ae7dc
  2. Mar 31, 2022
  3. Feb 09, 2022
    • Harald Jensås's avatar
      Add openstack.cloud.baremetal_port module · 0a7889b9
      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
      0a7889b9
    • Harald Jensås's avatar
      Add openstack.cloud.baremetal_port_info module · a1b92074
      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
      a1b92074
  4. Feb 03, 2022
  5. Jan 11, 2022
    • hamza alqtaishat's avatar
      Add compute services list module · 4eb7c435
      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
      4eb7c435
  6. Jul 29, 2021
  7. Jun 22, 2021
  8. Jun 17, 2021
  9. May 27, 2021
  10. Apr 08, 2021
  11. Feb 04, 2021
  12. Jan 28, 2021
  13. Jan 25, 2021
  14. Sep 30, 2020
  15. Sep 29, 2020
    • Artem Goncharov's avatar
      Add volume_backup module · 39a8362d
      Artem Goncharov authored
      Introduce volume_backup module to manage volume/snapshot backups.
      
      Change-Id: Ibc4e87d47d8e38a0cf52e391dafdf025ab202982
      39a8362d
  16. Aug 16, 2020
    • Sagi Shnaidman's avatar
      Add volume_info module · 33ce7ab9
      Sagi Shnaidman authored
      Add module for retrieving information about volumes in a cloud.
      
      Story: #2007817
      Task: #40095
      Change-Id: Ic7551c1737b08b967613e42923f5ea4ec0b606a4
      33ce7ab9
  17. Jun 17, 2020
  18. May 16, 2020
  19. May 12, 2020
    • Monty Taylor's avatar
      Rename all of the modules · e47c4671
      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
      e47c4671
    • Monty Taylor's avatar
      Remove all of the os_ prefixes · 52905480
      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
      52905480
  20. Apr 02, 2020
  21. Mar 26, 2020
  22. Mar 10, 2020
Loading