It would be nice if a user message was created, similar to the one created when volume creation fails:
$ # if it's asked to create a volume beyond backend's capacity...
$ cinder create --name v3 200
$ # no volume is created;
$ # and a user message is created, as expected
$ cinder --os-volume-api-version 3.3 message-list
+--------------------------------------+---------------+--------------------------------------+-----------------------+-------------------------------------------------------------------------+
| ID | Resource Type | Resource UUID | Event ID | User Message |
+--------------------------------------+---------------+--------------------------------------+-----------------------+-------------------------------------------------------------------------+
| 298c7c17-9e19-4386-a800-031aa490acfa | VOLUME | 604a5d03-4d2e-47c6-ad0d-b8e6ff6f80ab | VOLUME_VOLUME_001_003 | schedule allocate volume:Could not find any available weighted backend. |
+--------------------------------------+---------------+--------------------------------------+-----------------------+-------------------------------------------------------------------------+
It would be nice if a user message was created, similar to the one created when volume creation fails:
$ # if it's asked to create a volume beyond backend's capacity...
$ cinder create --name v3 200
$ # no volume is created; api-version 3.3 message-list ------- ------- ------- ------- ----+-- ------- ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ ------- ------- ------- ------- ----+-- ------- ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ 9e19-4386- a800-031aa490ac fa | VOLUME | 604a5d03- 4d2e-47c6- ad0d-b8e6ff6f80 ab | VOLUME_ VOLUME_ 001_003 | schedule allocate volume:Could not find any available weighted backend. | ------- ------- ------- ------- ----+-- ------- ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+
$ # and a user message is created, as expected
$ cinder --os-volume-
+------
| ID | Resource Type | Resource UUID | Event ID | User Message |
+------
| 298c7c17-
+------