HI Yamashita

First try to create a cinder volume , that should be stored on ceph backend, 
then proceeded with glance image on Ceph.

I assume you have done all the steps correctly as mentioned on ceph 
documentation for ceph and openstack integration , if you are still not able to 
create volumes, then enable debug=true in cinder config file and check 
cinder-volume and scheduler logs . 
You will get some clue where the error is.

- Karan Singh -

On 10 Jun 2014, at 09:21, 山下 良民 <yamash...@ossl.co.jp> wrote:

> Hi,
> 
> I can mount from connect to Ceph BlockDevice mount.
> 
> glance image-create is created on the local.
> # glance image-list
> +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
> | ID                                   | Name                            | 
> Disk Format | Container Format | Size      | Status |
> +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
> | f4a0f971-437b-4d3f-a0c4-1c82f31e9f1e | cirros                          | 
> raw         | ovf              | 41126400  | active |
> +--------------------------------------+---------------------------------+-------------+------------------+-----------+--------+
> 
> cindercreate is an error is not created in the Ceph.
> 
> Yamashita
> 
> 
> ----- 元のメッセージ -----
>> 差出人: "山下 良民" <yamash...@ossl.co.jp>
>> 宛先: ceph-users@lists.ceph.com
>> 送信済み: 2014年6月10日, 火曜日 午前 11:55:48
>> 件名: [ceph-users] Fail to Block Devices and OpenStack
>> 
>> 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)
>> Failure occurs at cinder create
>> 
>> 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                                 |
>> +------------------+--------------------------------------+
>> 
>> 
>> # 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
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to