Comment 2 for bug 1589349

Revision history for this message
Cao ShuFeng (caosf-fnst) wrote :

Hi, huyang:
   I don't known how to reproduce this bug in the fist step.
>Steps:
>1. Create a source volume without volume_type.
>2. Create volume with volume_type from the source volume.
>3. Create cloned volume failed.

How to create a volume *without* volume_type?
When I use "cinder create 1" I will get a volume in a "default" volume_type.

$ cinder create 1
+--------------------------------+--------------------------------------+
| Property | Value |
+--------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2016-06-06T09:55:57.000000 |
| description | None |
| encrypted | False |
| id | 0e48452c-7033-4d71-a86b-ad33cc74f008 |
| metadata | {} |
| migration_status | None |
| multiattach | False |
| name | None |
| os-vol-host-attr:host | None |
| os-vol-mig-status-attr:migstat | None |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | 1e2f6b0fb0dc4e3690b263adc14f0698 |
| replication_status | disabled |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| updated_at | None |
| user_id | 6f54578d22d4489b80d483c0359933d9 |
| volume_type | lvmdriver-1 |
+--------------------------------+--------------------------------------+

Thanks