The same steps give me a different outcome. I guess I must be running an older version of cinder:
$ openstack volume type list
+--------------------------------------+--------------------+-----------+
| ID | Name | Is Public |
+--------------------------------------+--------------------+-----------+
| 17593eb4-a4d2-4464-82ea-af22c49f4105 | stable1-az2 | True |
| 3421912b-0ebc-4c53-b318-a95edfe3eb86 | arbor-az1 | True |
+--------------------------------------+--------------------+-----------+
$ openstack volume type list --default
+--------------------------------------+-----------+-----------+
| ID | Name | Is Public |
+--------------------------------------+-----------+-----------+
| 3421912b-0ebc-4c53-b318-a95edfe3eb86 | arbor-az1 | True |
+--------------------------------------+-----------+-----------+
The same steps give me a different outcome. I guess I must be running an older version of cinder:
$ openstack volume type list ------- ------- ------- ------- ----+-- ------- ------- ----+-- ------- --+ ------- ------- ------- ------- ----+-- ------- ------- ----+-- ------- --+ a4d2-4464- 82ea-af22c49f41 05 | stable1-az2 | True | 0ebc-4c53- b318-a95edfe3eb 86 | arbor-az1 | True | ------- ------- ------- ------- ----+-- ------- ------- ----+-- ------- --+
+------
| ID | Name | Is Public |
+------
| 17593eb4-
| 3421912b-
+------
$ openstack volume type list --default ------- ------- ------- ------- ----+-- ------- --+---- ------- + ------- ------- ------- ------- ----+-- ------- --+---- ------- + 0ebc-4c53- b318-a95edfe3eb 86 | arbor-az1 | True | ------- ------- ------- ------- ----+-- ------- --+---- ------- +
+------
| ID | Name | Is Public |
+------
| 3421912b-
+------
$ openstack volume create --type stable1-az2 --size 1 david-stable1- az2-volume1 ------- ------- -+----- ------- ------- ------- ------- -----+ ------- ------- -+----- ------- ------- ------- ------- -----+ 16T18:38: 05.000000 | 61d5-44c5- 8c47-8828de477a fc | az2-volume1 | 58060d220fab840 88 | ------- ------- -+----- ------- ------- ------- ------- -----+
+------
| Field | Value |
+------
| attachments | [] |
| availability_zone | zone2 |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2020-10-
| description | None |
| encrypted | False |
| id | 7b1f4f0b-
| migration_status | None |
| multiattach | False |
| name | david-stable1-
| properties | |
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| type | stable1-az2 |
| updated_at | None |
| user_id | f2ee9e8060e54d0
+------
$ openstack volume list | grep david 61d5-44c5- 8c47-8828de477a fc | david-stable1- az2-volume1 | available | 1 | |
| 7b1f4f0b-
$ openstack volume snapshot create --volume david-stable1- az2-volume1 david-stable1- az2-volume1- snap1 ------- +------ ------- ------- ------- ------- ----+ ------- +------ ------- ------- ------- ------- ----+ 16T18:38: 40.904359 | 1290-4c76- 9aae-a35f53d94c 6e | az2-volume1- snap1 | 61d5-44c5- 8c47-8828de477a fc | ------- +------ ------- ------- ------- ------- ----+
+------
| Field | Value |
+------
| created_at | 2020-10-
| description | None |
| id | 23dfa183-
| name | david-stable1-
| properties | |
| size | 1 |
| status | creating |
| updated_at | None |
| volume_id | 7b1f4f0b-
+------
$ openstack volume snapshot list | grep david 1290-4c76- 9aae-a35f53d94c 6e | david-stable1- az2-volume1- snap1 | None | available | 1 |
| 23dfa183-
$ openstack volume create --snapshot david-stable1- az2-volume1- snap1 david-stable1- az2-volume1- snap1-volume1 0ebc-4c53- b318-a95edfe3eb 86 (requested type is not compatible; recommend omitting the type argument). (HTTP 400) (Request-ID: req-ed37e9ba- 658f-4cc8- 876d-a4c0d3dae9 fd)
Invalid input received: Invalid volume_type provided: 3421912b-
I am using cinder version 2:15.3. 0-0ubuntu1~ cloud0 from the bionic-train Ubuntu Cloud Archive on Ubuntu 18.04.