Hello ceph users,
I'm trying to setup ceph-client on one of my ceph-cluster host.
My setup is following:
- 3 bare-metal HP synergy servers
- installed latest ceph release quincy (17.2.0) using curl/cephadm
- RHEL 8.6
- ceph-cluster is working fine and health status is OK
compute1 is the deployment/admin/client node
compute2 is part of the ceph cluster
computer3 is part of the ceph cluster
Two week ago I was able to install ceph-common package perfectly fine, so I
could use all needed ceph-client tools.
[root@compute1 ceph]# cephadm install ceph-common
Installing packages ['ceph-common']...
Now I'm trying to install ceph-common on my second cluster node (compute2)
to become a ceph-client.
Unfortunately I hit below error (tried it with root and with cephuser -
still the same):
---
[root@compute2 ~]# curl --silent --remote-name --location
https://github.com/ceph/ceph/raw/quincy/src/cephadm/cephadm
[root@compute2 ~]# chmod +x cephadm
[root@compute2 ~]# ./cephadm add-repo --release quincy
Writing repo to /etc/yum.repos.d/ceph.repo...
Enabling EPEL...
Non-zero exit code 1 from yum install -y epel-release
yum: stdout Updating Subscription Management repositories.
yum: stdout Ceph x86_64 3.0 kB/s | 1.5
kB 00:00
yum: stdout Ceph noarch 3.1 kB/s | 1.5
kB 00:00
yum: stdout Ceph SRPMS 3.1 kB/s | 1.5
kB 00:00
yum: stdout No match for argument: epel-release
yum: stderr Error: Unable to find a match: epel-release
Traceback (most recent call last):
File "./cephadm", line 9281, in <module>
main()
File "./cephadm", line 9269, in main
r = ctx.func(ctx)
File "./cephadm", line 7819, in command_add_repo
pkg.add_repo()
File "./cephadm", line 7668, in add_repo
call_throws(self.ctx, [self.tool, 'install', '-y', 'epel-release'])
File "./cephadm", line 1738, in call_throws
raise RuntimeError(f'Failed command: {" ".join(command)}: {s}')
RuntimeError: Failed command: yum install -y epel-release: Error: Unable to
find a match: epel-release
[root@compute2 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.6 (Ootpa)
[root@compute2 ~]# cat /etc/yum.repos.d/ceph.repo
[Ceph]
name=Ceph $basearch
baseurl=https://download.ceph.com/rpm-quincy/el8/$basearch
enabled=1
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.gpg
[Ceph-noarch]
name=Ceph noarch
baseurl=https://download.ceph.com/rpm-quincy/el8/noarch
enabled=1
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.gpg
[Ceph-source]
name=Ceph SRPMS
baseurl=https://download.ceph.com/rpm-quincy/el8/SRPMS
enabled=1
gpgcheck=1
gpgkey=https://download.ceph.com/keys/release.gpg
---
It seems that can't find epel-release rpm and install it...
Did I miss something or ..?
Please can you share your experience if you hit/saw similar error?
Regards,
Kosta
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx