<div dir="ltr"><div>--- disclaimer: I don't use openstack4j ---</div><div><br></div>Can you share your code?<div>Are you running a URL resolver first and then trying to use storage services?</div><div><br></div><div>Cheers!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 27, 2023 at 7:31 AM Srinivasan T <<a href="mailto:tsrini.alr@gmail.com">tsrini.alr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(7,55,99)">Hi Team,<br></div><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(7,55,99)">Could someone approve and help on this?</div><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(7,55,99)"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(7,55,99)">Regards,</div><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(7,55,99)">Srini</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 25, 2023 at 7:53 PM Srinivasan T <<a href="mailto:tsrini.alr@gmail.com" target="_blank">tsrini.alr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif;color:rgb(7,55,99)">Hi Team,<br><br>We are using openstack4j version 3.6.<br><br>The OpenStack supports both Cinder v2 and v3 endpoints. <br><br># openstack endpoint list | grep cinder<br>| 0bff444d3bcf4179bea245d9c7af319c | RegionOne | cinder       | volume         | True    | public    | <a href="http://x.x.x.x:8776/v1/%(tenant_id)s" target="_blank">http://x.x.x.x:8776/v1/%(tenant_id)s</a>   |<br>| 14079c14970f4e21b37ba659e6054ecf | RegionOne | cinderv2     | volumev2       | True    | admin     | <a href="http://x.x.x.x:8776/v2/%(tenant_id)s" target="_blank">http://x.x.x.x:8776/v2/%(tenant_id)s</a>   |<br>| 1a2d43fde400446eaca463b6b408a513 | RegionOne | cinderv3     | volumev3       | True    | internal  | <a href="http://10.250.9.1:8776/v3/%(project_id)s" target="_blank">http://10.250.9.1:8776/v3/%(project_id)s</a>    |<br>| 57f956ddeb4e4f1c8e352ec284f6f587 | RegionOne | cinderv2     | volumev2       | True    | public    | <a href="http://x.x.x.x:8776/v2/%(tenant_id)s" target="_blank">http://x.x.x.x:8776/v2/%(tenant_id)s</a>   |<br>| 693f347bb31f4a739768c6b321bccd1c | RegionOne | cinder       | volume         | True    | internal  | <a href="http://10.250.9.1:8776/v1/%(tenant_id)s" target="_blank">http://10.250.9.1:8776/v1/%(tenant_id)s</a>     |<br>| b51e10e2948e4bd2aabb3cf95a6cc3c7 | RegionOne | cinder       | volume         | True    | admin     | <a href="http://x.x.x.x:8776/v1/%(tenant_id)s" target="_blank">http://x.x.x.x:8776/v1/%(tenant_id)s</a>   |<br>| bc8a7eb81a944972bd87b761c9557308 | RegionOne | cinderv2     | volumev2       | True    | internal  | <a href="http://10.250.9.1:8776/v2/%(tenant_id)s" target="_blank">http://10.250.9.1:8776/v2/%(tenant_id)s</a>     |<br>| ecf4a7fb8eec4f978038f7a20ae931e5 | RegionOne | cinderv3     | volumev3       | True    | public    | <a href="http://x.x.x.x:8776/v3/%(project_id)s" target="_blank">http://x.x.x.x:8776/v3/%(project_id)s</a>  |<br>| f680338073664c9398a8d4b573d516a1 | RegionOne | cinderv3     | volumev3       | True    | admin     | <a href="http://x.x.x.x:8776/v3/%(project_id)s" target="_blank">http://x.x.x.x:8776/v3/%(project_id)s</a>  |<br><br>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?<br><br>Setting the OS_VOLUME_API_VERSION=3 doesn't help.<br><br>Regards,<br>Srini<br></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><br></div>Alvaro Soto <div><br><i style="color:rgb(34,34,34)"><span style="font-size:10pt;color:black">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.</span></i><br>----------------------------------------------------------<br>Great people talk about ideas,<br>ordinary people talk about things,<br>small people talk... about other people.</div></div></div>