[Cinder] : Group API query
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 ? Thanks and Regards, Harsh Ailani
Could anyone please help on this ? Thanks and Regards, Harsh Ailani From: Harsh Ailani <harsh.ailani@ibm.com> Date: Wednesday, 16 April 2025 at 4:45 PM To: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: [Cinder] : Group API query 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 ? Thanks and Regards, Harsh Ailani
Can someone please suggest any inputs? Thanks and Regards, Harsh From: Harsh Ailani <harsh.ailani@ibm.com> Date: Thursday, 17 April 2025 at 4:43 PM To: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: [EXTERNAL] Re: [Cinder] : Group API query Could anyone please help on this ? Thanks and Regards, Harsh Ailani From: Harsh Ailani <harsh. ailani@ ibm. com> Date: Wednesday, 16 April 2025 at 4: 45 PM To: openstack-discuss@ lists. openstack. org <openstack-discuss@ lists. openstack. org> Could anyone please help on this ? Thanks and Regards, Harsh Ailani From: Harsh Ailani <harsh.ailani@ibm.com> Date: Wednesday, 16 April 2025 at 4:45 PM To: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: [Cinder] : Group API query 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 ? Thanks and Regards, Harsh Ailani
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://docs.openstack.org/api-ref/block-storage/v3/ [2] https://docs.openstack.org/api-ref/block-storage/v3/#update-group -- Jon
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://docs.openstack.org/api-ref/block-storage/v3/ [2] https://docs.openstack.org/api-ref/block-storage/v3/#update-group -- Jon
On May 01, Harsh Ailani <harsh.ailani@ibm.com> wrote:
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?
It is possible, that's part of the design of open source :) As an API change - a spec is required, but assuming it's technically sound and meets the project requirements, it would certainly be considered. -- Jon
That’s great Jon ! Thankyou for looking into this. I will get started on raising a blueprint for the same and add it to our cinder weekly meeting topic for any further discussions. Thanks and Regards, Harsh Ailani From: Jon Bernard <jobernar@redhat.com> Date: Friday, 2 May 2025 at 7:01 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 May 01, Harsh Ailani <harsh.ailani@ibm.com> wrote:
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?
It is possible, that's part of the design of open source :) As an API change - a spec is required, but assuming it's technically sound and meets the project requirements, it would certainly be considered. -- Jon
Hi Jon, I have registered the blueprint for this idea of a new cinder API to move a volume from one group to another directly : https://blueprints.launchpad.net/cinder/+spec/volume-migration-between-group... Please let me know if this is alright so that I can get started on the development for the same 😊 Thanks and Regards, Harsh Ailani From: Harsh Ailani <harsh.ailani@ibm.com> Date: Monday, 5 May 2025 at 12:53 AM To: Jon Bernard <jobernar@redhat.com> Cc: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: [EXTERNAL] RE: [Cinder] : Group API query That’s great Jon ! Thankyou for looking into this. I will get started on raising a blueprint for the same and add it to our cinder weekly meeting topic for any further discussions. Thanks and Regards, Harsh Ailani From: Jon Bernard <jobernar@ redhat. com> That’s great Jon ! Thankyou for looking into this. I will get started on raising a blueprint for the same and add it to our cinder weekly meeting topic for any further discussions. Thanks and Regards, Harsh Ailani From: Jon Bernard <jobernar@redhat.com> Date: Friday, 2 May 2025 at 7:01 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 May 01, Harsh Ailani <harsh.ailani@ibm.com> wrote:
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?
It is possible, that's part of the design of open source :) As an API change - a spec is required, but assuming it's technically sound and meets the project requirements, it would certainly be considered. -- Jon
On 5/4/25 9:41 PM, Harsh Ailani wrote:
Hi Jon,
I have registered the blueprint for this idea of a new cinder API to move a volume from one group to another directly : https://blueprints.launchpad.net/cinder/+spec/volume-migration-between-group... <https://blueprints.launchpad.net/cinder/+spec/volume-migration-between-groups>
Please let me know if this is alright so that I can get started on the development for the same 😊
Hi Harsh, changes to the API require a full spec. You can find more info here: https://docs.openstack.org/cinder/latest/contributor/contributing.html#new-f...
Thanks and Regards,
Harsh Ailani
*From: *Harsh Ailani <harsh.ailani@ibm.com> *Date: *Monday, 5 May 2025 at 12:53 AM *To: *Jon Bernard <jobernar@redhat.com> *Cc: *openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> *Subject: *[EXTERNAL] RE: [Cinder] : Group API query
That’s great Jon ! Thankyou for looking into this. I will get started on raising a blueprint for the same and add it to our cinder weekly meeting topic for any further discussions. Thanks and Regards, Harsh Ailani From: Jon Bernard <jobernar@ redhat. com>
That’s great Jon !
Thankyou for looking into this. I will get started on raising a blueprint for the same and add it to our cinder weekly meeting topic for any further discussions.
Thanks and Regards,
Harsh Ailani
*From: *Jon Bernard <jobernar@redhat.com> *Date: *Friday, 2 May 2025 at 7:01 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 May 01, Harsh Ailani <harsh.ailani@ibm.com> wrote:
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?
It is possible, that's part of the design of open source :) As an API change - a spec is required, but assuming it's technically sound and meets the project requirements, it would certainly be considered.
-- Jon
Hi Brian ! Nice to connect with you after a long time. I was occupied with other responsibilities so couldn’t contribute actively to the community. But, I am back now 😃 Thanks for the guidance on the spec info ! I just skimmed it a bit and I believe changes in API need a spec and a blueprint as well. I created the blueprint yesterday. I will go through the process of raising a spec for the same and then proceed from there. Thanks and Regards, Harsh Ailani From: Brian Rosmaita <rosmaita.fossdev@gmail.com> Date: Monday, 5 May 2025 at 4:57 PM To: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: [EXTERNAL] Re: [Cinder] : Group API query On 5/4/25 9:41 PM, Harsh Ailani wrote:
Hi Jon,
I have registered the blueprint for this idea of a new cinder API to move a volume from one group to another directly : https://blueprints.launchpad.net/cinder/+spec/volume-migration-between-group... <https://blueprints.launchpad.net/cinder/+spec/volume-migration-between-group... >
Please let me know if this is alright so that I can get started on the development for the same 😊
Hi Harsh, changes to the API require a full spec. You can find more info here: https://docs.openstack.org/cinder/latest/contributor/contributing.html#new-f...
Thanks and Regards,
Harsh Ailani
*From: *Harsh Ailani <harsh.ailani@ibm.com> *Date: *Monday, 5 May 2025 at 12:53 AM *To: *Jon Bernard <jobernar@redhat.com> *Cc: *openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> *Subject: *[EXTERNAL] RE: [Cinder] : Group API query
That’s great Jon ! Thankyou for looking into this. I will get started on raising a blueprint for the same and add it to our cinder weekly meeting topic for any further discussions. Thanks and Regards, Harsh Ailani From: Jon Bernard <jobernar@ redhat. com>
That’s great Jon !
Thankyou for looking into this. I will get started on raising a blueprint for the same and add it to our cinder weekly meeting topic for any further discussions.
Thanks and Regards,
Harsh Ailani
*From: *Jon Bernard <jobernar@redhat.com> *Date: *Friday, 2 May 2025 at 7:01 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 May 01, Harsh Ailani <harsh.ailani@ibm.com> wrote:
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?
It is possible, that's part of the design of open source :) As an API change - a spec is required, but assuming it's technically sound and meets the project requirements, it would certainly be considered.
-- Jon
participants (3)
-
Brian Rosmaita
-
Harsh Ailani
-
Jon Bernard