ContainX / openstack4j

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

Not possible to detach a volume from a server #1295

Closed simosda closed 4 years ago

simosda commented 4 years ago

Hi,

I am trying to use Block Storage API V3 in order to detach a volume from a server. The API call for that is /v3/{project_id}/volumes/{volume_id}/action with body containing attachment_id (it also works with server_id). I am not able to perform this call through the openstack4j client because I cannot find a way to get the attachmentId. There is a property "attachment_id" in CinderVolumeAttachment class but there is no getter for it. How can I get the attachmentId?