Skip to content
Snippets Groups Projects
  1. Jul 20, 2022
    • Arx Cruz's avatar
      Update port info · 960e5df1
      Arx Cruz authored
      Make it compatible with new openstack sdk 1.0.0
      
      Change-Id: I911eecd31ee69dbde1da02a74e152746c1e3edfa
      960e5df1
  2. Jul 19, 2022
  3. Jul 18, 2022
  4. Jul 15, 2022
    • Jakob Meng's avatar
      Replaced code in routers_info module with openstacksdk function · 1f5a2019
      Jakob Meng authored
      Replaced custom code for interface listing with call to openstacksdk.
      The original idea was to reduce the number of calls to the OpenStack
      API but this kind of optimization is better to be implemented in the
      SDK itself [1]. Reimplementing code like this increases our
      maintenance burden, does not help other SDK users and increases the
      likeliness of bugs. For example, variable allowed_device_owners
      introduced a bug, it is not 'network_router_interface_distributed'
      but 'network:router_interface_distributed'.
      
      [1] https://review.opendev.org/c/openstack/openstacksdk/+/849967
      
      Change-Id: I9c52de03c53ef29d7cecdf26253c0c00a7cf3689
      1f5a2019
  5. Jul 12, 2022
  6. Jul 06, 2022
  7. Jul 05, 2022
  8. Jul 04, 2022
  9. Jun 29, 2022
  10. 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
  11. Jun 27, 2022
  12. Jun 26, 2022
  13. 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
  14. Jun 20, 2022
  15. 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
  16. Jun 16, 2022
  17. Jun 14, 2022
  18. 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
  19. Jun 02, 2022
  20. Jun 01, 2022
  21. May 31, 2022
  22. May 27, 2022
  23. May 25, 2022
  24. 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
Loading