From openstack4j, we are using Identity API v3 for authentication and
Hi Team, We are using openstack4j version 3.6. The OpenStack supports both Cinder v2 and v3 endpoints. # openstack endpoint list | grep cinder | 0bff444d3bcf4179bea245d9c7af319c | RegionOne | cinder | volume | True | public | http://x.x.x.x:8776/v1/%(tenant_id)s | | 14079c14970f4e21b37ba659e6054ecf | RegionOne | cinderv2 | volumev2 | True | admin | http://x.x.x.x:8776/v2/%(tenant_id)s | | 1a2d43fde400446eaca463b6b408a513 | RegionOne | cinderv3 | volumev3 | True | internal | http://10.250.9.1:8776/v3/%(project_id)s | | 57f956ddeb4e4f1c8e352ec284f6f587 | RegionOne | cinderv2 | volumev2 | True | public | http://x.x.x.x:8776/v2/%(tenant_id)s | | 693f347bb31f4a739768c6b321bccd1c | RegionOne | cinder | volume | True | internal | http://10.250.9.1:8776/v1/%(tenant_id)s | | b51e10e2948e4bd2aabb3cf95a6cc3c7 | RegionOne | cinder | volume | True | admin | http://x.x.x.x:8776/v1/%(tenant_id)s | | bc8a7eb81a944972bd87b761c9557308 | RegionOne | cinderv2 | volumev2 | True | internal | http://10.250.9.1:8776/v2/%(tenant_id)s | | ecf4a7fb8eec4f978038f7a20ae931e5 | RegionOne | cinderv3 | volumev3 | True | public | http://x.x.x.x:8776/v3/%(project_id)s | | f680338073664c9398a8d4b573d516a1 | RegionOne | cinderv3 | volumev3 | True | admin | http://x.x.x.x:8776/v3/%(project_id)s | trying to do cinder operations. All cinder operations are done via Cinder API v2. Any idea on how to make openstack4j to use v3 for Cinder APIs? Is this available in any latest openstack4j? Setting the OS_VOLUME_API_VERSION=3 doesn't help. Regards, Srini
Hi Team, Could someone approve and help on this? Regards, Srini On Tue, Jul 25, 2023 at 7:53 PM Srinivasan T <tsrini.alr@gmail.com> wrote:
Hi Team,
We are using openstack4j version 3.6.
The OpenStack supports both Cinder v2 and v3 endpoints.
# openstack endpoint list | grep cinder | 0bff444d3bcf4179bea245d9c7af319c | RegionOne | cinder | volume | True | public | http://x.x.x.x:8776/v1/%(tenant_id)s | | 14079c14970f4e21b37ba659e6054ecf | RegionOne | cinderv2 | volumev2 | True | admin | http://x.x.x.x:8776/v2/%(tenant_id)s | | 1a2d43fde400446eaca463b6b408a513 | RegionOne | cinderv3 | volumev3 | True | internal | http://10.250.9.1:8776/v3/%(project_id)s | | 57f956ddeb4e4f1c8e352ec284f6f587 | RegionOne | cinderv2 | volumev2 | True | public | http://x.x.x.x:8776/v2/%(tenant_id)s | | 693f347bb31f4a739768c6b321bccd1c | RegionOne | cinder | volume | True | internal | http://10.250.9.1:8776/v1/%(tenant_id)s | | b51e10e2948e4bd2aabb3cf95a6cc3c7 | RegionOne | cinder | volume | True | admin | http://x.x.x.x:8776/v1/%(tenant_id)s | | bc8a7eb81a944972bd87b761c9557308 | RegionOne | cinderv2 | volumev2 | True | internal | http://10.250.9.1:8776/v2/%(tenant_id)s | | ecf4a7fb8eec4f978038f7a20ae931e5 | RegionOne | cinderv3 | volumev3 | True | public | http://x.x.x.x:8776/v3/%(project_id)s | | f680338073664c9398a8d4b573d516a1 | RegionOne | cinderv3 | volumev3 | True | admin | http://x.x.x.x:8776/v3/%(project_id)s |
From openstack4j, we are using Identity API v3 for authentication and trying to do cinder operations. All cinder operations are done via Cinder API v2. Any idea on how to make openstack4j to use v3 for Cinder APIs? Is this available in any latest openstack4j?
Setting the OS_VOLUME_API_VERSION=3 doesn't help.
Regards, Srini
--- disclaimer: I don't use openstack4j --- Can you share your code? Are you running a URL resolver first and then trying to use storage services? Cheers! On Thu, Jul 27, 2023 at 7:31 AM Srinivasan T <tsrini.alr@gmail.com> wrote:
Hi Team, Could someone approve and help on this?
Regards, Srini
On Tue, Jul 25, 2023 at 7:53 PM Srinivasan T <tsrini.alr@gmail.com> wrote:
Hi Team,
We are using openstack4j version 3.6.
The OpenStack supports both Cinder v2 and v3 endpoints.
# openstack endpoint list | grep cinder | 0bff444d3bcf4179bea245d9c7af319c | RegionOne | cinder | volume | True | public | http://x.x.x.x:8776/v1/%(tenant_id)s | | 14079c14970f4e21b37ba659e6054ecf | RegionOne | cinderv2 | volumev2 | True | admin | http://x.x.x.x:8776/v2/%(tenant_id)s | | 1a2d43fde400446eaca463b6b408a513 | RegionOne | cinderv3 | volumev3 | True | internal | http://10.250.9.1:8776/v3/%(project_id)s | | 57f956ddeb4e4f1c8e352ec284f6f587 | RegionOne | cinderv2 | volumev2 | True | public | http://x.x.x.x:8776/v2/%(tenant_id)s | | 693f347bb31f4a739768c6b321bccd1c | RegionOne | cinder | volume | True | internal | http://10.250.9.1:8776/v1/%(tenant_id)s | | b51e10e2948e4bd2aabb3cf95a6cc3c7 | RegionOne | cinder | volume | True | admin | http://x.x.x.x:8776/v1/%(tenant_id)s | | bc8a7eb81a944972bd87b761c9557308 | RegionOne | cinderv2 | volumev2 | True | internal | http://10.250.9.1:8776/v2/%(tenant_id)s | | ecf4a7fb8eec4f978038f7a20ae931e5 | RegionOne | cinderv3 | volumev3 | True | public | http://x.x.x.x:8776/v3/%(project_id)s | | f680338073664c9398a8d4b573d516a1 | RegionOne | cinderv3 | volumev3 | True | admin | http://x.x.x.x:8776/v3/%(project_id)s |
From openstack4j, we are using Identity API v3 for authentication and trying to do cinder operations. All cinder operations are done via Cinder API v2. Any idea on how to make openstack4j to use v3 for Cinder APIs? Is this available in any latest openstack4j?
Setting the OS_VOLUME_API_VERSION=3 doesn't help.
Regards, Srini
-- Alvaro Soto *Note: My work hours may not be your work hours. Please do not feel the need to respond during a time that is not convenient for you.* ---------------------------------------------------------- Great people talk about ideas, ordinary people talk about things, small people talk... about other people.
participants (2)
-
Alvaro Soto
-
Srinivasan T