[OPENSTACKSDK] - Missing feature or bad reader?
artem.goncharov at gmail.com
artem.goncharov at gmail.com
Thu Mar 2 14:35:25 UTC 2023
Hi
On Thursday, 2 March 2023 15:00:03 CET Gaël THEROND wrote:
> Hi everyone,
>
> I'm currently adding a new module on ansible-collections-openstack,
> however, I'm having a hard time finding the appropriate function for my
> module.
>
> Within ansible-collections-openstack, we have a compute_services_info
> module that list services using the conn.compute.services() function that,
> to my knowledge, come from the openstacksdk.compute.v2.service.py module.
>
> Our ansible module replicate what you get with:
> openstack --os-cloud compute service list command.
> or
> openstack --os-cloud volume service list command.
> (If I'm not wrong, it seems, openstack client is leveraging osc-lib for
> that and not the SDK).
>
> My problem is, I want to add another similar module on our collection,
> (volume_services_info) that would do the same but for volumes services:
>
> Unfortunately, either I'm not looking at the right place, or any volume
> endpoint (v2/v3) within the openstack sdk is implementing the appropriate
> service module.
From what I see block_storage in SDK is currently missing implementation for
service management (it is an admin-only and such APIs tend to be of lower prio
in SDK).
>
> Did I miss something or is that class simply missing?
>
> Thanks everyone!
Artem
More information about the openstack-discuss
mailing list