[one-users] create image error with ceph

Jaime Melis jmelis at opennebula.org
Mon Jun 17 02:48:47 PDT 2013


Thank you all for the feedback. I've added this to the OpenNebula Ceph docs:
http://opennebula.org/documentation:rel4.0:ceph_ds?&#overview


On Wed, Jun 5, 2013 at 8:48 AM, <alan.zhang at linuxwind.org> wrote:

> Fixed it.
>
> I have compile the qemu-img lasted version for support rbd by hand, but it
> can't work. Got this error:
>
> $ qemu-img convert -O rbd /var/tmp/**9adcb555fee553fb1fce447d6ed0a9**d4
> rbd:images/one-15
> Segment fault (core dumped)
>
> Just replace the qemu-img/qemu-kvm packages from here:
>
> http://ceph.com/packages/qemu-**kvm/x86_64/<http://ceph.com/packages/qemu-kvm/x86_64/>
>
> Supported formats: raw cow qcow vdi vmdk cloop dmg bochs vpc vvfat qcow2
> qed parallels nbd blkdebug host_cdrom host_floppy host_device file rbd
>
> It works now.
>
> Thanks George.
>
>
> 于 2013-06-04 12:15, George Kissandrakis 回复:
>
>  well you have to use newer version of centos or compile librbd by hand
>>
>> On Tue, Jun 4, 2013 at 2:00 PM, <alan.zhang at linuxwind.org> wrote:
>>
>>  Thanks for your help,but i work on centos 6.4 ,how can i upgrade librbd?
>>>
>>> upgrade ceph-devel , I have install the lasted version.
>>>
>>> Could you tell me in detail?
>>>
>>> 于 2013-06-04 11:06, George Kissandrakis 回复:
>>>
>>>  I had the same problem
>>>>
>>>> When I run by hand the command
>>>> qemu-img convert -O rbd /var/tmp/**9adcb555fee553fb1fce447d6ed0a9**d4
>>>> rbd:images/one-15
>>>>
>>>> i had a core dump with librbd.so.
>>>> When i upgraded librbd (OS library) the problem was fixed
>>>>
>>>> On Tue, Jun 4, 2013 at 8:36 AM, <alan.zhang at linuxwind.org> wrote:
>>>>
>>>>  Hi,
>>>>>
>>>>> I have install ceph 0.61.2 ,opennebulua 4.0.1 on centos 6.4, but when
>>>>> create a datastore i got some error, there are my opennebula,ceph pool
>>>>> infomations:
>>>>>
>>>>> $ onedatastore list
>>>>>   ID NAME                      CLUSTER         IMAGES TYPE DS       TM
>>>>>    0 system                    -                    0 sys  -
>>>>>  shared
>>>>>    1 default                   bj-cluster-vms-      1 img  fs
>>>>> shared
>>>>>    2 files                     bj-cluster-vms-      0 fil  fs       ssh
>>>>>  104 bj-ceph-001               bj-cluster-vms-      2 img  ceph
>>>>> ceph
>>>>>
>>>>> $ onedatastore show 104
>>>>> DATASTORE 104 INFORMATION
>>>>> ID             : 104
>>>>> NAME           : bj-ceph-001
>>>>> USER           : oneadmin
>>>>> GROUP          : oneadmin
>>>>> CLUSTER        : bj-cluster-vms-001
>>>>> TYPE           : IMAGE
>>>>> DS_MAD         : ceph
>>>>> TM_MAD         : ceph
>>>>> BASE PATH      : /var/lib/one/datastores/104
>>>>> DISK_TYPE      : RBD
>>>>>
>>>>> PERMISSIONS
>>>>> OWNER          : um-
>>>>> GROUP          : u--
>>>>> OTHER          : ---
>>>>>
>>>>> DATASTORE TEMPLATE
>>>>> DS_MAD="ceph"
>>>>> HOST="bj-nebula-prd-01"
>>>>> POOL_NAME="images"
>>>>> TM_MAD="ceph"
>>>>> TYPE="IMAGE_DS"
>>>>>
>>>>> IMAGES
>>>>> 15
>>>>>
>>>>> And this is ceph pool info:
>>>>> # ceph osd lspools
>>>>> 0 data,1 metadata,2 rbd,3 volumes,4 images,
>>>>>
>>>>> When i create image with ceph ,I got some error like this:
>>>>>
>>>>> Tue Jun  4 13:56:40 2013 [ReM][D]: Req:960 UID:0
>>>>> VirtualMachinePoolInfo invoked, -2, -1, -1, -1
>>>>> Tue Jun  4 13:56:40 2013 [ReM][D]: Req:960 UID:0
>>>>> VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>25<..."
>>>>> Tue Jun  4 13:56:40 2013 [InM][I]: Monitoring host bj-nebula-prd-01 (8)
>>>>> Tue Jun  4 13:56:40 2013 [ReM][D]: Req:7472 UID:0
>>>>> VirtualMachinePoolInfo invoked, -2, -1, -1, -1
>>>>> Tue Jun  4 13:56:40 2013 [InM][I]: Monitoring host bj-nebula-prd-02
>>>>> (13)
>>>>> Tue Jun  4 13:56:40 2013 [ReM][D]: Req:7472 UID:0
>>>>> VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>25<..."
>>>>> Tue Jun  4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 Command
>>>>> execution fail: /var/lib/one/remotes/**datastore/ceph/cp
>>>>>
>>>>
>>>  PERTX0RSSVZFUl9BQ1RJT05fREFUQT**48SU1BR0U+**
> PElEPjE1PC9JRD48VUlEPjA8L1VJRD**48R0lEPjA8L0dJRD48VU5BTUU+**
> b25lYWRtaW48L1VOQU1FPjxHTkFNRT**5vbmVhZG1pbjwvR05BTUU+PE5BTUU+**
> dHR5bGludXggLSBrdm0gLWNlcGg8L0**5BTUU+**PFBFUk1JU1NJT05TPjxPV05FUl9VPj**
> E8L09XTkVSX1U+PE9XTkVSX00+**MTwvT1dORVJfTT48T1dORVJfQT4wPC**
> 9PV05FUl9BPjxHUk9VUF9VPjA8L0dS**T1VQX1U+PEdST1VQX00+**
> MDwvR1JPVVBfTT48R1JPVVBfQT4wPC**9HUk9VUF9BPjxPVEhFUl9VPjA8L09U**
> SEVSX1U+PE9USEVSX00+**MDwvT1RIRVJfTT48T1RIRVJfQT4wPC**
> 9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+**PFRZUEU+**MDwvVFlQRT48RElTS19UWVBFPjM8L0**
> RJU0tfVFlQRT48UEVSU0lTVEVOVD4w**PC9QRVJTSVNURU5UPjxSRUdUSU1FPj**
> EzNzAzMjUzNjM8L1JFR1RJTUU+**PFNPVVJDRT48L1NPVVJDRT48UEFUSD**
> 5odHRwczovL21hcmtldHBsYWNlLmMx**MmcuY29tL2FwcGxpYW5jZS80ZmM3Nm**
> E5MzhmYjgxZDM1MTcwMDAwMDMvZG93**bmxvYWQ8L1BBVEg+**
> PEZTVFlQRT48L0ZTVFlQRT48U0laRT**40MDwvU0laRT48U1RBVEU+**NDwvU1RBVEU+**
> PFJVTk5J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zEwNDwvQkFTRV9QQVRIPjxUWVBFPj**A8L1RZUEU+**PERJU0tfVFlQRT4zPC9ESVNLX1RZUE
> **U+PENMVVNURVJfSUQ+**MTAwPC9DTFVTVEVSX0lEPjxDTFVTVE**
> VSPmJqLWNsdXN0ZXItdm1zLTAwMTwv**Q0xVU1RFUj48SU1BR0VTPjwvSU1BR0**
> VTPjxURU1QTEFURT48RFNfTUFEPjwh**W0NEQVRBW2NlcGhdXT48
>
>>
>>
>>
>> Links:
>> ------
>> [1] https://marketplace.c12g.com/**appliance/**4fc76a938fb81d3517000003/*
>> *download<https://marketplace.c12g.com/appliance/4fc76a938fb81d3517000003/download>
>> [2] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26
September, 2013
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130617/25046c9b/attachment-0002.htm>


More information about the Users mailing list