Hi,

 

I'm looking for a way to add the property volume_backend_name to an existing Volume Type which is in use.

If I try to change this, I got the following error:

 

root@control01rt:~# openstack volume type show test-type

+--------------------+--------------------------------------+

| Field              | Value                                |

+--------------------+--------------------------------------+

| access_project_ids | None                                 |

| description        | None                                 |

| id                 | 68febdad-e7b1-4d41-ba11-72d0e1a1cce0 |

| is_public          | True                                 |

| name               | test-type                            |

| properties         |                                      |

| qos_specs_id       | None                                 |

+--------------------+--------------------------------------+

root@control01rt:~# openstack volume type set --property volume_backend_name=ceph test-type

Failed to set volume type property: Volume Type is currently in use. (HTTP 400) (Request-ID: req-2b8f3829-5c16-42c3-ac57-01199688bd58)

Command Failed: One or more of the operations failed

root@control01rt:~#

 

Problem what I see is, that there are instances/volumes which use this volume type.

 

Have anybody an idea, how I can add the volume_backend_name property to the existing Volume Type?

 

 

thanks in advance!

 

Regards

Marc