[Openstack] Fail to Block Devices and OpenStack
山下 良民
yamashita at ossl.co.jp
Tue Jun 10 04:48:10 UTC 2014
Hi,
I fail for the cooperation of Openstack and Ceph.
I was set on the basis of the url.
http://ceph.com/docs/next/rbd/rbd-openstack/
Can look at the state of cephcluster from Openstack(cephClient).
I can mount from Computernode to Ceph BlockDevice mount.
glance image-create is created on the local.
Failure occurs at cinder create.
cindercreate is an error is not created in the Ceph.
Ceph Cluster:
CentOS release 6.5
Ceph 0.80.1
OpenStack:
Ubuntu 12.04.4
OpenStack DevStack Icehouse
# glance image-create --name cirros --disk-format raw --container-format ovf --file /usr/local/src/cirros-0.3.2-x86_64-disk.raw --is-public True
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | cf2392db1f59d59ed69a8f8491b670e0 |
| container_format | ovf |
| created_at | 2014-06-09T05:04:48 |
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | f4a0f971-437b-4d3f-a0c4-1c82f31e9f1e |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros |
| owner | 5a10a1fed82b45a7affaf57f814434bb |
| protected | False |
| size | 41126400 |
| status | active |
| updated_at | 2014-06-09T05:04:50 |
| virtual_size | None |
+------------------+--------------------------------------+
# glance image-list
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
| f4a0f971-437b-4d3f-a0c4-1c82f31e9f1e | cirros | raw | ovf | 41126400 | active |
+--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
# cinder create --image-id f4a0f971-437b-4d3f-a0c4-1c82f31e9f1e --display-name boot-from-rbd 1
+--------------------------------+--------------------------------------+
| Property | Value |
+--------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| created_at | 2014-06-09T05:12:51.000000 |
| description | None |
| encrypted | False |
| id | 30d1eee7-54d6-4911-af06-b35d2f8ef0c4 |
| metadata | {} |
| name | boot-from-rbd |
| 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 | 5a10a1fed82b45a7affaf57f814434bb |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| user_id | 90ed966837e44f91a582b73960dd848c |
| volume_type | None |
+--------------------------------+--------------------------------------+
# cinder list
+--------------------------------------+--------+---------------+------+-------------+----------+-------------+
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+--------+---------------+------+-------------+----------+-------------+
| 30d1eee7-54d6-4911-af06-b35d2f8ef0c4 | error | boot-from-rbd | 1 | None | false | |
+--------------------------------------+--------+---------------+------+-------------+----------+-------------+
I've done all the setting of URL(http://ceph.com/docs/next/rbd/rbd-openstack/).
There is a setup required except URL?
Best Regards.
Yamashita
More information about the Openstack
mailing list