The likely behavior that you are experiencing is a result of another yum
repository with a more recent version of the rpms.

A quick way to find out is to issue a `yum list ceph --showduplicates` or a
`yum info ceph`

At that point then you would want to exclude the ceph* package from
whichever yum repo containing the conflicting versions used on your deploy.




On Wed, Nov 6, 2019 at 4:43 PM Cranage, Steve <scran...@deepspacestorage.com>
wrote:

> I cannot get an install of ceph to work on a fresh Centos 7.6 environment
> and it is a repo error I haven't seen before. Here is my ceph.repo file:
>
> [Ceph]
> name=Ceph packages for $basearch
> baseurl=http://download.ceph.com/rpm-mimic/el7/$basearch
> enabled=1
> gpgcheck=1
> type=rpm-md
> gpgkey=https://download.ceph.com/keys/release.asc
> priority=1
>
> [Ceph-noarch]
> name=Ceph noarch packages
> baseurl=http://download.ceph.com/rpm-mimic/el7/noarch
> enabled=1
> gpgcheck=1
> type=rpm-md
> gpgkey=https://download.ceph.com/keys/release.asc
> priority=1
>
> [ceph-source]
> name=Ceph source packages
> baseurl=http://download.ceph.com/rpm-mimic/el7/SRPMS
> enabled=1
> gpgcheck=1
> type=rpm-md
> gpgkey=https://download.ceph.com/keys/release.asc
> priority=1
>
> Trying to keep this simple and just installing on 1 machine first, I try
> ceph-deploy install and get this:
>
> [cephadmin][WARNIN]
> http://download.ceph.com/rpm-mimic/el7/x86_64/ceph-14.2.4-0.el7.x86_64.rpm:
> [Errno 14] HTTP Error 404 - Not Found
> [cephadmin][WARNIN] Trying other mirror.
> [cephadmin][WARNIN]
> http://download.ceph.com/rpm-mimic/el7/x86_64/ceph-common-14.2.4-0.el7.x86_64.rpm:
> [Errno 14] HTTP Error 404 - Not Found
> [cephadmin][WARNIN] Trying other mirror.
> [cephadmin][WARNIN]
> http://download.ceph.com/rpm-mimic/el7/x86_64/ceph-mds-14.2.4-0.el7.x86_64.rpm:
> [Errno 14] HTTP Error 404 - Not Found
> [cephadmin][WARNIN] Trying other mirror.
> [cephadmin][WARNIN]
> http://download.ceph.com/rpm-mimic/el7/x86_64/ceph-mgr-14.2.4-0.el7.x86_64.rpm:
> [Errno 14] HTTP Error 404 - Not Found
> [cephadmin][WARNIN] Trying other mirror.
> [cephadmin][WARNIN]
> http://download.ceph.com/rpm-mimic/el7/x86_64/ceph-mon-14.2.4-0.el7.x86_64.rpm:
> [Errno 14] HTTP Error 404 - Not Found
> [cephadmin][WARNIN] Trying other mirror.
> [cephadmin][WARNIN]
> http://download.ceph.com/rpm-mimic/el7/x86_64/ceph-osd-14.2.4-0.el7.x86_64.rpm:
> [Errno 14] HTTP Error 404 - Not Found
> [cephadmin][WARNIN] Trying other mirror.
> [cephadmin][WARNIN]
> http://download.ceph.com/rpm-mimic/el7/x86_64/ceph-radosgw-14.2.4-0.el7.x86_64.rpm:
> [Errno 14] HTTP Error 404 - Not Found
> [cephadmin][WARNIN] Trying other mirror.
> [cephadmin][WARNIN]
> http://download.ceph.com/rpm-mimic/el7/x86_64/ceph-selinux-14.2.4-0.el7.x86_64.rpm:
> [Errno 14] HTTP Error 404 - Not Found
> [cephadmin][WARNIN] Trying other mirror.
> [cephadmin][WARNIN]
> [cephadmin][WARNIN]
> [cephadmin][WARNIN] Error downloading packages:
> [cephadmin][WARNIN]   2:ceph-common-14.2.4-0.el7.x86_64: [Errno 256] No
> more mirrors to try.
> [cephadmin][WARNIN]   2:ceph-radosgw-14.2.4-0.el7.x86_64: [Errno 256] No
> more mirrors to try.
> [cephadmin][WARNIN]   2:ceph-mon-14.2.4-0.el7.x86_64: [Errno 256] No more
> mirrors to try.
> [cephadmin][WARNIN]   2:ceph-osd-14.2.4-0.el7.x86_64: [Errno 256] No more
> mirrors to try.
> [cephadmin][WARNIN]   2:ceph-mgr-14.2.4-0.el7.x86_64: [Errno 256] No more
> mirrors to try.
> [cephadmin][WARNIN]   2:ceph-14.2.4-0.el7.x86_64: [Errno 256] No more
> mirrors to try.
> [cephadmin][WARNIN]   2:ceph-mds-14.2.4-0.el7.x86_64: [Errno 256] No more
> mirrors to try.
> [cephadmin][WARNIN]   2:ceph-selinux-14.2.4-0.el7.x86_64: [Errno 256] No
> more mirrors to try.
> [cephadmin][WARNIN]   2:ceph-base-14.2.4-0.el7.x86_64: [Errno 256] No more
> mirrors to try.
> [cephadmin][WARNIN]
> [cephadmin][ERROR ] RuntimeError: command returned non-zero exit status: 1
> [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: yum -y
> install ceph ceph-radosgw
>
> If I'm reading this right, It's trying to find nautilus file versions
> under the mimic tree and of course not finding them. Where it gets really
> weird is that when I try to change the repo to use nautilus instead of
> mimic, the repo file gets changed back to mimic as soon as I re-run
> ceph-deploy install again and I'm back to the same error.
>
> What gives??
>
> _______________________________________________
> 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

Reply via email to