Discussion:
[ceph-users] Try to install ceph hammer on CentOS7
Manuel Lausch
2016-07-21 17:26:21 UTC
Permalink
Hi,

I try to install ceph hammer on centos7 but something with the RPM
Repository seems to be wrong.

In my yum.repos.d/ceph.repo file I have the following configuration:

[ceph]
name=Ceph packages for $basearch
baseurl=baseurl=http://download.ceph.com/rpm-hammer/el7/$basearch
enabled=1
priority=2
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc

[ceph-noarch]
name=Ceph noarch packages
baseurl=http://download.ceph.com/rpm-hammer/el7/noarch
enabled=1
priority=2
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc


Now I can find with "yum search ceph" some packages out of this
repository but the "ceph" package itself is missing. Is there something
wrong with my configuration or is there some issue with the rpository
itself?

This is the output from the yum search ceph:
# yum search ceph
Loaded plugins: fastestmirror, priorities, versionlock
Loading mirror speeds from cached hostfile
112 packages excluded due to repository priority protections
==============================================================================================================================
N/S matched: ceph
===============================================================================================================================
centos-release-ceph-hammer.noarch : Ceph Hammer packages from the CentOS
Storage SIG repository
ceph-common.x86_64 : Ceph Common
ceph-dash.noarch : ceph dashboard
ceph-debuginfo.x86_64 : Debug information for package ceph
ceph-deploy.noarch : Admin and deploy tool for Ceph
ceph-devel-compat.x86_64 : Compatibility package for Ceph headers
ceph-fuse.x86_64 : Ceph fuse-based client
ceph-libs-compat.x86_64 : Meta package to include ceph libraries
ceph-test.x86_64 : Ceph benchmarks and test tools
cephfs-java.x86_64 : Java libraries for the Ceph File System
collectd-ceph.x86_64 : Ceph plugin for collectd
libcephfs1.x86_64 : Ceph distributed file system client library
libcephfs1-devel.x86_64 : Ceph distributed file system headers
libcephfs_jni1.x86_64 : Java Native Interface library for CephFS Java
bindings
libcephfs_jni1-devel.x86_64 : Development files for CephFS Java Native
Interface library
python-ceph-compat.x86_64 : Compatibility package for Cephs python libraries
python-cephfs.x86_64 : Python libraries for Ceph distributed file system
ceph-radosgw.x86_64 : Rados REST gateway
rbd-fuse.x86_64 : Ceph fuse-based client

Name and summary matches only, use "search all" for everything.



Regards,
Manuel
Ruben Kerkhof
2016-07-22 11:22:38 UTC
Permalink
Post by Manuel Lausch
Hi,
Hi,
Post by Manuel Lausch
I try to install ceph hammer on centos7 but something with the RPM
Repository seems to be wrong.
[ceph]
name=Ceph packages for $basearch
baseurl=baseurl=http://download.ceph.com/rpm-hammer/el7/$basearch
There's your issue. Remove the seconds baseurl=

Kind regards,

Ruben
Gaurav Goyal
2016-07-22 15:19:28 UTC
Permalink
It will be smooth installation. I have recently installed hammer on centos
7.


Regards
Gaurav Goyal
Post by Ruben Kerkhof
Post by Manuel Lausch
Hi,
Hi,
Post by Manuel Lausch
I try to install ceph hammer on centos7 but something with the RPM
Repository seems to be wrong.
[ceph]
name=Ceph packages for $basearch
baseurl=baseurl=http://download.ceph.com/rpm-hammer/el7/$basearch
There's your issue. Remove the seconds baseurl=
Kind regards,
Ruben
_______________________________________________
ceph-users mailing list
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Ruben Kerkhof
2016-07-22 15:41:50 UTC
Permalink
Please keep the mailing list on the CC.
oh. This was a copy&pase failure.
Of course I checked my config again. Some other variations of configurating
didn't help as well.
Finaly I took the ceph-0.94.7-0.el7.x86_64.rpm in a directory and created
with createrepo the neccessary repository index files. Also with this as a
repository the ceph package is not visible. Other packages in the repository
works fine.
If I try to install the package with yum install
~/ceph-0.94.7-0.el7.x86_64.rpm the Installation including the dependencys is
successfull.
My knowledge with rpm and yum is not as big as it should be. So I don't know
how to debug further.
What does yum repolist show?
It looks like the ceph-noarch repo is ok, the ceph repo isn't.
Regards,
Manuel
Regards,

Ruben
Brad Hubbard
2016-07-23 03:11:08 UTC
Permalink
Post by Ruben Kerkhof
Please keep the mailing list on the CC.
oh. This was a copy&pase failure.
Of course I checked my config again. Some other variations of configurating
didn't help as well.
Finaly I took the ceph-0.94.7-0.el7.x86_64.rpm in a directory and created
with createrepo the neccessary repository index files. Also with this as a
repository the ceph package is not visible. Other packages in the repository
works fine.
If I try to install the package with yum install
~/ceph-0.94.7-0.el7.x86_64.rpm the Installation including the dependencys is
successfull.
My knowledge with rpm and yum is not as big as it should be. So I don't know
how to debug further.
What does yum repolist show?
This is good advice.

I'd also advise running "yum clean all" before proceeding once you
have confirmed everything is configured correctly.

HTH,
Brad
Post by Ruben Kerkhof
It looks like the ceph-noarch repo is ok, the ceph repo isn't.
Regards,
Manuel
Regards,
Ruben
_______________________________________________
ceph-users mailing list
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Manuel Lausch
2016-07-25 09:11:37 UTC
Permalink
Hi,
Thanks for your help.
I found the failure. Via puppet I configured a versionlock. There I had
a wrong version-epoch configured.

Regards,
Manuel
Post by Brad Hubbard
Post by Ruben Kerkhof
Please keep the mailing list on the CC.
oh. This was a copy&pase failure.
Of course I checked my config again. Some other variations of configurating
didn't help as well.
Finaly I took the ceph-0.94.7-0.el7.x86_64.rpm in a directory and created
with createrepo the neccessary repository index files. Also with this as a
repository the ceph package is not visible. Other packages in the repository
works fine.
If I try to install the package with yum install
~/ceph-0.94.7-0.el7.x86_64.rpm the Installation including the dependencys is
successfull.
My knowledge with rpm and yum is not as big as it should be. So I don't know
how to debug further.
What does yum repolist show?
This is good advice.
I'd also advise running "yum clean all" before proceeding once you
have confirmed everything is configured correctly.
HTH,
Brad
Post by Ruben Kerkhof
It looks like the ceph-noarch repo is ok, the ceph repo isn't.
Regards,
Manuel
Regards,
Ruben
_______________________________________________
ceph-users mailing list
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
--
Manuel Lausch

Systemadministrator
Cloud Services

1&1 Mail & Media Development & Technology GmbH | Brauerstraße 48 | 76135 Karlsruhe | Germany
Phone: +49 721 91374-1847
E-Mail: ***@1und1.de | Web: www.1und1.de

Amtsgericht Montabaur, HRB 5452

Geschäftsführer: Frank Einhellinger, Thomas Ludwig, Jan Oetjen


Member of United Internet

Diese E-Mail kann vertrauliche und/oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind oder diese E-Mail irrtümlich erhalten haben, unterrichten Sie bitte den Absender und vernichten Sie diese E-Mail. Anderen als dem bestimmungsgemäßen Adressaten ist untersagt, diese E-Mail zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu verwenden.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient of this e-mail, you are hereby notified that saving, distribution or use of the content of this e-mail in any way is prohibited. If you have received this e-mail in error, please notify the sender and delete the e-mail.
Loading...