因此,我按照RHEL手册中的描述设置了ceph。我创建了集群sudo ceph-deploy --username new mon1。之后,我编辑ceph.conf并添加ms_bind_ipv6 = false和public network =。之后,Ive执行sudo ceph-deploy --username install --release luminous node1 node2 node3 node4 mon1 mon2 mds1 mds2。节点1-4运行良好,但是当脚本到达节点1并尝试安装自己时,几乎每个包都会收到这个错误代码。
示例:
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.3-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.3-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.4-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.4-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.5-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.5-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.6-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = [mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.3-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.3-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.4-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.4-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.5-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.5-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.6-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.6-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.7-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.7-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.8-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.8-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.9-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.9-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.10-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.10-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.11-0.el7.x86_64 (Ceph)
2:12.2.6-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.7-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.7-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.8-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.8-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.9-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.9-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.10-0.el7.x86_64 (Ceph)
[mon1][WARNIN] python-rgw = 2:12.2.10-0.el7
[mon1][WARNIN] Verfügbar: 2:python-rgw-12.2.11-0.el7.x86_64 (Ceph)发布于 2019-07-16 19:23:20
我发现ceph-deploy有时无法在/etc/yum.repos.d/ceph.repo上设置ceph存储库。
我所做的是解决这个问题,从你想要安装的版本上传到所有目标服务器的ceph.repo文件,如果你正在安装luminous发行版,使用类似这样的东西:
cat >ceph.repo<< EOF
[Ceph]
name=Ceph packages for
baseurl=http://download.ceph.com/rpm-luminous/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-luminous/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-luminous/el7/SRPMS
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
priority=1
EOF要写入有效的repo文件(应与用于部署其余服务器的"admin“节点的repo文件相同),请将其发送到目标服务器:
scp ceph.repo dst-server:/etc/yum.repos.d/然后再次运行ceph-deploy。
发布于 2019-08-07 09:51:19
在安装ceph 14.2的软件包之前,我可以在debian(ubuntu)上使用2个环境变量
export CEPH_DEPLOY_REPO_URL=https://mirror
export CEPH_DEPLOY_GPG_URL=https://mirror_key发布于 2019-08-11 17:20:38
下面的命令安装ceph mimic版本13.2
ceph-deploy install cephmon02 cephmon03 --repo-url=http://mirrors.aliyun.com/ceph/rpm-mimic/el7/已将mimic更改为另一个版本。
https://stackoverflow.com/questions/54786201
复制相似问题