Unable to update cinder volume type property error 400

asked 2019-05-08 03:14:48 -0600

tonyp12 gravatar image

updated 2019-05-08 03:15:00 -0600

I have a volume type configured and it's working well for the most part. I would like to add an extended property to slightly change the behaviour. The volume type is below for reference, with existing properties:

(openstack) volume type show Nimble-JOO
| Field              | Value                                                                                                       |
| access_project_ids | None                                                                                                        |
| description        | None                                                                                                        |
| id                 | 8f403b9a-40f7-4884-a7e7-b32d6b6a0127                                                                        |
| is_public          | True                                                                                                        |
| name               | Nimble-JOO                                                                                                  |
| properties         | nimble:multi-initiator='true', nimble:perfpol-name='VMware ESX 5', volume_backend_name='nimble-cinder-prod' |
| qos_specs_id       | None                                                                                                        |

So what I am doing here is setting the propertly like this:

(openstack) volume type set --property nimble:folder=Openstack 8f403b9a-40f7-4884-a7e7-b32d6b6a0127
Failed to set volume type property: Volume Type is currently in use. (HTTP 400) (Request-ID: req-1affdc29-f034-435c-b8bd-63e1dbbfbeee)
Command Failed: One or more of the operations failed

The error is that the item is in use. In what context is this in use as I do not follow? I have not modified this at all since it was initially set up around a year ago. Back then I dont recall having this error 400 problem.

I've tried an older openstack CLI as well as via Horizon with same issues:

# cinder type-key Nimble-JOO set 'nimble:folder'="Openstack"
ERROR: Volume Type is currently in use. (HTTP 400) (Request-ID: req-a24afa54-ad81-44a4-a5b3-ec555654163c)

How do I go about setting the extended property on this volume type? I guess the type is in use, how do I go about making it unused so I can set the property?

edit retag flag offensive close merge delete


Any tips for this?

tonyp12 gravatar imagetonyp12 ( 2019-05-13 21:56:02 -0600 )edit