ContainX / openstack4j

A Fluent OpenStack SDK / Client Library for Java
http://openstack4j.com
Other
290 stars 366 forks source link

Cinder is not being updated. API version problem #1257

Open yjlee90 opened 5 years ago

yjlee90 commented 5 years ago

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.

tangguochang commented 4 years ago

I met the same problem

tangguochang commented 4 years ago

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

yjlee90 commented 4 years ago

Thank you for updating.

2020년 5월 20일 (수) 오후 12:33, tangguochang notifications@github.com님이 작성:

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 commented 4 years ago

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

2020년 5월 20일 (수) 오후 12:35, 이유종 olrai011@gmail.com님이 작성:

Thank you for updating.

2020년 5월 20일 (수) 오후 12:33, tangguochang notifications@github.com님이 작성:

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 .

tangguochang commented 4 years ago

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