Skip to content

Instantly share code, notes, and snippets.

@stuszynski
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuszynski/0a5dbb7dbbbe91a11914 to your computer and use it in GitHub Desktop.
Save stuszynski/0a5dbb7dbbbe91a11914 to your computer and use it in GitHub Desktop.
Missed volume?
:~$ cinder list --all-tenants | grep eba4458f-46ab-496e-a8f2-fef82a903637
## empty?!
:~$ cinder show eba4458f-46ab-496e-a8f2-fef82a903637
+--------------------------------+--------------------------------------+
| Property | Value |
+--------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2013-10-07T17:04:56.476738 |
| display_description | xyz |
| display_name | xyz |
| encrypted | False |
| id | eba4458f-46ab-496e-a8f2-fef82a903637 |
| metadata | {u'readonly': u'False'} |
| os-vol-host-attr:host | cc3@cinder_databases |
| os-vol-mig-status-attr:migstat | None |
| os-vol-mig-status-attr:name_id | None |
| os-vol-tenant-attr:tenant_id | 45e74f11629f4db4a5812a02b1f9967a |
| size | 5 |
| snapshot_id | 4c547a1f-ab0d-439c-92f6-0b365efc4132 |
| source_volid | None |
| status | available |
| volume_type | cinder_databases |
+--------------------------------+--------------------------------------+
#Created and attached new volume.
:~$ cinder list | grep xyz
| 5bbffc11-fec2-4e66-bb7c-b9d94ac7eb25 | in-use | xyz | 5 | cinder_databases | false | d770511e-a4fc-4ca2-be3a-7237662fac75 |
#Only new one?!
#Check for tenant
:~$ keystone tenant-list | grep 45e74f11629f4db4a5812a02b1f9967a
| 45e74f11629f4db4a5812a02b1f9967a | winnx | True |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment