我是Ceph的新手,正在尝试安装和配置一个Ceph集群。在成功安装ceph集群后,我遇到了一些关于存储的问题,并决定在清除所有内容并遵循本指南后重新安装https://www.howtoforge.com/tutorial/how-to-install-a-ceph-cluster-on-ubuntu-16-04/我第一次安装时运行良好。但在运行install命令后的第二次尝试中,我出现了以下错误:ceph-deploy install ceph-admin ceph-osd1 ceph-osd2 ceph-osd3 mon1
这是我的输出:
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/cep/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (2.0.1): /usr/local/bin/ceph-deploy install ceph-admin ceph-osd1 ceph-osd2 ceph-osd3 mon1
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] testing : None
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f11585e0b90>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] dev_commit : None
[ceph_deploy.cli][INFO ] install_mds : False
[ceph_deploy.cli][INFO ] stable : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] adjust_repos : True
[ceph_deploy.cli][INFO ] func : <function install at 0x7f115851d9d0>
[ceph_deploy.cli][INFO ] install_mgr : False
[ceph_deploy.cli][INFO ] install_all : False
[ceph_deploy.cli][INFO ] repo : False
[ceph_deploy.cli][INFO ] host : ['ceph-admin', 'ceph-osd1', 'ceph-osd2', 'ceph-osd3', 'mon1']
[ceph_deploy.cli][INFO ] install_rgw : False
[ceph_deploy.cli][INFO ] install_tests : False
[ceph_deploy.cli][INFO ] repo_url : None
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] install_osd : False
[ceph_deploy.cli][INFO ] version_kind : stable
[ceph_deploy.cli][INFO ] install_common : False
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] dev : master
[ceph_deploy.cli][INFO ] nogpgcheck : False
[ceph_deploy.cli][INFO ] local_mirror : None
[ceph_deploy.cli][INFO ] release : None
[ceph_deploy.cli][INFO ] install_mon : False
[ceph_deploy.cli][INFO ] gpg_url : None
[ceph_deploy.install][DEBUG ] Installing stable version mimic on cluster ceph hosts ceph-admin ceph-osd1 ceph-osd2 ceph-osd3 mon1
[ceph_deploy.install][DEBUG ] Detecting platform for host ceph-admin ...
cep@ceph-admin's password:
[ceph-admin][DEBUG ] connection detected need for sudo
cep@ceph-admin's password:
[ceph-admin][DEBUG ] connected to host: ceph-admin
[ceph-admin][DEBUG ] detect platform information from remote host
[ceph-admin][DEBUG ] detect machine type
[ceph_deploy.install][INFO ] Distro info: Ubuntu 18.04 bionic
[ceph-admin][INFO ] installing Ceph on ceph-admin
[ceph-admin][INFO ] Running command: sudo env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q update
[ceph-admin][DEBUG ] Hit:1 http://mirrors.service.networklayer.com/ubuntu bionic InRelease
[ceph-admin][DEBUG ] Hit:2 http://mirrors.service.networklayer.com/ubuntu bionic-updates InRelease
[ceph-admin][DEBUG ] Hit:3 http://mirrors.service.networklayer.com/ubuntu bionic-backports InRelease
[ceph-admin][DEBUG ] Hit:4 http://mirrors.service.networklayer.com/ubuntu bionic-security InRelease
[ceph-admin][DEBUG ] Hit:5 https://download.docker.com/linux/ubuntu bionic InRelease
[ceph-admin][DEBUG ] Ign:6 https://artifactory.haifa.ibm.com/artifactory/hrl-site-layer-ubuntu bionic InRelease
[ceph-admin][DEBUG ] Hit:7 https://artifactory.haifa.ibm.com/artifactory/hrl-site-layer-ubuntu bionic Release
[ceph-admin][DEBUG ] Hit:8 http://apt.puppetlabs.com bionic InRelease
[ceph-admin][DEBUG ] Ign:9 https://download.ceph.com/rpm-nautilus/el7 bionic InRelease
[ceph-admin][DEBUG ] Err:10 https://download.ceph.com/rpm-nautilus/el7 bionic Release
[ceph-admin][DEBUG ] 404 Not Found [IP: 158.69.68.124 443]
[ceph-admin][DEBUG ] Ign:12 https://pkg.duosecurity.com/Ubuntu bionic InRelease
[ceph-admin][DEBUG ] Hit:13 https://pkg.duosecurity.com/Ubuntu bionic Release
[ceph-admin][DEBUG ] Hit:15 http://ppa.launchpad.net/wireguard/wireguard/ubuntu bionic InRelease
[ceph-admin][DEBUG ] Reading package lists...
[ceph-admin][WARNIN] E: The repository 'https://download.ceph.com/rpm-nautilus/el7 bionic Release' does not have a Release file.
[ceph-admin][ERROR ] RuntimeError: command returned non-zero exit status: 100
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get --assume-yes -q update
已经尝试使用不同的机器作为管理节点并重新安装,但似乎什么都不起作用,我希望这里有人能帮忙:(
谢谢!
通过如下安装Ceph,将下载的存储库更改为debian-15.2.4,从而对其进行排序:
ceph-deploy install ceph-admin ceph-osd1 ceph-osd2 ceph-osd3 mon1 --repo-url=https://download.ceph.com/debian-15.2.4/