安装在centos上时无法找到ceph

时间:2018-05-07 11:35:46

标签: docker openshift devops software-distribution ceph

我无法在我的centos 7系统上安装ceph。 错误消息如下:

node.example.com][DEBUG ] This system is not registered with an entitlement server. You can use subscription-manager to register.

[node.example.com][DEBUG ] Determining fastest mirrors 
[node.example.com][DEBUG ] No package ceph available. 
[node.example.com][DEBUG ] No package ceph-osd available. 
[node.example.com][DEBUG ] No package ceph-mds available. 
[node.example.com][DEBUG ] No package ceph-mon available. 
[node.example.com][DEBUG ] No package ceph-radosgw available. 
[node.example.com][WARNIN] Error: Nothing to do 
[node.example.com][ERROR ] RuntimeError: command returned non-zero exit status: 1 [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: yum -y install ceph ceph-osd ceph-mds ceph-mon ceph-radosgw

2 个答案:

答案 0 :(得分:1)

下面的命令安装ceph mimic版本13.2

 ceph-deploy install  cephmon02 cephmon03  --repo-url=http://mirrors.aliyun.com/ceph/rpm-mimic/el7/

将模拟更改为另一个版本。

答案 1 :(得分:0)

您需要安装ceph repo。第一

请参阅以下链接:

# yum install centos-release-ceph-jewel

# yum install ceph-{mon,osd,...}

https://wiki.centos.org/SpecialInterestGroup/Storage