Project

General

Profile

Bug #15601

ceph-deploy fails on RHEL 7.0 complaining about ceph-osd , ceph-md , ceph-mon

Added by Vandita Arora almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi ,

While attempting to install Ceph on RHEL 7 system , the installation fails with the following error :

[ceph_deploy.install][DEBUG ] Installing stable version infernalis on cluster ceph hosts ceph-as-4p.sys.comcast.net
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph-as-4p.sys.comcast.net ...
[ceph-as-4p.sys.comcast.net][DEBUG ] connection detected need for sudo
[ceph-as-4p.sys.comcast.net][DEBUG ] connected to host: ceph-as-4p.sys.comcast.net
[ceph-as-4p.sys.comcast.net][DEBUG ] detect platform information from remote host
[ceph-as-4p.sys.comcast.net][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Red Hat Enterprise Linux Server 7.0 Maipo
[ceph-as-4p.sys.comcast.net][INFO ] installing Ceph on ceph-as-4p.sys.comcast.net
[ceph-as-4p.sys.comcast.net][INFO ] Running command: sudo yum clean all
[ceph-as-4p.sys.comcast.net][DEBUG ] Loaded plugins: langpacks, logchanges, product-id, subscription-manager
[ceph-as-4p.sys.comcast.net][DEBUG ] Cleaning repos: Ceph Ceph-el7 Ceph-noarch atlas-repo-263 atlas-repo-279
[ceph-as-4p.sys.comcast.net][DEBUG ] : atlas-repo-noarch-for-rhel7 atlas-repo-rhel7-x86_64 ceph-source
[ceph-as-4p.sys.comcast.net][DEBUG ] : rhel-7-server-eus-rpms rhel-7-server-rpms
[ceph-as-4p.sys.comcast.net][DEBUG ] : rhel-7-server-rt-beta-rpms rhel-7-server-rt-rpms
[ceph-as-4p.sys.comcast.net][DEBUG ] : rhel-ha-for-rhel-7-server-eus-rpms
[ceph-as-4p.sys.comcast.net][DEBUG ] : rhel-ha-for-rhel-7-server-rpms
[ceph-as-4p.sys.comcast.net][DEBUG ] : rhel-rs-for-rhel-7-server-eus-rpms
[ceph-as-4p.sys.comcast.net][DEBUG ] : rhel-rs-for-rhel-7-server-rpms
[ceph-as-4p.sys.comcast.net][DEBUG ] : rhel7.0-x86_64-server-frozen-9-15-2015
[ceph-as-4p.sys.comcast.net][DEBUG ] Cleaning up everything
[ceph-as-4p.sys.comcast.net][INFO ] Running command: sudo yum -y install ceph-osd ceph-mds ceph-mon ceph-radosgw
[ceph-as-4p.sys.comcast.net][DEBUG ] Loaded plugins: langpacks, logchanges, product-id, subscription-manager
[ceph-as-4p.sys.comcast.net][DEBUG ] No package ceph-osd available.
[ceph-as-4p.sys.comcast.net][DEBUG ] No package ceph-mds available.
[ceph-as-4p.sys.comcast.net][DEBUG ] No package ceph-mon available.

Because of these missing package , when i attempt to run the command to initiate a monitor , i get the below error :

[ceph@ceph-as-4p ~]$ ceph-deploy mon create ceph-mon
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/ceph/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.31): /bin/ceph-deploy mon create ceph-mon
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] subcommand : create
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f96f5e29200>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] mon : ['ceph-mon']
[ceph_deploy.cli][INFO ] func : <function mon at 0x7f96f5e19de8>
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.cli][INFO ] keyrings : None
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts ceph-mon
[ceph_deploy.mon][DEBUG ] detecting platform for host ceph-mon ...
[ceph-mon][DEBUG ] connected to host: ceph-mon
[ceph-mon][DEBUG ] detect platform information from remote host
[ceph-mon][DEBUG ] detect machine type
[ceph-mon][DEBUG ] find the location of an executable
[ceph_deploy.mon][INFO ] distro info: Red Hat Enterprise Linux Server 7.0 Maipo
[ceph-mon][DEBUG ] determining if provided host has same hostname in remote
[ceph-mon][DEBUG ] get remote short hostname
[ceph-mon][WARNIN] ************************************************************************
[ceph-mon][WARNIN] provided hostname must match remote hostname
[ceph-mon][WARNIN] provided hostname: ceph-mon
[ceph-mon][WARNIN] remote hostname: ceph-as-5p
[ceph-mon][WARNIN] monitors may not reach quorum and create-keys will not complete
[ceph-mon][WARNIN] ************************************************************************
[ceph-mon][DEBUG ] deploying mon to ceph-mon
[ceph-mon][DEBUG ] get remote short hostname
[ceph-mon][DEBUG ] remote hostname: ceph-as-5p
[ceph_deploy.mon][ERROR ] OSError: [Errno 2] No such file or directory: '/var/lib/ceph'
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors

It complains about not finding the ceph directory , which is due to the fact the ceph failed to install on the monitor node because of the missing packages.

The packages - ceph-osd , ceph-mds do not seem to be available on the repo.

Is there an issue with ceph installation on RHEL system? My system configuration is :
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@ceph-as-4p varora200]#

History

#1 Updated by Greg Farnum almost 7 years ago

  • Status changed from New to Closed

I don't think anybody ships community Ceph for RHEL.

Also available in: Atom PDF