Re: Mounting Ceph RBD image to XenServer 7 as SR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Somnath and Christian,

Yes, it looks like the latest version of XenServer still runs on an old kernel (3.10).  I know the method Christian linked, but it doesn’t work if XenServer is installed from iso.  It is really annoying there has been no movement on this for 3 years… I really like XenServer and am excited to use Ceph, I want this to work.  

Since there are no VM’s on it yet, I think I will upgrade the kernel and see what happens.

Cheers,
Mike


On Jun 30, 2016, at 7:40 PM, Somnath Roy <Somnath.Roy@xxxxxxxxxxx> wrote:

It seems your client kernel is pretty old ?
Either upgrade your kernel to 3.15 or later or you need to disable CRUSH_TUNABLES3.
ceph osd crush tunables bobtail or ceph osd crush tunables legacy should help. This will start rebalancing and also you will lose improvement added in Firefly. So, better to upgrade client kernel IMO.
 
Thanks & Regards
Somnath
 
From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx] On Behalf Of Mike Jacobacci
Sent: Thursday, June 30, 2016 7:27 PM
To: Jake Young
Cc: ceph-users@xxxxxxxxxxxxxx
Subject: Re: Mounting Ceph RBD image to XenServer 7 as SR
 
Thanks Jake!  I enabled the epel 7 repo and was able to get ceph-common installed.  Here is what happens when I try to map the drive:
 
rbd map rbd/enterprise-vm0 --name client.admin -m mon0 -k /etc/ceph/ceph.client.admin.keyring 
rbd: sysfs write failed
In some cases useful info is found in syslog - try "dmesg | tail" or so.
rbd: map failed: (5) Input/output error
 
dmesg | tail:
 
[35034.469236] libceph: mon0 192.168.10.187:6789 socket error on read
[35044.469183] libceph: mon0 192.168.10.187:6789 feature set mismatch, my 4a042a42 < server's 2004a042a42, missing 20000000000
[35044.469199] libceph: mon0 192.168.10.187:6789 socket error on read
[35054.469076] libceph: mon0 192.168.10.187:6789 feature set mismatch, my 4a042a42 < server's 2004a042a42, missing 20000000000
[35054.469083] libceph: mon0 192.168.10.187:6789 socket error on read
[35064.469287] libceph: mon0 192.168.10.187:6789 feature set mismatch, my 4a042a42 < server's 2004a042a42, missing 20000000000
[35064.469302] libceph: mon0 192.168.10.187:6789 socket error on read
[35074.469162] libceph: mon0 192.168.10.187:6789 feature set mismatch, my 4a042a42 < server's 2004a042a42, missing 20000000000
[35074.469178] libceph: mon0 192.168.10.187:6789 socket error on read
 
 
 
 
On Jun 30, 2016, at 6:15 PM, Jake Young <jak3kaj@xxxxxxxxx> wrote:
 


On Thursday, June 30, 2016, Mike Jacobacci <mikej@xxxxxxxxxx> wrote:
So after adding the ceph repo and enabling the cents-7 repo… It fails trying to install ceph-common:
 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package ceph-common.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: python-cephfs = 1:10.2.2-0.el7 for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: python-rados = 1:10.2.2-0.el7 for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: librbd1 = 1:10.2.2-0.el7 for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libcephfs1 = 1:10.2.2-0.el7 for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: python-rbd = 1:10.2.2-0.el7 for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: librados2 = 1:10.2.2-0.el7 for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: python-requests for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libboost_program_options-mt.so.1.53.0()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: librgw.so.2()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libradosstriper.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libbabeltrace-ctf.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libboost_regex-mt.so.1.53.0()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libboost_iostreams-mt.so.1.53.0()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: librbd.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libtcmalloc.so.4()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: librados.so.2()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libbabeltrace.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Running transaction check
