Hello Everyone
I also tried setting higher priority as suggested by SAM but no luck Please see the Full logs here http://paste.ubuntu.com/10771358/ While installing yum searches for correct Ceph repository but it founds 3 versions of python-ceph under http://ceph.com/rpm-giant/el7/x86_64/ How can i instruct yum to install latest version of ceph from giant repository ?? FYI i have this setting already [root@rgw-node1 yum.repos.d]# cat /etc/yum/pluginconf.d/priorities.conf [main] enabled = 1 check_obsoletes = 1 [root@rgw-node1 yum.repos.d]# This issue can be easily reproduced, just now i tried on a fresh server centos 7.0.1406 but it still fails. Please help. Please help. Please help. # cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) # # uname -r 3.10.0-123.20.1.el7.x86_64 # Regards VS On Wed, Apr 8, 2015 at 11:10 AM, Sam Wouters <s...@ericom.be> wrote: > Hi Vickey, > > we had a similar issue and we resolved it by giving the centos base and > update repo a higher priority (ex 10) then the epel repo. > The ceph-deploy tool only sets a prio of 1 for the ceph repo's, but the > centos and epel repo's stay on the default of 99. > > regards, > Sam > > On 08-04-15 09:32, Vickey Singh wrote: > > Hi Ken > > > As per your suggestion , i tried enabling epel-testing repository but > still no luck. > > > Please check the below output. I would really appreciate any help here. > > > > > # yum install ceph --enablerepo=epel-testing > > > ---> Package python-rbd.x86_64 1:0.80.7-0.5.el7 will be installed > > --> Processing Dependency: librbd1 = 1:0.80.7 for package: > 1:python-rbd-0.80.7-0.5.el7.x86_64 > > --> Finished Dependency Resolution > > Error: Package: 1:python-cephfs-0.80.7-0.4.el7.x86_64 (epel) > > Requires: libcephfs1 = 1:0.80.7 > > Available: 1:libcephfs1-0.86-0.el7.centos.x86_64 (Ceph) > > libcephfs1 = 1:0.86-0.el7.centos > > Available: 1:libcephfs1-0.87-0.el7.centos.x86_64 (Ceph) > > libcephfs1 = 1:0.87-0.el7.centos > > Installing: 1:libcephfs1-0.87.1-0.el7.centos.x86_64 (Ceph) > > libcephfs1 = 1:0.87.1-0.el7.centos > > *Error: Package: 1:python-rbd-0.80.7-0.5.el7.x86_64 (epel-testing)* > > Requires: librbd1 = 1:0.80.7 > > Removing: librbd1-0.80.9-0.el7.centos.x86_64 (@Ceph) > > librbd1 = 0.80.9-0.el7.centos > > Updated By: 1:librbd1-0.87.1-0.el7.centos.x86_64 (Ceph) > > librbd1 = 1:0.87.1-0.el7.centos > > Available: 1:librbd1-0.86-0.el7.centos.x86_64 (Ceph) > > librbd1 = 1:0.86-0.el7.centos > > Available: 1:librbd1-0.87-0.el7.centos.x86_64 (Ceph) > > librbd1 = 1:0.87-0.el7.centos > > *Error: Package: 1:python-rados-0.80.7-0.5.el7.x86_64 (epel-testing)* > > Requires: librados2 = 1:0.80.7 > > Removing: librados2-0.80.9-0.el7.centos.x86_64 (@Ceph) > > librados2 = 0.80.9-0.el7.centos > > Updated By: 1:librados2-0.87.1-0.el7.centos.x86_64 (Ceph) > > librados2 = 1:0.87.1-0.el7.centos > > Available: 1:librados2-0.86-0.el7.centos.x86_64 (Ceph) > > librados2 = 1:0.86-0.el7.centos > > Available: 1:librados2-0.87-0.el7.centos.x86_64 (Ceph) > > librados2 = 1:0.87-0.el7.centos > > You could try using --skip-broken to work around the problem > > You could try running: rpm -Va --nofiles --nodigest > > > > > > # yum install ceph --enablerepo=epel-testing --disablerepo=ceph* > > > > ---> Package spax.x86_64 0:1.5.2-11.el7 will be installed > > ---> Package time.x86_64 0:1.7-45.el7 will be installed > > --> Running transaction check > > ---> Package cups-libs.x86_64 1:1.6.3-17.el7 will be installed > > ---> Package python-cephfs.x86_64 1:0.80.7-0.4.el7 will be installed > > --> Processing Dependency: libcephfs1 = 1:0.80.7 for package: > 1:python-cephfs-0.80.7-0.4.el7.x86_64 > > ---> Package python-rados.x86_64 1:0.80.7-0.5.el7 will be installed > > --> Processing Dependency: librados2 = 1:0.80.7 for package: > 1:python-rados-0.80.7-0.5.el7.x86_64 > > ---> Package python-rbd.x86_64 1:0.80.7-0.5.el7 will be installed > > --> Processing Dependency: librbd1 = 1:0.80.7 for package: > 1:python-rbd-0.80.7-0.5.el7.x86_64 > > --> Finished Dependency Resolution > > Error: Package: 1:python-cephfs-0.80.7-0.4.el7.x86_64 (epel) > > Requires: libcephfs1 = 1:0.80.7 > > Available: 1:libcephfs1-0.86-0.el7.centos.x86_64 (Ceph) > > libcephfs1 = 1:0.86-0.el7.centos > > Available: 1:libcephfs1-0.87-0.el7.centos.x86_64 (Ceph) > > libcephfs1 = 1:0.87-0.el7.centos > > Installing: 1:libcephfs1-0.87.1-0.el7.centos.x86_64 (Ceph) > > libcephfs1 = 1:0.87.1-0.el7.centos > > *Error: Package: 1:python-rbd-0.80.7-0.5.el7.x86_64 (epel-testing)* > > Requires: librbd1 = 1:0.80.7 > > Removing: librbd1-0.80.9-0.el7.centos.x86_64 (@Ceph) > > librbd1 = 0.80.9-0.el7.centos > > Updated By: 1:librbd1-0.87.1-0.el7.centos.x86_64 (Ceph) > > librbd1 = 1:0.87.1-0.el7.centos > > Available: 1:librbd1-0.86-0.el7.centos.x86_64 (Ceph) > > librbd1 = 1:0.86-0.el7.centos > > Available: 1:librbd1-0.87-0.el7.centos.x86_64 (Ceph) > > librbd1 = 1:0.87-0.el7.centos > > *Error: Package: 1:python-rados-0.80.7-0.5.el7.x86_64 (epel-testing)* > > Requires: librados2 = 1:0.80.7 > > Removing: librados2-0.80.9-0.el7.centos.x86_64 (@Ceph) > > librados2 = 0.80.9-0.el7.centos > > Updated By: 1:librados2-0.87.1-0.el7.centos.x86_64 (Ceph) > > librados2 = 1:0.87.1-0.el7.centos > > Available: 1:librados2-0.86-0.el7.centos.x86_64 (Ceph) > > librados2 = 1:0.86-0.el7.centos > > Available: 1:librados2-0.87-0.el7.centos.x86_64 (Ceph) > > librados2 = 1:0.87-0.el7.centos > > You could try using --skip-broken to work around the problem > > You could try running: rpm -Va --nofiles --nodigest > > [root@rgw-node1 yum.repos.d]# > > > > > [root@rgw-node1 yum.repos.d]# yum install --enablerepo=epel-testing > ceph-0.80.7-0.5.el7 > > Loaded plugins: fastestmirror, priorities > > Loading mirror speeds from cached hostfile > > * base: ftp.funet.fi > > * epel: fedora.uib.no > > * epel-debuginfo: fedora.uib.no > > * epel-source: fedora.uib.no > > * epel-testing: fedora.uib.no > > * extras: ftp.funet.fi > > * updates: ftp.funet.fi > > 38 packages excluded due to repository priority protections > > No package ceph-0.80.7-0.5.el7 available. > > Error: Nothing to do > > [root@rgw-node1 yum.repos.d]# > > > > > > > [root@rgw-node1 yum.repos.d]# cat epel.repo > > [epel] > > name=Extra Packages for Enterprise Linux 7 - $basearch > > baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch > > mirrorlist= > https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch > > failovermethod=priority > > enabled=1 > > gpgcheck=1 > > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 > > > [epel-debuginfo] > > name=Extra Packages for Enterprise Linux 7 - $basearch - Debug > > baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug > > mirrorlist= > https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch > > failovermethod=priority > > enabled=1 > > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 > > gpgcheck=1 > > > [epel-source] > > name=Extra Packages for Enterprise Linux 7 - $basearch - Source > > baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS > > mirrorlist= > https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch > > failovermethod=priority > > enabled=1 > > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 > > gpgcheck=1 > > [root@rgw-node1 yum.repos.d]# > > > Regards > > VS > > > > On Wed, Apr 8, 2015 at 4:16 AM, Ken Dreyer <kdre...@redhat.com> wrote: > >> Hi Vickey, >> >> Sorry about the issues you've been seeing. This looks very similar to >> http://tracker.ceph.com/issues/11104 . >> >> Here are two options you can try in order to work around this: >> >> - If you must run Firefly (0.80.x) or Giant (0.87.x), please try >> enabling the "epel-testing" repository on your system prior to >> installing Ceph. There is an update in epel-testing that should help >> with this issue. >> >> https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-1607/ceph-0.80.7-0.5.el7 >> >> - If you can run Hammer (0.94), please try testing that out. The Hammer >> release's packages have been split up to match the split that happened >> in EPEL. >> >> - Ken >> >> On 04/07/2015 04:09 PM, Vickey Singh wrote: >> > Hello There >> > >> > I am trying to install Giant on CentOS7 using ceph-deploy and >> > encountered below problem. >> > >> > [rgw-node1][DEBUG ] Package python-ceph is obsoleted by python-rados, >> > but obsoleting package does not provide for requirements >> > [rgw-node1][DEBUG ] ---> Package cups-libs.x86_64 1:1.6.3-17.el7 will be >> > installed >> > [rgw-node1][DEBUG ] --> Finished Dependency Resolution >> > [rgw-node1][DEBUG ] You could try using --skip-broken to work around >> > the problem >> > [rgw-node1][WARNIN] Error: Package: >> > 1:ceph-common-0.87.1-0.el7.centos.x86_64 (Ceph) >> > [rgw-node1][WARNIN] Requires: python-ceph = >> 1:0.87.1-0.el7.centos >> > [rgw-node1][WARNIN] Available: >> > 1:python-ceph-0.86-0.el7.centos.x86_64 (Ceph) >> > [rgw-node1][WARNIN] python-ceph = 1:0.86-0.el7.centos >> > [rgw-node1][WARNIN] Available: >> > 1:python-ceph-0.87-0.el7.centos.x86_64 (Ceph) >> > [rgw-node1][WARNIN] python-ceph = 1:0.87-0.el7.centos >> > [rgw-node1][WARNIN] Available: >> > 1:python-ceph-0.87.1-0.el7.centos.x86_64 (Ceph) >> > [rgw-node1][WARNIN] python-ceph = 1:0.87.1-0.el7.centos >> > [rgw-node1][WARNIN] Error: Package: 1:ceph-0.87.1-0.el7.centos.x86_64 >> (Ceph) >> > [rgw-node1][WARNIN] Requires: python-ceph = >> 1:0.87.1-0.el7.centos >> > [rgw-node1][WARNIN] Available: >> > 1:python-ceph-0.86-0.el7.centos.x86_64 (Ceph) >> > [rgw-node1][WARNIN] python-ceph = 1:0.86-0.el7.centos >> > [rgw-node1][WARNIN] Available: >> > 1:python-ceph-0.87-0.el7.centos.x86_64 (Ceph) >> > [rgw-node1][WARNIN] python-ceph = 1:0.87-0.el7.centos >> > [rgw-node1][WARNIN] Available: >> > 1:python-ceph-0.87.1-0.el7.centos.x86_64 (Ceph) >> > [rgw-node1][WARNIN] python-ceph = 1:0.87.1-0.el7.centos >> > [rgw-node1][DEBUG ] You could try running: rpm -Va --nofiles --nodigest >> > [rgw-node1][ERROR ] RuntimeError: command returned non-zero exit >> status: 1 >> > [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: yum -y >> > install ceph >> > >> > [root@ceph-node1 ceph]# >> > [root@ceph-node1 ceph]# >> > [root@ceph-node1 ceph]# >> > [root@ceph-node1 ceph]# ceph-deploy --version >> > 1.5.22 >> > [root@ceph-node1 ceph]# >> > [root@ceph-node1 ceph]# ceph -v >> > ceph version 0.87.1 (283c2e7cfa2457799f534744d7d549f83ea1335e) >> > [root@ceph-node1 ceph]# >> > >> > >> > On rgw-node1 macine >> > >> > /etc/yum.repos.d/ceph.repo seems to be correct >> > >> > [root@rgw-node1 yum.repos.d]# cat ceph.repo >> > [Ceph] >> > name=Ceph packages for $basearch >> > baseurl=http://ceph.com/rpm-giant/el7/$basearch >> > enabled=1 >> > gpgcheck=1 >> > type=rpm-md >> > gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc >> > priority=1 >> > >> > [Ceph-noarch] >> > name=Ceph noarch packages >> > baseurl=http://ceph.com/rpm-giant/el7/noarch >> > enabled=1 >> > gpgcheck=1 >> > type=rpm-md >> > gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc >> > priority=1 >> > >> > [ceph-source] >> > name=Ceph source packages >> > baseurl=http://ceph.com/rpm-giant/el7/SRPMS >> > enabled=1 >> > gpgcheck=1 >> > type=rpm-md >> > gpgkey=https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc >> > priority=1 >> > >> > >> > When i visit this directory http://ceph.com/rpm-giant/el7 , i can see >> > multiple versions of python-ceph i.e. >> > python-ceph-0.86-0.el7.centos.x86_64 >> > python-ceph-0.87-0.el7.centos.x86_64 >> > python-ceph-0.87-1.el7.centos.x86_64 >> > >> > *This is the reason , yum is getting confused to install the latest >> > available version python-ceph-0.87-1.el7.centos.x86_64. This issue looks >> > like yum priority plugin and RPM obsolete.* >> > >> > http://tracker.ceph.com/issues/10476 >> > >> > [root@rgw-node1 yum.repos.d]# cat /etc/yum/pluginconf.d/priorities.conf >> > [main] >> > enabled = 1 >> > check_obsoletes = 1 >> > >> > [root@rgw-node1 yum.repos.d]# >> > >> > [root@rgw-node1 yum.repos.d]# >> > [root@rgw-node1 yum.repos.d]# uname -r >> > 3.10.0-229.1.2.el7.x86_64 >> > [root@rgw-node1 yum.repos.d]# cat /etc/redhat-release >> > CentOS Linux release 7.1.1503 (Core) >> > [root@rgw-node1 yum.repos.d]# >> > >> > >> > However it worked *fine 1 week back* on CentOS 7.0 >> > >> > [root@ceph-node1 ceph]# uname -r >> > 3.10.0-123.20.1.el7.x86_64 >> > [root@ceph-node1 ceph]# cat /etc/redhat-release >> > CentOS Linux release 7.0.1406 (Core) >> > [root@ceph-node1 ceph]# >> > >> > >> > Any fix to this is highly appreciated. >> > >> > Regards >> > VS >> > >> > >> > >> > _______________________________________________ >> > ceph-users mailing list >> > ceph-users@lists.ceph.com >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> > >> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> > > > > _______________________________________________ > ceph-users mailing > listceph-us...@lists.ceph.comhttp://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > -- > Sam Wouters > Ericom Computers > -------------------------------------------------- > *Ericom Computers* > Tiensestraat 178 > 3000 Leuven > > Tel : +32 (0) 16 23 77 55 > Fax : +32 (0) 16 23 48 05 > [image: Ericom Website] <http://www.ericom.be> > > * http://www.ericom.be <http://www.ericom.be>* > > > >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com