[one-users] create image error with ceph
George Kissandrakis
gkissand at gmail.com
Tue Jun 4 05:15:22 PDT 2013
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**
> 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U+**
> MTwvT1dORVJfVT48T1dORVJfTT4xPC**9PV05FUl9NPjxPV05FUl9BPjA8L09X**
> TkVSX0E+PEdST1VQX1U+**MTwvR1JPVVBfVT48R1JPVVBfTT4wPC**
> 9HUk9VUF9NPjxHUk9VUF9BPjA8L0dS**T1VQX0E+PE9USEVSX1U+**
> MDwvT1RIRVJfVT48T1RIRVJfTT4wPC**9PVEhFUl9NPjxPVEhFUl9BPjA8L09U**SEVSX0E+**
> PC9QRVJNSVNTSU9OUz48RFNfTUFEPm**NlcGg8L0RTX01BRD48VE1fTUFEPmNl**
> cGg8L1RNX01BRD48QkFTRV9QQVRIPi**92YXIvbGliL29uZS9kYXRhc3RvcmVz**
> LzEwNDwvQkFTRV9QQVRIPjxUWVBFPj**A8L1RZUEU+**PERJU0tfVFlQRT4zPC9ESVNLX1RZUE
> **U+PENMVVNURVJfSUQ+**MTAwPC9DTFVTVEVSX0lEPjxDTFVTVE**
> VSPmJqLWNsdXN0ZXItdm1zLTAwMTwv**Q0xVU1RFUj48SU1BR0VTPjwvSU1BR0**
> VTPjxURU1QTEFURT48RFNfTUFEPjwh**W0NEQVRBW2NlcGhdXT48
>
>> L0RTX01BRD48SE9TVD48IVtDREFUQV**tiai1uZWJ1bGEtcHJkLTAxXV0+**
>>> PC9IT1NUPjxQT09MX05BTUU+**PCFbQ0RBVEFbaW1hZ2VzXV0+**PC9QT09MX05BTUU+**
>>> PFRNX01BRD48IVtDREFUQVtjZXBoXV**0+PC9UTV9NQUQ+PFRZUEU+**
>>> PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1**RZUEU+**PC9URU1QTEFURT48L0RBVEFTVE9SRT**
>>> 48L0RTX0RSSVZFUl9BQ1RJT05fREFU**QT4= 15
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]: Command execution fail:
>>> /var/lib/one/remotes/**datastore/ceph/cp
>>>
>> PERTX0RSSVZFUl9BQ1RJT05fREFUQT**48SU1BR0U+**
> PElEPjE1PC9JRD48VUlE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bGEtcHJkLTAxXV0+**
>>> PC9IT1NUPjxQT09MX05BTUU+**PCFbQ0RBVEFbaW1hZ2VzXV0+**PC9QT09MX05BTUU+**
>>> PFRNX01BRD48IVtDREFUQVtjZXBoXV**0+PC9UTV9NQUQ+PFRZUEU+**
>>> PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1**RZUEU+**PC9URU1QTEFURT48L0RBVEFTVE9SRT**
>>> 48L0RTX0RSSVZFUl9BQ1RJT05fREFU**QT4= 15
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 cp:
>>> Downloading https://marketplace.c12g.com/**appliance/**
>>> 4fc76a938fb81d3517000003/**download<https://marketplace.c12g.com/appliance/4fc76a938fb81d3517000003/download>[1] to the image repository
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]: cp: Downloading
>>> https://marketplace.c12g.com/**appliance/**4fc76a938fb81d3517000003/**
>>> download<https://marketplace.c12g.com/appliance/4fc76a938fb81d3517000003/download>[1] to the image repository
>>>
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG E 15 cp:
>>> Command " set -e
>>> Tue Jun 4 13:56:40 2013 [ImM][E]: cp: Command " set -e
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]:
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 # create
>>> rbd
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]: # create rbd
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 qemu-img
>>> convert -O rbd /var/tmp/**9adcb555fee553fb1fce447d6ed0a9**d4
>>> rbd:images/one-15
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]: qemu-img convert -O rbd /var/tmp/**
>>> 9adcb555fee553fb1fce447d6ed0a9**d4 rbd:images/one-15
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]:
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 # remove
>>> original
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]: # remove original
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 rm -f
>>> /var/tmp/**9adcb555fee553fb1fce447d6ed0a9**d4" failed: sh: line 4:
>>> 22262 段错误 (core dumped) qemu-img convert -O rbd /var/tmp/**
>>> 9adcb555fee553fb1fce447d6ed0a9**d4 rbd:images/one-15
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]: rm -f /var/tmp/**
>>> 9adcb555fee553fb1fce447d6ed0a9**d4" failed: sh: line 4: 22262 段错误
>>> (core dumped) qemu-img convert -O rbd /var/tmp/**
>>> 9adcb555fee553fb1fce447d6ed0a9**d4 rbd:images/one-15
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG E 15 Error
>>> registering images/one-15 in bj-nebula-prd-01
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][E]: Error registering images/one-15 in
>>> bj-nebula-prd-01
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 ExitCode:
>>> 139
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][I]: ExitCode: 139
>>> Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: CP FAILURE 15 Error
>>> registering images/one-15 in bj-nebula-prd-01
>>>
>>> Tue Jun 4 13:56:40 2013 [ImM][E]: Error copying image in the datastore:
>>> Error registering images/one-15 in bj-nebula-prd-01
>>> Tue Jun 4 13:56:43 2013 [InM][I]: ExitCode: 0
>>> Tue Jun 4 13:56:43 2013 [InM][D]: Host bj-nebula-prd-01 (8)
>>> successfully monitored.
>>> Tue Jun 4 13:56:44 2013 [InM][I]: ExitCode: 0
>>>
>>> Give me a hand :)
>>> ______________________________**_________________
>>> 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>[2]
>>>
>>
>>
>>
>> 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>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130604/311f9da5/attachment-0002.htm>
More information about the Users
mailing list