OVH Community

Welcome to your community space. Ask questions, search for information, post content, and interact with other OVH Community members.

Detach a boot volume


I’ve an openstack server with no ephemeral volume, only two permanent volumes.
One of them is a (bootable) root volume. I choose this setup for the very purpose of extending this volume.

Now I want to resize the root volume but I can not.
Whether I shut-off or shelved the server, it seems impossible to detach this [persistent] volume storage, even though says it is.

When instance is shelved, attempts to detach the volume results in a 409 error-code.


Replying myself, I got it running using openstack command-line client:
openstack server remove volume foo-server foo-data --os-compute-api-version 2.20

That --os-compute-api-version 2.20 is key here!
I think OVH should update Horizon to take that into account.


Errata. This does work for common volume.
It fails for boot volumes.

Can't detach root device volume (HTTP 403) (Request-ID: req-xxx)