ceph-deploy 安装报错 wget 安装

雨点打透心脏的1/2处 2022-10-31 10:58 385阅读 0赞

ceph-deploy 安装报错

  • 1.ceph-deploy 安装报错
  • 2.wget 没有正常安装

1.ceph-deploy 安装报错

  1. # ceph-deploy install k021
  2. [k021][INFO ] installing Ceph on k021
  3. [k021][INFO ] using custom repository location: http://mirrors.163.com/ceph/debian-mimic/
  4. [k021][INFO ] Running command: wget -O release.asc http://mirrors.163.com/ceph/keys/release.asc
  5. [k021][ERROR ] Traceback (most recent call last):
  6. [k021][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/process.py", line 119, in run
  7. [k021][ERROR ] reporting(conn, result, timeout)
  8. [k021][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/log.py", line 13, in reporting
  9. [k021][ERROR ] received = result.receive(timeout)
  10. [k021][ERROR ] File "/usr/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/lib/vendor/execnet/gateway_base.py", line 704, in receive
  11. [k021][ERROR ] raise self._getremoteerror() or EOFError()
  12. [k021][ERROR ] RemoteError: Traceback (most recent call last):
  13. [k021][ERROR ] File "<string>", line 1036, in executetask
  14. [k021][ERROR ] File "<remote exec>", line 12, in _remote_run
  15. [k021][ERROR ] File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
  16. [k021][ERROR ] errread, errwrite)
  17. [k021][ERROR ] File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
  18. [k021][ERROR ] raise child_exception
  19. [k021][ERROR ] OSError: [Errno 2] No such file or directory
  20. [k021][ERROR ]
  21. [k021][ERROR ]
  22. [ceph_deploy][ERROR ] RuntimeError: Failed to execute command: wget -O release.asc http://mirrors.163.com/ceph/keys/release.asc

2.wget 没有正常安装

  1. # which wget
  2. # apt install -y wget
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. wget is already the newest version (1.19.4-1ubuntu2.2).
  7. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  8. # which wget
  • 卸载wget

    apt remove wget
    apt purge wget

  • 安装 wget

    apt install -y wget

    which wget

    /usr/bin/wget

  • ceph-deploy 测试成功安装

发表评论

表情:
评论列表 (有 0 条评论,385人围观)

还没有评论,来说两句吧...

相关阅读

    相关 yum安装wget命令

    wget 是一个从网络上自动下载文件的自由工具,支持通过 HTTP、HTTPS、FTP 三个最常见的TCP/IP下载,并可以使用 HTTP 代理。"wget" 这个名称来源于