Project

General

Profile

Bug #13137

Ceph-deploy had failed to create cluster in LXC container

Added by Evgeny Eralev almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
% Done:

0%

Source:
other
Tags:
LXC
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-deploy
Crash signature (v1):
Crash signature (v2):

Description

Ceph-deploy failed to create cluster in LXC container (on Vmware VM is ok) according ceph installation (quick) preflight & storage cluster quickstart steps.

SSH passwordless was set.

eradmin@erastack:~/my-ceph$ ceph-deploy new cephm
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/eradmin/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.28): /usr/bin/ceph-deploy new cephm
[ceph_deploy.cli][INFO ] ceph-deploy options:
[ceph_deploy.cli][INFO ] username : None
[ceph_deploy.cli][INFO ] func : <function new at 0x7f1c69bf3230>
[ceph_deploy.cli][INFO ] verbose : False
[ceph_deploy.cli][INFO ] overwrite_conf : False
[ceph_deploy.cli][INFO ] quiet : False
[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f1c6978a5f0>
[ceph_deploy.cli][INFO ] cluster : ceph
[ceph_deploy.cli][INFO ] ssh_copykey : True
[ceph_deploy.cli][INFO ] mon : ['cephm']
[ceph_deploy.cli][INFO ] public_network : None
[ceph_deploy.cli][INFO ] ceph_conf : None
[ceph_deploy.cli][INFO ] cluster_network : None
[ceph_deploy.cli][INFO ] default_release : False
[ceph_deploy.cli][INFO ] fsid : None
[ceph_deploy.new][DEBUG ] Creating new cluster named ceph
[ceph_deploy.new][INFO ] making sure passwordless SSH succeeds
[cephm][DEBUG ] connected to host: erastack
[cephm][INFO ] Running command: ssh -CT -o BatchMode=yes cephm
bash: python: command not found
[ceph_deploy][ERROR ] RuntimeError: connecting to host: cephm resulted in errors: IOError cannot send (already closed?)

History

#1 Updated by Alfredo Deza over 5 years ago

If Python is not installed in whatever server it is trying to connect it will not work:

bash: python: command not found

#2 Updated by Alfredo Deza over 5 years ago

  • Status changed from New to Closed

#3 Updated by Kevin Levine over 4 years ago

I got it to work, here's what I did. Complete the steps below for all storage nodes:

1) sudo apt install python-minimal
2) answer the prompts until the install completes

Also available in: Atom PDF