[OPENSTACKSDK] - Missing feature or bad reader?
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.
participants (1)
-
Gaël THEROND