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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to