0

当 download.ceph.com 网站/repo 关闭时,使用ceph-deploy install ...失败。有没有办法从镜像安装?在文档中您可以看到--repo-url选项,但它似乎仍然从 download.ceph.com 下载。见下文:

ceph-deploy install --repo-url http://eu.ceph.com/debian-jewel/  ogw01
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/bstor/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.35): /usr/bin/ceph-deploy install --repo-url http://eu.ceph.com/debian-jewel/ ogw01
[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 0x7faec06d8638>
[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 0x7faec0b1b230>
[ceph_deploy.cli][INFO  ]  install_all                   : False
[ceph_deploy.cli][INFO  ]  repo                          : False
[ceph_deploy.cli][INFO  ]  host                          : ['ogw01']
[ceph_deploy.cli][INFO  ]  install_rgw                   : False
[ceph_deploy.cli][INFO  ]  install_tests                 : False
[ceph_deploy.cli][INFO  ]  repo_url                      : http://eu.ceph.com/debian-jewel/
[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 jewel on cluster ceph hosts ogw01
[ceph_deploy.install][DEBUG ] Detecting platform for host ogw01 ...
[ogw01][DEBUG ] connection detected need for sudo
[ogw01][DEBUG ] connected to host: ogw01
[ogw01][DEBUG ] detect platform information from remote host
[ogw01][DEBUG ] detect machine type
[ceph_deploy.install][INFO  ] Distro info: Ubuntu 16.04 xenial
[ogw01][INFO  ] installing Ceph on ogw01
[ceph_deploy.install][WARNIN] --gpg-url was not used, will fallback
[ceph_deploy.install][WARNIN] using GPG fallback: https://download.ceph.com/keys/release.asc
[ogw01][INFO  ] using custom repository location: http://eu.ceph.com/debian-jewel/
[ogw01][INFO  ] Running command: sudo wget -O release.asc https://download.ceph.com/keys/release.asc
[ogw01][WARNIN] --2016-10-11 14:06:38--  https://download.ceph.com/keys/release.asc
[ogw01][WARNIN] Resolving download.ceph.com (download.ceph.com)... 173.236.253.173, 2607:f298:6050:51f3:f816:3eff:fe71:9135
4

1 回答 1

0

以下几行:

[ceph_deploy.install][WARNIN] --gpg-url was not used, will fallback
[ceph_deploy.install][WARNIN] using GPG fallback: https://download.ceph.com/keys/release.asc

表示 download.ceph.com 仅用于gpg部分。你也可以给--gpg-url选项。以下命令应该可以工作,因为它还使用镜像的密钥进行部署:

ceph-deploy install --repo-url http://eu.ceph.com --gpg-url http://eu.ceph.com/keys/release.asc   ogw01
于 2016-10-11T14:27:54.783 回答