Does anyone have a working Ceph datastore that would
be willing to send me a copy of what the deployment.0 of
your successfully-launched Ceph VM looks like?  Likewise
a ps -ef of the corresponding running KVM process?

We are getting close to being able to launch a virtual machine from
Ceph but it is still not quite clear what libvirt is doing
under the covers to talk to rbd, and if it can be tested manually.

Steve Timm


On Wed, 10 Sep 2014, Steven Timm wrote:

The first and most obvious problem below was that we were running an
old version of qemu-img and qemu-kvm that ships with RHEL6/Centos6/SL6
that doesn't support the "rbd" format.  We were able to find
a modified version that the Ceph people had back-ported and now
we can import an image into the datastore and have
gotten as far to getting a deployment.0 written on the hypervisor.
It can't contact Ceph as yet, is getting connection refused but
we think that is an authentication issue.

http://ceph.com/packages/qemu-kvm/redhat/x86_64/
is where these packages for 6.2 live.

Hopefully this all gets easier pretty soon now that RedHat has bought Ceph
and all the right packages will be in RHEL7. Or will they be only proprietarily available in Redhat Enterprise Virtualization? Has anyone tried yet?

Steve



On Wed, 10 Sep 2014, Steven Timm wrote:



 I have configured a Ceph datastore on one 4.6 and have gotten as
 far as to get opennebula to accept the datastore.  But when we
 try to do the first oneimage create into the datastore we get the
 following error in oned.log :

 Wed Sep 10 13:10:44 2014 [ImM][I]: Command execution fail:
 /var/lib/one/remotes/datastore/ceph/cp
 
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjE4PC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+Y2VwaHRlc3Q8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjA8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RI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+PERTX01BRD48IVtDREFUQVtjZXBoXV0+PC9EU19NQUQ+PExOX1RBUkdFVD48IVtDREFUQVtOT05FXV0+PC9MTl9UQVJHRVQ+PFBPT0xfTkFNRT48IVtDREFUQVtvbmVdXT48L1BPT0xfTkFNRT48U1RBR0lOR19ESVI+PCFbQ0RBVEFbL3Zhci9saWIvb25lL2NlcGgtdG1wXV0+PC9TVEFHSU5HX0RJUj48VE1fTUFEPjwhW0NEQVRBW2NlcGhdXT48L1RNX01BRD48L1RFTVBMQVRFPjwvREFUQVNUT1JFPjwvRFNfRFJJVkVSX0FDVElPTl9EQVRBPg==
 18
 Wed Sep 10 13:10:44 2014 [ImM][I]: cp: Copying local image
 /cloud/images/timm/40gb.qcow2 to the image repository
 Wed Sep 10 13:10:44 2014 [ImM][E]: cp: Command "    set -e
 Wed Sep 10 13:10:44 2014 [ImM][I]:
 Wed Sep 10 13:10:44 2014 [ImM][I]: if [ "" = "2" ]; then
 Wed Sep 10 13:10:44 2014 [ImM][I]: FORMAT=$(qemu-img info
 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c | grep "^file
format:" | awk '{print }')
 Wed Sep 10 13:10:44 2014 [ImM][I]:
 Wed Sep 10 13:10:44 2014 [ImM][I]: if [ "$FORMAT" != "raw" ]; then
 Wed Sep 10 13:10:44 2014 [ImM][I]: qemu-img convert -O raw
 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c
 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c.raw
 Wed Sep 10 13:10:44 2014 [ImM][I]: mv
 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c.raw
 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c
 Wed Sep 10 13:10:44 2014 [ImM][I]: fi
 Wed Sep 10 13:10:44 2014 [ImM][I]:
 Wed Sep 10 13:10:44 2014 [ImM][I]: rbd import --format 2
 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c one/one-18
 Wed Sep 10 13:10:44 2014 [ImM][I]: else
 Wed Sep 10 13:10:44 2014 [ImM][I]: qemu-img convert
 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c rbd:one/one-18
 Wed Sep 10 13:10:44 2014 [ImM][I]: fi
 Wed Sep 10 13:10:44 2014 [ImM][I]:
 Wed Sep 10 13:10:44 2014 [ImM][I]: # remove original
 Wed Sep 10 13:10:44 2014 [ImM][I]: rm -f
 /var/lib/one/ceph-tmp/68bec7e25cb73c98a31a48117022d72c" failed: Unknown
 protocol 'rbd:one/one-18'
 Wed Sep 10 13:10:44 2014 [ImM][E]: Error registering one/one-18 in one4dev
 Wed Sep 10 13:10:44 2014 [ImM][I]: ExitCode: 1
 Wed Sep 10 13:10:44 2014 [ImM][E]: Error copying image in the datastore:
 Error registering one/one-18 in one4dev




 ---

 Clear we are afailed to register the rbd, but not clear why.. any
 or clues on why we failed are helpful.
 Several places in the docs refer to libvirt 1.x.  Has anyone
 made this work on RHEL6/Centos 6 (we are running the newer kernel so
 we do have the rbd.o kernel module available, and rbd import/export
 works from the command line.)

 Steve Timm


 ------------------------------------------------------------------
 Steven C. Timm, Ph.D  (630) 840-8525
 t...@fnal.gov  http://home.fnal.gov/~timm/
 Fermilab Scientific Computing Division, Scientific Computing Services
 Quad.
 Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing


------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Scientific Computing Division, Scientific Computing Services Quad.
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Scientific Computing Division, Scientific Computing Services Quad.
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to