ceph deploy on rhel6.5 installs ceph from el6 and fails

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

 



Unfortunately, we didn't start building packages for RHEL6 until
recently, and we would (historically) point CentOS and RHEL (and
Scientific Linux too)
to the `el6` repo.

There is nothing regardless of what the admin host has in its repo files.

The way around this problem is to specify directly what repo url
should ceph-deploy use. It looks like you are using the most current
ceph-deploy version (1.5.2)
available, so this would mean that you could use the `--repo-url` flag like:

    ceph-deploy install --repo-url http://ceph.com/rpm-firefly/rhel6/
ceph-mir-dmz-3-backup.TLD ceph-mir-dmz-1-backup.TLD

On my test host called node2 the output will mention that a custom
repo url is being used and will construct the repo file correctly:

ceph-deploy install --repo-url http://ceph.com/rpm-firefly/rhel6/ node2
[ceph_deploy.conf][DEBUG ] found configuration file at:
/Users/alfredo/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.2):
/Users/alfredo/.virtualenvs/ceph-deploy/bin/ceph-deploy install
--repo-url http://ceph.com/rpm-firefly/rhel6/ node2
[ceph_deploy.install][DEBUG ] Installing stable version firefly on
cluster ceph hosts node2
[ceph_deploy.install][DEBUG ] Detecting platform for host node2 ...
[node2][DEBUG ] connected to host: node2
[node2][DEBUG ] detect platform information from remote host
[node2][DEBUG ] detect machine type
[ceph_deploy.install][INFO  ] Distro info: CentOS 6.4 Final
[node2][INFO  ] installing ceph on node2
[ceph_deploy.install][WARNIN] --gpg-url was not used, will fallback
[ceph_deploy.install][WARNIN] using GPG fallback:
https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
[node2][INFO  ] using custom repository location:
http://ceph.com/rpm-firefly/rhel6/
[node2][INFO  ] Running command: sudo yum clean all
[node2][DEBUG ] Loaded plugins: fastestmirror
[node2][DEBUG ] Cleaning repos: Ceph Ceph-noarch base ceph-source epel
extras firefly updates
[node2][DEBUG ] Cleaning up Everything
[node2][DEBUG ] Cleaning up list of fastest mirrors
[node2][INFO  ] Running command: sudo rpm --import
https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
[node2][DEBUG ] set the contents of repo file to /etc/yum.repos.d/
[node2][INFO  ] Running command: sudo yum -y -q install wget
[node2][DEBUG ] Package wget-1.12-1.11.el6_5.x86_64 already installed
and latest version
[node2][INFO  ] Running command: sudo yum -y -q install ceph
[node2][DEBUG ] Package ceph-0.80.1-0.el6.x86_64 already installed and
latest version
[node2][INFO  ] Running command: sudo ceph --version
[node2][DEBUG ] ceph version 0.80.1 (a38fe1169b6d2ac98b427334c12d7cf81f809b74)


 $ ssh node2 cat /etc/yum.repos.d/ceph.repo

[ceph]
name=Ceph packages for $basearch
baseurl=http://ceph.com/rpm-firefly/rhel6/$basearch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

[ceph-noarch]
name=Ceph noarch packages
baseurl=http://ceph.com/rpm-firefly/rhel6/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

[ceph-source]
name=Ceph source packages
baseurl=http://ceph.com/rpm-firefly/rhel6/SRPMS
enabled=0
gpgcheck=1
type=rpm-md
gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc


I have created an issue on the tracker to make sure this is fixed and
no workaround is needed: http://tracker.ceph.com/issues/8443

On Fri, May 23, 2014 at 5:20 AM, Lukac, Erik <Erik.Lukac at br.de> wrote:
> Hi Simon,
>
> thanks for your reply.
> I already installed OS for my ceph-nodes via Kickstart (via network) from Redhat Satellite and I dont want to do that again because some other config had also been done.
> xfsprogs is not part of the rhel base repository but of some extra package with costs per node/CPU/whatever called "Scalable File System". For some other nodes I installed xfsprogs from centos-6-base repo but now I want to try a clean rhel-based-only install and so I'll add ceph on my nodes from /etc/yum.repos.d/ceph, install manually with yum and then do a ceph-deploy and see what will happen ;)
>
> Greetz from munich
>
> Erik
>
> ________________________________________
> Von: Simon Ironside [sironside at caffetine.org]
> Gesendet: Freitag, 23. Mai 2014 01:07
> An: Lukac, Erik
> Cc: ceph-users at lists.ceph.com
> Betreff: Re: ceph deploy on rhel6.5 installs ceph from el6 and fails
>
> On 22/05/14 23:56, Lukac, Erik wrote:
>> But: this fails because of the dependencies. xfsprogs is in rhel6 repo,
>> but not in el6 L
>
> I hadn't noticed that xfsprogs is included in the ceph repos, I'm using
> the package from the RHEL 6.5 DVD, which is the same version, you'll
> find it in the ScalableFileSystem repo on the Install DVD.
>
> HTH,
> Simon.
>
> --------------------------------------------------------------------------------------------------
> Bayerischer Rundfunk; Rundfunkplatz 1; 80335 M?nchen
> Telefon: +49 89 590001; E-Mail: info at BR.de; Website: http://www.BR.de
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> 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