Actions
Bug #51304
closedCan't install cephadm on CentOS 7
Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
System info:
CentOS Linux release 7.9.2009 (Core) x86_64
I am trying to follow the cephadm install guide https://docs.ceph.com/en/latest/cephadm/install/#cephadm-install-curl
However, the https://download.ceph.com/rpm-pacific/el7/folder directory is completely empty which seems to result in the following error.
When I try adding the repo with
sudo ./cephadm add-repo --release pacific:
I get this:
Writing repo to /etc/yum.repos.d/ceph.repo... Enabling EPEL... Non-zero exit code 1 from yum install -y epel-release yum: stdout Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id, yum: stdout : search-disabled-repos, subscription-manager yum: stdout Loading mirror speeds from cached hostfile yum: stdout * epel: d2lzkl7pfhq30w.cloudfront.net yum: stdout Uploading Enabled Repositories Report yum: stdout Loaded plugins: fastestmirror, product-id, subscription-manager yum: stderr https://download.ceph.com/rpm-pacific/el7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found yum: stderr Trying other mirror. yum: stderr To address this issue please refer to the below wiki article yum: stderr yum: stderr https://wiki.centos.org/yum-errors yum: stderr yum: stderr If above article doesn't help to resolve this issue please use https://bugs.centos.org/. yum: stderr yum: stderr yum: stderr yum: stderr One of the configured repositories failed (Ceph x86_64), yum: stderr and yum doesn't have enough cached data to continue. At this point the only yum: stderr safe thing yum can do is fail. There are a few ways to work "fix" this: yum: stderr yum: stderr 1. Contact the upstream for the repository and get them to fix the problem. yum: stderr yum: stderr 2. Reconfigure the baseurl/etc. for the repository, to point to a working yum: stderr upstream. This is most often useful if you are using a newer yum: stderr distribution release than is supported by the repository (and the yum: stderr packages for the previous distribution release still work). yum: stderr yum: stderr 3. Run the command with the repository temporarily disabled yum: stderr yum --disablerepo=Ceph ... yum: stderr yum: stderr 4. Disable the repository permanently, so yum won't use it by default. Yum yum: stderr will then just ignore the repository until you permanently enable it yum: stderr again or use --enablerepo for temporary usage: yum: stderr yum: stderr yum-config-manager --disable Ceph yum: stderr or yum: stderr subscription-manager repos --disable=Ceph yum: stderr yum: stderr 5. Configure the failing repository to be skipped, if it is unavailable. yum: stderr Note that yum will try to contact the repo. when it runs most commands, yum: stderr so will have to try and fail each time (and thus. yum will be be much yum: stderr slower). If it is a very temporary problem though, this is often a nice yum: stderr compromise: yum: stderr yum: stderr yum-config-manager --save --setopt=Ceph.skip_if_unavailable=true yum: stderr yum: stderr failure: repodata/repomd.xml from Ceph: [Errno 256] No more mirrors to try. yum: stderr https://download.ceph.com/rpm-pacific/el7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Traceback (most recent call last): File "./cephadm", line 8204, in <module> main() File "./cephadm", line 8192, in main r = ctx.func(ctx) File "./cephadm", line 6159, in command_add_repo pkg.add_repo() File "./cephadm", line 6014, in add_repo call_throws(self.ctx, [self.tool, 'install', '-y', 'epel-release']) File "./cephadm", line 1451, in call_throws raise RuntimeError('Failed command: %s' % ' '.join(command)) RuntimeError: Failed command: yum install -y epel-release
Updated by Sebastian Wagner almost 3 years ago
- Project changed from 18 to Orchestrator
Updated by Sage Weil almost 3 years ago
- Status changed from New to Won't Fix
pacific isn't built for el7, so --add-repo won't work.
cephadm does not support el7 (containers aren't reliably stopped due to kernel issues), so el7 is not currently supported
Actions