---> Package boost-iostreams.x86_64 0:1.53.0-25.el7 will be installed
---> Package boost-program-options.x86_64 0:1.53.0-25.el7 will be installed
---> Package boost-regex.x86_64 0:1.53.0-25.el7 will be installed
---> Package ceph-common.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libbabeltrace-ctf.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libbabeltrace.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
---> Package gperftools-libs.x86_64 0:2.4-7.el7 will be installed
--> Processing Dependency: libunwind.so.8()(64bit) for package: gperftools-libs-2.4-7.el7.x86_64
---> Package libcephfs1.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libboost_random-mt.so.1.53.0()(64bit) for package: 1:libcephfs1-10.2.2-0.el7.x86_64
---> Package librados2.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: liblttng-ust.so.0()(64bit) for package: 1:librados2-10.2.2-0.el7.x86_64
---> Package libradosstriper1.x86_64 1:10.2.2-0.el7 will be installed
---> Package librbd1.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: liblttng-ust.so.0()(64bit) for package: 1:librbd1-10.2.2-0.el7.x86_64
---> Package librgw2.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libfcgi.so.0()(64bit) for package: 1:librgw2-10.2.2-0.el7.x86_64
---> Package python-cephfs.x86_64 1:10.2.2-0.el7 will be installed
---> Package python-rados.x86_64 1:10.2.2-0.el7 will be installed
---> Package python-rbd.x86_64 1:10.2.2-0.el7 will be installed
---> Package python-requests.noarch 0:2.6.0-1.el7_1 will be installed
--> Processing Dependency: python-urllib3 >= 1.10.2-1 for package: python-requests-2.6.0-1.el7_1.noarch
--> Processing Dependency: python-chardet >= 2.2.1-1 for package: python-requests-2.6.0-1.el7_1.noarch
--> Running transaction check
---> Package boost-random.x86_64 0:1.53.0-25.el7 will be installed
---> Package ceph-common.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libbabeltrace-ctf.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libbabeltrace.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
---> Package librados2.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: liblttng-ust.so.0()(64bit) for package: 1:librados2-10.2.2-0.el7.x86_64
---> Package librbd1.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: liblttng-ust.so.0()(64bit) for package: 1:librbd1-10.2.2-0.el7.x86_64
---> Package librgw2.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libfcgi.so.0()(64bit) for package: 1:librgw2-10.2.2-0.el7.x86_64
---> Package libunwind.x86_64 0:1.1-5.el7 will be installed
---> Package python-chardet.noarch 0:2.2.1-1.el7_1 will be installed
---> Package python-urllib3.noarch 0:1.10.2-2.el7_1 will be installed
--> Processing Dependency: python-six for package: python-urllib3-1.10.2-2.el7_1.noarch
--> Processing Dependency: python-backports-ssl_match_hostname for package: python-urllib3-1.10.2-2.el7_1.noarch
--> Running transaction check
---> Package ceph-common.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libbabeltrace-ctf.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libbabeltrace.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
---> Package librados2.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: liblttng-ust.so.0()(64bit) for package: 1:librados2-10.2.2-0.el7.x86_64
---> Package librbd1.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: liblttng-ust.so.0()(64bit) for package: 1:librbd1-10.2.2-0.el7.x86_64
---> Package librgw2.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libfcgi.so.0()(64bit) for package: 1:librgw2-10.2.2-0.el7.x86_64
---> Package python-backports-ssl_match_hostname.noarch 0:3.4.0.2-4.el7 will be installed
--> Processing Dependency: python-backports for package: python-backports-ssl_match_hostname-3.4.0.2-4.el7.noarch
---> Package python-six.noarch 0:1.9.0-2.el7 will be installed
--> Running transaction check
---> Package ceph-common.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libbabeltrace-ctf.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
--> Processing Dependency: libbabeltrace.so.1()(64bit) for package: 1:ceph-common-10.2.2-0.el7.x86_64
---> Package librados2.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: liblttng-ust.so.0()(64bit) for package: 1:librados2-10.2.2-0.el7.x86_64
---> Package librbd1.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: liblttng-ust.so.0()(64bit) for package: 1:librbd1-10.2.2-0.el7.x86_64
---> Package librgw2.x86_64 1:10.2.2-0.el7 will be installed
--> Processing Dependency: libfcgi.so.0()(64bit) for package: 1:librgw2-10.2.2-0.el7.x86_64
---> Package python-backports.x86_64 0:1.0-8.el7 will be installed
--> Finished Dependency Resolution
Error: Package: 1:librados2-10.2.2-0.el7.x86_64 (Ceph)
           Requires: liblttng-ust.so.0()(64bit)
Error: Package: 1:ceph-common-10.2.2-0.el7.x86_64 (Ceph)
           Requires: libbabeltrace-ctf.so.1()(64bit)
Error: Package: 1:ceph-common-10.2.2-0.el7.x86_64 (Ceph)
           Requires: libbabeltrace.so.1()(64bit)
Error: Package: 1:librgw2-10.2.2-0.el7.x86_64 (Ceph)
           Requires: libfcgi.so.0()(64bit)
Error: Package: 1:librbd1-10.2.2-0.el7.x86_64 (Ceph)
           Requires: liblttng-ust.so.0()(64bit)
 
 
Also, when I enabled the cents repo, there were no updates… I am going to try the 7.2.1511 repo next.
 
PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux