Project

General

Profile

Bug #38360

Unable to create initial monitor on OpenSuse Leap 15.0

Added by Lokesh Pashine about 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Monitor
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hello Team,

I am trying to create new cluster and unable to deploy monitor.

Please provide your assistance

OS:
openSUSE
VERSION = 15.0

Ceph Version: ceph version 13.2.4-125-gad802694f5 (ad802694f59042b3054148817f6d2382dda44093) mimic (stable)

ceph@cephaio:~/caio> ceph-deploy mon create-initial
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (2.0.1): /usr/bin/ceph-deploy mon create-initial
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] subcommand : create-initial
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf object at 0x7f9a9fc8c0b8>
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.cli][INFO ] func : <function mon at 0x7f9aa031dc80>
[ceph_deploy.cli][INFO ] keyrings : None
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts cephaio
[ceph_deploy.mon][DEBUG ] detecting platform for host cephaio ...
[cephaio][DEBUG ] connection detected need for sudo
[cephaio][DEBUG ] connected to host: cephaio
[ceph_deploy.mon][INFO ] distro info: opensuse-leap 15.0 15.0
[cephaio][DEBUG ] determining if provided host has same hostname in remote
[cephaio][DEBUG ] deploying mon to cephaio
[cephaio][DEBUG ] remote hostname: cephaio
[cephaio][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-cephaio/done
[cephaio][DEBUG ] done path does not exist: /var/lib/ceph/mon/ceph-cephaio/done
[cephaio][INFO ] creating keyring file: /var/lib/ceph/tmp/ceph-cephaio.mon.keyring
[cephaio][INFO ] Running command: sudo ceph-mon --cluster ceph --mkfs -i cephaio --keyring /var/lib/ceph/tmp/ceph-cephaio.mon.keyring --setuser 1001 --setgroup 1000
[WARNIN] ceph-mon: symbol lookup error: ceph-mon: undefined symbol: _ZTIN13PriorityCache8PriCacheE
[cephaio][ERROR ] RuntimeError: command returned non-zero exit status: 127
[ceph_deploy.mon][ERROR ] Failed to execute command: ceph-mon --cluster ceph --mkfs -i cephaio --keyring /var/lib/ceph/tmp/ceph-cephaio.mon.keyring --setuser 1001 --setgroup 1000
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors

Couple of ceph commands are also not working.

Please help me in this

ceph@cephaio:~/caio> ceph-mon
ceph-mon: symbol lookup error: ceph-mon: undefined symbol: _ZTIN13PriorityCache8PriCacheE
ceph@cephaio:~/caio>

ceph@cephaio:/usr/src/debug> ceph-osd
ceph-osd: symbol lookup error: ceph-osd: undefined symbol: _ZTIN13PriorityCache8PriCacheE
ceph@cephaio:/usr/src/debug>

History

#1 Updated by Alfredo Deza about 5 years ago

  • Project changed from Ceph-deploy to Ceph
  • Category set to Monitor

#2 Updated by Joao Eduardo Luis about 5 years ago

where are you obtaining the packages from? Are you compiling Ceph yourself, or using the opensuse obs packages? (if the latter, which repo?)

#3 Updated by Lokesh Pashine about 5 years ago

I am using packages from opensuse repository(details mentioned below):

Ceph Mimic Repo:
https://download.opensuse.org/repositories/filesystems:/ceph:/mimic/openSUSE_Leap_15.0/filesystems:ceph:mimic.repo

Ceph-deploy Repo:
https://download.opensuse.org/repositories/filesystems:ceph:jewel/openSUSE_Leap_42.2/filesystems:ceph:jewel.repo

gperf repo:
https://download.opensuse.org/repositories/openSUSE:Leap:42.1/standard/openSUSE:Leap:42.1.repo

gperftool version:

cloudobj@cephaio:~> rpm -qa| grep gperf
gperftools-devel-static-2.5-7.2.x86_64
gperftools-debuginfo-2.5-lp150.63.1.x86_64
gperftools-2.5-7.2.x86_64
gperftools-debugsource-2.5-lp150.63.1.x86_64
gperftools-libs-2.7-5.fc30.x86_64
gperftools-devel-2.5-7.2.x86_64
cloudobj@cephaio:~>

Let me know if you need further details.
Thanks for looking into it.

#4 Updated by Joao Eduardo Luis about 5 years ago

Few things here:

1. You are using repositories from all over the place, mixing leap 15.0 with 42.1 and 42.2. There is no expectation that packages would work between releases.
2. You are using ceph-deploy, which is no longer advised. You should consider other deployment alternatives.
3. Leap 15.0 mimic's is not supported by the opensuse community at the moment, nor there are any plans to support it. This means it should work, but there's no effort to test it nor to support it.

Regardless, upon made aware of this issue, Nathan decided to update ceph:mimic to the latest version. Maybe that will help; maybe not. I'd advise you to get your versions under the same umbrella though. And drop your usage of ceph-deploy.

#5 Updated by Lokesh Pashine about 5 years ago

Thanks Joao for your recommendations.

Can you please suggest which version of Ceph I should go with Suse 12.3? I was unable to find all the packages under one repository so I though of giving a try to mix the repos and get it working somehow.

Would you mind telling me alternate way of installing Ceph?

As I am setting a POC environment for our project I started with quick start from here:
http://docs.ceph.com/docs/mimic/start/

for now if you can just guide me how can I get it installed on SUSE 12.3 from any source of information you might have that will be helpful

Thanks

#6 Updated by Joao Eduardo Luis about 5 years ago

Lokesh Pashine wrote:

Thanks Joao for your recommendations.

Can you please suggest which version of Ceph I should go with Suse 12.3? I was unable to find all the packages under one repository so I though of giving a try to mix the repos and get it working somehow.

Well, SUSE 12.3 (i.e., SLES 12.3) is an enterprise version. If you are looking for deployment on that, you should probably contact the official support/consulting services for your vendor of choice. I don't think the community is the best place to ask for enterprise support. Sorry.

#7 Updated by Joao Eduardo Luis about 5 years ago

  • Status changed from New to Rejected

#8 Updated by Nathan Cutler about 5 years ago

@Lokesh, have you seen https://en.opensuse.org/openSUSE:Ceph ?

Salt/DeepSea would be the expected way to deploy ceph on openSUSE Leap 15.0, not ceph-deploy.

Also available in: Atom PDF