Files
ansible-collections-openstack/plugins/modules
Jakob Meng 69947cd9fd Fix volume_info result for SDK < 0.19
With openstacksdk prior to version 0.19, module volume_info fails with:
  TypeError: Value of unknown type: <class
  'openstack.block_storage.v2.volume.Volume'> ...

The call to 'self.conn.block_storage.volumes()' returns an instance
of class 'openstack.block_storage.v2.volume.Volume'. This class
inherits from 'openstack.resource.Resource', which is a 'dict'
subclass since 0.19. For older sdk versions prior to 0.19 it was
not, hence we have to use the 'to_dict' function to convert each
'Volume' to 'dict' explicitly.

Ref.: 2f97394847

Task: 41571
Story: 2008136
Change-Id: I5b7adc399f19da08f02202af64a226c92bb9bf41
2021-01-13 14:17:58 +01:00
..
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-10-12 19:08:45 +02:00
2020-06-23 21:50:43 +03:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-05-12 10:20:50 -05:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00
2020-06-23 21:50:43 +03:00