Re: [ceph-users] Fail to Block Devices and OpenStack

2014-06-16 Thread John Wilkins
Also, use the documentation from the master branch:
http://ceph.com/docs/master/rbd/rbd-openstack/


On Thu, Jun 12, 2014 at 8:35 AM, 山下 良民 yamash...@ossl.co.jp wrote:

 HI,

 Thanks for your information!
 I will check it soon, and will post results later,
 Thanks a lot and best regards,

 Yamashita

 =
 OSS Laboratories Inc.
 Yoshitami Yamashita
 Mail:yamash...@ossl.co.jp

 - 元のメッセージ -
 差出人: Karan Singh karan.si...@csc.fi
 宛先: 山下 良民 yamash...@ossl.co.jp
 Cc: ceph-users@lists.ceph.com
 送信済み: 2014年6月10日, 火曜日 午後 6:49:56
 件名: Re: [ceph-users] Fail to Block Devices and OpenStack

 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.00
  ||
  |  description   | None
  |  |
  |   encrypted|False
  |   |
  |   id   |
  |   30d1eee7-54d6-4911-af06-b35d2f8ef0c4 |
  |metadata

Re: [ceph-users] Fail to Block Devices and OpenStack

2014-06-12 Thread 山下 良民
HI,

Thanks for your information!
I will check it soon, and will post results later,
Thanks a lot and best regards,

Yamashita

=
OSS Laboratories Inc.
Yoshitami Yamashita
Mail:yamash...@ossl.co.jp

- 元のメッセージ -
差出人: Karan Singh karan.si...@csc.fi
宛先: 山下 良民 yamash...@ossl.co.jp
Cc: ceph-users@lists.ceph.com
送信済み: 2014年6月10日, 火曜日 午後 6:49:56
件名: Re: [ceph-users] Fail to Block Devices and OpenStack

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.00
 ||
 |  description   | None
 |  |
 |   encrypted|False
 |   |
 |   id   |
 |   30d1eee7-54d6-4911-af06-b35d2f8ef0c4 |
 |metadata|  {}
 | |
 |  name  |boot-from-rbd
 |  |
 | os-vol-host-attr:host  | None
 | |
 | os-vol-mig

Re: [ceph-users] Fail to Block Devices and OpenStack

2014-06-10 Thread 山下 良民
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.00
 ||
 |  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
 +--++---+--+-+--+-+
 | 

Re: [ceph-users] Fail to Block Devices and OpenStack

2014-06-10 Thread Karan Singh
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.00
 ||
 |  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  |