Hi Jon,

 

Thanks for the input.

In an enterprise version based on community OpenStack, we can develop a new API to wrap the two group update calls as you mentioned. Our internal team is working on the same logic.

But, I was looking for an API which a community user could use to move a volume directly from one group to another.

 

Currently no such API exists in Cinder. Is it possible to submit a blueprint to develop such kind of API for the community OpenStack users?

 

Thanks and Regards,

Harsh Ailani

 

 

From: Jon Bernard <jobernar@redhat.com>
Date: Thursday, 1 May 2025 at 10:54
PM
To: Harsh Ailani <harsh.ailani@ibm.com>
Cc: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org>
Subject: [EXTERNAL] Re: [Cinder] : Group API query

On Apr 16, Harsh Ailani <harsh.ailani@ibm.com> wrote:
> Hello team,
>
> In one of our customer requirements we came across a use-case to move
> a volume from one group to another directly.  Currently user needs to
> first remove the volume from the current group and add it to the new
> group.
>
> Wanted to know, if there is one direct cinder API or method to
> directly move the volume from one group to another ?

Here [1] is the current documentation for our API, the closest thing we
have to what you're asking about looks to be [2] the update group
method, but that acts on one specific group.  You could wrap two group
updates to achieve what you need, perhaps.  Hopefully this is a good
starting point.

[1] https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.openstack.org_api-2Dref_block-2Dstorage_v3_&d=DwIBAg&c=BSDicqBQBDjDI9RkVyTcHQ&r=4FkeRPk2-JUqIY4N7pFhT3f17gh6wCSRgyWJ4SaS44o&m=YtfjjQfQvGu98Z2O0merFHNKjIssnA98Lhf8ydLhp2Rq1F2--_NQzulPvKBo3LtR&s=7YxNVRpW2xFfiMjKy0y7WYnn3fjHAEmdj_tw1ubtmK0&e=
[2] https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.openstack.org_api-2Dref_block-2Dstorage_v3_-23update-2Dgroup&d=DwIBAg&c=BSDicqBQBDjDI9RkVyTcHQ&r=4FkeRPk2-JUqIY4N7pFhT3f17gh6wCSRgyWJ4SaS44o&m=YtfjjQfQvGu98Z2O0merFHNKjIssnA98Lhf8ydLhp2Rq1F2--_NQzulPvKBo3LtR&s=tSDAPLTzLW1fhDUKjjIjMVkM10YY572vt692D8J73o0&e=

--
Jon