Skip to content
Snippets Groups Projects
  1. Jul 12, 2022
  2. Jul 06, 2022
  3. Jul 05, 2022
  4. Jul 04, 2022
  5. Jun 29, 2022
  6. Jun 28, 2022
    • Rafael Castillo's avatar
      Update image for new sdk · 2419b5ab
      Rafael Castillo authored
      - Use proxy layer where possible
        - Image upload has some tricky logic so that stays in the cloud layer
      - Convert return value to dict
      - Document return values
      - Update visibility logic for glance v2 api
      - Increase test coverage
      - General refactoring to bring more in line with rest of collection
      - Deprecate is_public attribute which has been replaced with
        visibility.
      - Deprecate volume attribute which has been made obsolete with
        openstack.cloud.volume module. Removed examples showing the volume
        attribute since users are encouraged to use openstack.cloud.volume
        module.
      
      Change-Id: I1d8034a3b9a391444ea275b68b06ee3a291c73c3
      2419b5ab
  7. Jun 27, 2022
  8. Jun 26, 2022
  9. Jun 23, 2022
    • Arx Cruz's avatar
      Update project_info module to new sdk · bcca2efe
      Arx Cruz authored
      Make project_info module compatible with the new sdk 1.0.0 and also add
      ansible tests for project_info module
      
      Change-Id: I413200cf6a9b8bada7e5d78087246b888d53fac2
      bcca2efe
  10. Jun 20, 2022
  11. Jun 17, 2022
    • Dmitriy Rabotyagov's avatar
      Make publish_collection more universal · 8f27184f
      Dmitriy Rabotyagov authored
      With this change we replace zuul.projects with zuul.project that will
      imply any project which will run the job. Also we read galaxy.yml as
      vars file to predict packed collection naming for futher upload.
      
      Change-Id: I66e27f3026689ad719384203fe66d65f5bca46ce
      Needed-By: https://review.opendev.org/c/openstack/ansible-config_template/+/846391
      8f27184f
    • Jan Horstmann's avatar
      Return details in baremetal_node_info when iterating over all machines · 9b62cd77
      Jan Horstmann authored
      Without any parameters supplied openstack.cloud.baremetal_node_info is
      supposed to gather and return information about all nodes.
      This is done with a call to cloud.list_machines(), which itself calls
      self.baremetal.nodes().
      Unfortunately this will not return detailed information about each
      machine as the details parameter of self.baremetal.nodes() defaults to
      false.
      This commit rewrites the module to use the baremetal service proxy of
      openstacksdk to get machines with details and converts them using the
      `to_dict()` method.
      
      Story: 2010017
      Task: 45207
      Change-Id: Ib06aea5f59f799d6ed81b30264c8a168301c1a9b
      9b62cd77
  12. Jun 16, 2022
  13. Jun 14, 2022
  14. Jun 08, 2022
    • Arx Cruz's avatar
      Update catalog service for the new sdk · 7c7e61d3
      Arx Cruz authored
      This patch do the following:
      
      * Update catalog_service to use new openstacksdk
      * Add catalog_service role to test catalog_service module
      
      Change-Id: I6778f5e91cb0ead63cede28af0111d7ffbbf3ab1
      7c7e61d3
  15. Jun 02, 2022
  16. Jun 01, 2022
  17. May 31, 2022
  18. May 27, 2022
  19. May 25, 2022
  20. May 24, 2022
    • Jakob Meng's avatar
      Raise minimum OpenStack SDK version to 0.99.0 · 4bfa135b
      Jakob Meng authored
      Alongside OpenStack SDK 1.0.0 we will release a new collection version
      2.0.0 which is compatible to OpenStack SDK 1.x.x series only. Code in
      branch stable/1.0.0 will remain compatible to OpenStack SDK 0.x.x
      series only. Release candidates for the first major release of
      OpenStackSDK 1.x.x will be numbered using 0.99.x versions.
      
      At Ansible OpenStack modules PTG on 2022-04-07 it was decided to raise
      an error if one is using a incompatible releases of the OpenStack SDK
      with our collection. We decided against showing warnings only because
      they can be missed easily and functionality  will be broken but
      probably hardly detectable when using the wrong SDK.
      
      This patch bumps the minimum required SDK versions to 0.99.0, so that
      an error will be raised when users try to use our collection with an
      incompatible SDK release, e.g. use code from our master branch with
      a OpenStack SDK 0.x.x release.
      
      Change-Id: I3974deabc516379745794806886352279dc4f4a7
      4bfa135b
  21. May 23, 2022
  22. May 11, 2022
  23. May 10, 2022
    • Jan Horstmann's avatar
      Set owner in image module · 80ef2093
      Jan Horstmann authored
      Previously the owner field was not set by module
      `cloud.openstack.image`, although it is specified as a module parameter.
      The usual approach in `ansible-collections-openstack` is to accept both
      names and IDs when referencing openstack resources.
      Therefore this commit follows the approach taken by
      `python-openstackclient` in [1] and introduces a `project` and a
      `project_domain` parameter to identify projects by name or ID and
      assign the ID to the `owner` attribute of the image.
      The `owner` parameter is left as an alias to `project` in the module.
      
      Story: 2009983
      Task: 45012
      
      [1]
      https://opendev.org/openstack/python-openstackclient/commit/cf2de9af79cedd51ca080f5a6521997c05647418
      
      Change-Id: I3654587df8e40d554aac5126df307961f335332c
      (cherry picked from commit acf64a1f72bf10e0e332899168e468db5c8ba034)
      80ef2093
  24. May 09, 2022
    • anbanerj's avatar
      Moves image_info from cloud to proxy object · c1a97942
      anbanerj authored
      This makes image_info compatible with new sdk version
      - This patch changes get_image (which is a cloud object method) to image.get_image (proxy object method)
      - image.images accepts **query which is a dict object. So this patch changes the args passed to a dict. If properties is not specified it passes an empty dict.
      - updates the documentation to reflect the actual returned parameters
      - adds a ci test to list all images without specifying image name or property and assert no field is missing
      - changes openstack_image to image in ansible return value
      
      Change-Id: Ibf934568f069c305747fc24fbb22ce3fc095286c
      c1a97942
    • Rafael Castillo's avatar
      Update identity_role_info for latest openstacksdk release · 1d22a94a
      Rafael Castillo authored
      - Stop checking for to_dict, breaking compatibility with older sdk
        releases
      - Updates RETURN doc string with all the returned fields
      - Adds a new identity_role_info role to test the identity_role_info
        module.
      - Change the name of the module return value to remove 'openstack_'
        prefix
      
      Change-Id: If8a1145a31d685d41367383930e6fd08d64c6ae8
      1d22a94a
Loading