openstack4j icon indicating copy to clipboard operation
openstack4j copied to clipboard

Cinder is not being updated. API version problem

Open yjlee90 opened this issue 6 years ago • 5 comments

Does openstack4j support cinder API V3? Maybe I couldn't find the way using openstack4j for cinder API v3

When I try to update cinder volume using openstack4j, the implement class "CinderVolume" which extends "Volume" interface has some unnecessary properties especially os-vol-host-attr:host(which is even binded to "NONE" when it is null).

Even the deployed openstack in my lab has 3 kinds of cinder api version and using keystone v3 openstack4j is trying to use V2. (I've searched some solutions. maybe I couldn't adjust ServiceType resolving. I guess default ServiceType for BLOCK_STORAGE is just "cinder" which point cinder api v1 in openstack .it should be cinderv2 or cinderv3 for other version)

Cinder project in openstack4j has not been updated for a while. Major source codes in Cinder were updated 2 years ago. It doesn't look reliable. So if there is anyone who works well with openstack4j and cinder v3, I hope you comment below how you get through it.

yjlee90 avatar Jun 23 '19 07:06 yjlee90

I met the same problem

tangguochang avatar May 19 '20 08:05 tangguochang

try 3.2.0。that works for me. my cinder service name is cinderv2.

tangguochang avatar May 20 '20 03:05 tangguochang

Thank you for updating.

2020년 5월 20일 (수) 오후 12:33, tangguochang [email protected]님이 작성:

try 3.2.0。that works for me. my cinder service name is cinderv2.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ContainX/openstack4j/issues/1257#issuecomment-631215303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH25RHVJPWANWLSBZJ3PQ3LRSNFRFANCNFSM4H2YIBIQ .

yjlee90 avatar May 20 '20 03:05 yjlee90

Sadly, we are moving to use native openstack API leaving openstack4j. But still I appreciate to you

2020년 5월 20일 (수) 오후 12:35, 이유종 [email protected]님이 작성:

Thank you for updating.

2020년 5월 20일 (수) 오후 12:33, tangguochang [email protected]님이 작성:

try 3.2.0。that works for me. my cinder service name is cinderv2.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ContainX/openstack4j/issues/1257#issuecomment-631215303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH25RHVJPWANWLSBZJ3PQ3LRSNFRFANCNFSM4H2YIBIQ .

yjlee90 avatar May 20 '20 03:05 yjlee90

you are welcome, use native API is a good idea.

tangguochang avatar May 20 '20 03:05 tangguochang