[OPENSTACKSDK] - Missing feature or bad reader?
Gaël THEROND
gael.therond at bitswalk.com
Thu Mar 2 16:07:07 UTC 2023
> 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).
>Artem
All right, thanks a lot for the confirmation Artem, gonna see it we could
add that pretty quickly on SDK as cinder already provide the appropriate
/os-service API endpoint.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230302/cd4793b8/attachment.htm>
More information about the openstack-discuss
mailing list