RuntimeError: Не удалось выполнить команду: ceph --version - PullRequest
0 голосов
/ 05 апреля 2020

Я пытаюсь развернуть узлы ceph с 5 узлами, когда я запускаю ceph-deploy на 5 хостах, только 1 хост, наконец, имеет ошибку на всех узлах, как то же самое Ubuntu 16.04


[ceph-osd2][DEBUG ]   python-webtest python-werkzeug radosgw
[ceph-osd2][WARNIN] perl: warning: Setting locale failed.
[ceph-osd2][WARNIN] perl: warning: Please check that your locale settings:
[ceph-osd2][WARNIN]     LANGUAGE = "en_US:en",
[ceph-osd2][WARNIN]     LC_ALL = (unset),
[ceph-osd2][WARNIN]     LC_TIME = "az_IR",
[ceph-osd2][WARNIN]     LC_MONETARY = "az_IR",
[ceph-osd2][WARNIN]     LC_ADDRESS = "az_IR",
[ceph-osd2][WARNIN]     LC_TELEPHONE = "az_IR",
[ceph-osd2][WARNIN]     LC_NAME = "az_IR",
[ceph-osd2][WARNIN]     LC_MEASUREMENT = "az_IR",
[ceph-osd2][WARNIN]     LC_IDENTIFICATION = "az_IR",
[ceph-osd2][WARNIN]     LC_NUMERIC = "az_IR",
[ceph-osd2][WARNIN]     LC_PAPER = "az_IR",
[ceph-osd2][WARNIN]     LANG = "en_US.UTF-8"
[ceph-osd2][WARNIN]     are supported and installed on your system.
[ceph-osd2][WARNIN] perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
[ceph-osd2][WARNIN] locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
[ceph-osd2][DEBUG ] 0 upgraded, 74 newly installed, 0 to remove and 65 not upgraded.
[ceph-osd2][DEBUG ] Need to get 0 B/55.7 MB of archives.
[ceph-osd2][DEBUG ] After this operation, 281 MB of additional disk space will be used.
[ceph-osd2][INFO  ] Running command: sudo ceph --version
[ceph-osd2][ERROR ] Traceback (most recent call last):
[ceph-osd2][ERROR ]   File "/usr/local/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/process.py", line 119, in run
[ceph-osd2][ERROR ]     reporting(conn, result, timeout)
[ceph-osd2][ERROR ]   File "/usr/local/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/log.py", line 13, in reporting
[ceph-osd2][ERROR ]     received = result.receive(timeout)
[ceph-osd2][ERROR ]   File "/usr/local/lib/python2.7/dist-packages/ceph_deploy/lib/vendor/remoto/lib/vendor/execnet/gateway_base.py", line 704, in receive
[ceph-osd2][ERROR ]     raise self._getremoteerror() or EOFError()
[ceph-osd2][ERROR ] RemoteError: Traceback (most recent call last):
[ceph-osd2][ERROR ]   File "<string>", line 1036, in executetask
[ceph-osd2][ERROR ]   File "<remote exec>", line 12, in _remote_run
[ceph-osd2][ERROR ]   File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
[ceph-osd2][ERROR ]     errread, errwrite)
[ceph-osd2][ERROR ]   File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
[ceph-osd2][ERROR ]     raise child_exception
[ceph-osd2][ERROR ] OSError: [Errno 2] No such file or directory
[ceph-osd2][ERROR ] 
[ceph-osd2][ERROR ] 
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: ceph --version

Было бы лучше, если бы это сообщил, что ceph не был установлен.

Глупым людям нужно говорить, когда они глупы: _)

...