<div dir="ltr">well you have to use newer version of centos or compile librbd by hand <br><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 4, 2013 at 2:00 PM, <span dir="ltr"><<a href="mailto:alan.zhang@linuxwind.org" target="_blank">alan.zhang@linuxwind.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for your help,but i work on centos 6.4 ,how can i upgrade librbd?<br>
<br>
upgrade ceph-devel , I have install the lasted version.<br>
<br>
Could you tell me in detail?<br>
<br>
<br>
<br>
<br>
于 2013-06-04 11:06, George Kissandrakis 回复:<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I had the same problem<br>
<br>
When I run by hand the command<br>
qemu-img convert -O rbd /var/tmp/<u></u>9adcb555fee553fb1fce447d6ed0a9<u></u>d4<br>
rbd:images/one-15<br>
<br>
i had a core dump with librbd.so.<br>
When i upgraded librbd (OS library) the problem was fixed <br>
<br>
On Tue, Jun 4, 2013 at 8:36 AM, <<a href="mailto:alan.zhang@linuxwind.org" target="_blank">alan.zhang@linuxwind.org</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
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:<br>
<br>
$ onedatastore list<br>
ID NAME CLUSTER IMAGES TYPE DS TM<br>
0 system - 0 sys - shared<br>
1 default bj-cluster-vms- 1 img fs shared<br>
2 files bj-cluster-vms- 0 fil fs ssh<br>
104 bj-ceph-001 bj-cluster-vms- 2 img ceph ceph<br>
<br>
$ onedatastore show 104<br>
DATASTORE 104 INFORMATION<br>
ID : 104<br>
NAME : bj-ceph-001<br>
USER : oneadmin<br>
GROUP : oneadmin<br>
CLUSTER : bj-cluster-vms-001<br>
TYPE : IMAGE<br>
DS_MAD : ceph<br>
TM_MAD : ceph<br>
BASE PATH : /var/lib/one/datastores/104<br>
DISK_TYPE : RBD<br>
<br>
PERMISSIONS<br>
OWNER : um-<br>
GROUP : u--<br>
OTHER : ---<br>
<br>
DATASTORE TEMPLATE<br>
DS_MAD="ceph"<br>
HOST="bj-nebula-prd-01"<br>
POOL_NAME="images"<br>
TM_MAD="ceph"<br>
TYPE="IMAGE_DS"<br>
<br>
IMAGES<br>
15<br>
<br>
And this is ceph pool info:<br>
# ceph osd lspools<br>
0 data,1 metadata,2 rbd,3 volumes,4 images,<br>
<br>
When i create image with ceph ,I got some error like this:<br>
<br>
Tue Jun 4 13:56:40 2013 [ReM][D]: Req:960 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1<br>
Tue Jun 4 13:56:40 2013 [ReM][D]: Req:960 UID:0 VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>25<..."<br>
Tue Jun 4 13:56:40 2013 [InM][I]: Monitoring host bj-nebula-prd-01 (8)<br>
Tue Jun 4 13:56:40 2013 [ReM][D]: Req:7472 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1<br>
Tue Jun 4 13:56:40 2013 [InM][I]: Monitoring host bj-nebula-prd-02 (13)<br>
Tue Jun 4 13:56:40 2013 [ReM][D]: Req:7472 UID:0 VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>25<..."<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 Command execution fail: /var/lib/one/remotes/<u></u>datastore/ceph/cp <br>
</blockquote></blockquote>
PERTX0RSSVZFUl9BQ1RJT05fREFUQT<u></u>48SU1BR0U+<u></u>PElEPjE1PC9JRD48VUlEPjA8L1VJRD<u></u>48R0lEPjA8L0dJRD48VU5BTUU+<u></u>b25lYWRtaW48L1VOQU1FPjxHTkFNRT<u></u>5vbmVhZG1pbjwvR05BTUU+PE5BTUU+<u></u>dHR5bGludXggLSBrdm0gLWNlcGg8L0<u></u>5BTUU+<u></u>PFBFUk1JU1NJT05TPjxPV05FUl9VPj<u></u>E8L09XTkVSX1U+PE9XTkVSX00+<u></u>MTwvT1dORVJfTT48T1dORVJfQT4wPC<u></u>9PV05FUl9BPjxHUk9VUF9VPjA8L0dS<u></u>T1VQX1U+PEdST1VQX00+<u></u>MDwvR1JPVVBfTT48R1JPVVBfQT4wPC<u></u>9HUk9VUF9BPjxPVEhFUl9VPjA8L09U<u></u>SEVSX1U+PE9USEVSX00+<u></u>MDwvT1RIRVJfTT48T1RIRVJfQT4wPC<u></u>9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+<u></u>PFRZUEU+<u></u>MDwvVFlQRT48RElTS19UWVBFPjM8L0<u></u>RJU0tfVFlQRT48UEVSU0lTVEVOVD4w<u></u>PC9QRVJTSVNURU5UPjxSRUdUSU1FPj<u></u>EzNzAzMjUzNjM8L1JFR1RJTUU+<u></u>PFNPVVJDRT48L1NPVVJDRT48UEFUSD<u></u>5odHRwczovL21hcmtldHBsYWNlLmMx<u></u>MmcuY29tL2FwcGxpYW5jZS80ZmM3Nm<u></u>E5MzhmYjgxZDM1MTcwMDAwMDMvZG93<u></u>bmxvYWQ8L1BBVEg+<u></u>PEZTVFlQRT48L0ZTVFlQRT48U0laRT<u></u>40MDwvU0laRT48U1RBVEU+<u></u>NDwvU1RBVEU+<u></u>PFJVTk5JTkdfVk1TPjA8L1JVTk5JTk<u></u>dfVk1TPjxDTE9OSU5HX09QUz4wPC9D<u></u>TE9OSU5HX09QUz48Q0xPTklOR19JRD<u></u>4tMTwvQ0xPTklOR19JRD48REFUQVNU<u></u>T1JFX0lEPjEwNDwvREFUQVNUT1JFX0<u></u>lEPjxEQVRBU1RPUkU+<u></u>YmotY2VwaC0wMDE8L0RBVEFTVE9SRT<u></u>48Vk1TPj<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote></blockquote>
wvVk1TPjxDTE9ORVM+PC9DTE9ORVM+<u></u>PFRFTVBMQVRFPjxERVZfUFJFRklYPj<u></u>whW0NEQVRBW2hkXV0+<u></u>PC9ERVZfUFJFRklYPjxEUklWRVI+<u></u>PCFbQ0RBVEFbcmF3XV0+<u></u>PC9EUklWRVI+<u></u>PE1ENT48IVtDREFUQVswNGM3ZDAwZT<u></u>g4ZmE2NmQ5YWFhMzRkOWNmOGFkNmFh<u></u>YV1dPjwvTUQ1PjwvVEVNUExBVEU+<u></u>PC9JTUFHRT48REFUQVNUT1JFPjxJRD<u></u>4xMDQ8L0lEPjxVSUQ+<u></u>MDwvVUlEPjxHSUQ+<u></u>MDwvR0lEPjxVTkFNRT5vbmVhZG1pbj<u></u>wvVU5BTUU+<u></u>PEdOQU1FPm9uZWFkbWluPC9HTkFNRT<u></u>48TkFNRT5iai1jZXBoLTAwMTwvTkFN<u></u>RT48UEVSTUlTU0lPTlM+<u></u>PE9XTkVSX1U+<u></u>MTwvT1dORVJfVT48T1dORVJfTT4xPC<u></u>9PV05FUl9NPjxPV05FUl9BPjA8L09X<u></u>TkVSX0E+PEdST1VQX1U+<u></u>MTwvR1JPVVBfVT48R1JPVVBfTT4wPC<u></u>9HUk9VUF9NPjxHUk9VUF9BPjA8L0dS<u></u>T1VQX0E+PE9USEVSX1U+<u></u>MDwvT1RIRVJfVT48T1RIRVJfTT4wPC<u></u>9PVEhFUl9NPjxPVEhFUl9BPjA8L09U<u></u>SEVSX0E+<u></u>PC9QRVJNSVNTSU9OUz48RFNfTUFEPm<u></u>NlcGg8L0RTX01BRD48VE1fTUFEPmNl<u></u>cGg8L1RNX01BRD48QkFTRV9QQVRIPi<u></u>92YXIvbGliL29uZS9kYXRhc3RvcmVz<u></u>LzEwNDwvQkFTRV9QQVRIPjxUWVBFPj<u></u>A8L1RZUEU+<u></u>PERJU0tfVFlQRT4zPC9ESVNLX1RZUE<u></u>U+PENMVVNURVJfSUQ+<u></u>MTAwPC9DTFVTVEVSX0lEPjxDTFVTVE<u></u>VSPmJqLWNsdXN0ZXItdm1zLTAwMTwv<u></u>Q0xVU1RFUj48SU1BR0VTPjwvSU1BR0<u></u>VTPjxURU1QTEFURT48RFNfTUFEPjwh<u></u>W0NEQVRBW2NlcGhdXT48<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
L0RTX01BRD48SE9TVD48IVtDREFUQV<u></u>tiai1uZWJ1bGEtcHJkLTAxXV0+<u></u>PC9IT1NUPjxQT09MX05BTUU+<u></u>PCFbQ0RBVEFbaW1hZ2VzXV0+<u></u>PC9QT09MX05BTUU+<u></u>PFRNX01BRD48IVtDREFUQVtjZXBoXV<u></u>0+PC9UTV9NQUQ+PFRZUEU+<u></u>PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1<u></u>RZUEU+<u></u>PC9URU1QTEFURT48L0RBVEFTVE9SRT<u></u>48L0RTX0RSSVZFUl9BQ1RJT05fREFU<u></u>QT4= 15<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]: Command execution fail: /var/lib/one/remotes/<u></u>datastore/ceph/cp <br>
</blockquote></blockquote>
PERTX0RSSVZFUl9BQ1RJT05fREFUQT<u></u>48SU1BR0U+<u></u>PElEPjE1PC9JRD48VUlEPjA8L1VJRD<u></u>48R0lEPjA8L0dJRD48VU5BTUU+<u></u>b25lYWRtaW48L1VOQU1FPjxHTkFNRT<u></u>5vbmVhZG1pbjwvR05BTUU+PE5BTUU+<u></u>dHR5bGludXggLSBrdm0gLWNlcGg8L0<u></u>5BTUU+<u></u>PFBFUk1JU1NJT05TPjxPV05FUl9VPj<u></u>E8L09XTkVSX1U+PE9XTkVSX00+<u></u>MTwvT1dORVJfTT48T1dORVJfQT4wPC<u></u>9PV05FUl9BPjxHUk9VUF9VPjA8L0dS<u></u>T1VQX1U+PEdST1VQX00+<u></u>MDwvR1JPVVBfTT48R1JPVVBfQT4wPC<u></u>9HUk9VUF9BPjxPVEhFUl9VPjA8L09U<u></u>SEVSX1U+PE9USEVSX00+<u></u>MDwvT1RIRVJfTT48T1RIRVJfQT4wPC<u></u>9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+<u></u>PFRZUEU+<u></u>MDwvVFlQRT48RElTS19UWVBFPjM8L0<u></u>RJU0tfVFlQRT48UEVSU0lTVEVOVD4w<u></u>PC9QRVJTSVNURU5UPjxSRUdUSU1FPj<u></u>EzNzAzMjUzNjM8L1JFR1RJTUU+<u></u>PFNPVVJDRT48L1NPVVJDRT48UEFUSD<u></u>5odHRwczovL21hcmtldHBsYWNlLmMx<u></u>MmcuY29tL2FwcGxpYW5jZS80ZmM3Nm<u></u>E5MzhmYjgxZDM1MTcwMDAwMDMvZG93<u></u>bmxvYWQ8L1BBVEg+<u></u>PEZTVFlQRT48L0ZTVFlQRT48U0laRT<u></u>40MDwvU0laRT48U1RBVEU+<u></u>NDwvU1RBVEU+<u></u>PFJVTk5JTkdfVk1TPjA8L1JVTk5JTk<u></u>dfVk1TPjxDTE9OSU5HX09QUz4wPC9D<u></u>TE9OSU5HX09QUz48Q0xPTklOR19JRD<u></u>4tMTwvQ0xPTklOR19JRD48REFUQVNU<u></u>T1JFX0lEPjEwNDwvREFUQVNUT1JFX0<u></u>lEPjxEQVRBU1RPUkU+<u></u>YmotY2VwaC0wMDE8L0RBVEFTVE9SRT<u></u>48Vk1TPj<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
</blockquote></blockquote>
wvVk1TPjxDTE9ORVM+PC9DTE9ORVM+<u></u>PFRFTVBMQVRFPjxERVZfUFJFRklYPj<u></u>whW0NEQVRBW2hkXV0+<u></u>PC9ERVZfUFJFRklYPjxEUklWRV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></u>W0NEQVRBW2NlcGhdXT48<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
L0RTX01BRD48SE9TVD48IVtDREFUQV<u></u>tiai1uZWJ1bGEtcHJkLTAxXV0+<u></u>PC9IT1NUPjxQT09MX05BTUU+<u></u>PCFbQ0RBVEFbaW1hZ2VzXV0+<u></u>PC9QT09MX05BTUU+<u></u>PFRNX01BRD48IVtDREFUQVtjZXBoXV<u></u>0+PC9UTV9NQUQ+PFRZUEU+<u></u>PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1<u></u>RZUEU+<u></u>PC9URU1QTEFURT48L0RBVEFTVE9SRT<u></u>48L0RTX0RSSVZFUl9BQ1RJT05fREFU<u></u>QT4= 15<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 cp: Downloading <a href="https://marketplace.c12g.com/appliance/4fc76a938fb81d3517000003/download" target="_blank">https://marketplace.c12g.com/<u></u>appliance/<u></u>4fc76a938fb81d3517000003/<u></u>download</a> [1] to the image repository<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]: cp: Downloading <a href="https://marketplace.c12g.com/appliance/4fc76a938fb81d3517000003/download" target="_blank">https://marketplace.c12g.com/<u></u>appliance/<u></u>4fc76a938fb81d3517000003/<u></u>download</a> [1] to the image repository<div>
<div class="h5"><br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG E 15 cp: Command " set -e<br>
Tue Jun 4 13:56:40 2013 [ImM][E]: cp: Command " set -e<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]:<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 # create rbd<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]: # create rbd<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 qemu-img convert -O rbd /var/tmp/<u></u>9adcb555fee553fb1fce447d6ed0a9<u></u>d4 rbd:images/one-15<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]: qemu-img convert -O rbd /var/tmp/<u></u>9adcb555fee553fb1fce447d6ed0a9<u></u>d4 rbd:images/one-15<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]:<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 # remove original<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]: # remove original<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 rm -f /var/tmp/<u></u>9adcb555fee553fb1fce447d6ed0a9<u></u>d4" failed: sh: line 4: 22262 段错误 (core dumped) qemu-img convert -O rbd /var/tmp/<u></u>9adcb555fee553fb1fce447d6ed0a9<u></u>d4 rbd:images/one-15<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]: rm -f /var/tmp/<u></u>9adcb555fee553fb1fce447d6ed0a9<u></u>d4" failed: sh: line 4: 22262 段错误 (core dumped) qemu-img convert -O rbd /var/tmp/<u></u>9adcb555fee553fb1fce447d6ed0a9<u></u>d4 rbd:images/one-15<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG E 15 Error registering images/one-15 in bj-nebula-prd-01<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][E]: Error registering images/one-15 in bj-nebula-prd-01<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: LOG I 15 ExitCode: 139<br>
<br>
Tue Jun 4 13:56:40 2013 [ImM][I]: ExitCode: 139<br>
Tue Jun 4 13:56:40 2013 [ImG][D]: Message received: CP FAILURE 15 Error registering images/one-15 in bj-nebula-prd-01<br>
<br>
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<br>
Tue Jun 4 13:56:43 2013 [InM][I]: ExitCode: 0<br>
Tue Jun 4 13:56:43 2013 [InM][D]: Host bj-nebula-prd-01 (8) successfully monitored.<br>
Tue Jun 4 13:56:44 2013 [InM][I]: ExitCode: 0<br>
<br>
Give me a hand :)<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
</div></div><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a> [2]<br>
</blockquote>
<br>
<br>
<br>
Links:<br>
------<br>
[1] <a href="https://marketplace.c12g.com/appliance/4fc76a938fb81d3517000003/download" target="_blank">https://marketplace.c12g.com/<u></u>appliance/<u></u>4fc76a938fb81d3517000003/<u></u>download</a><br>
[2] <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</blockquote>
</blockquote></div><br></div>