Project

General

Profile

Actions

Bug #52514

closed

vstart fails with --cephadm option

Added by Pere Díaz Bou over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

running ../src/vstart.sh with --cephadm cause an error when loading asyncssh


Related issues 2 (0 open2 closed)

Copied to Orchestrator - Backport #56501: quincy: vstart fails with --cephadm optionResolvedAdam KingActions
Copied to Orchestrator - Backport #56502: pacific: vstart fails with --cephadm optionRejectedAdam KingActions
Actions #1

Updated by Pere Díaz Bou over 2 years ago

Pere Díaz Bou wrote:

running ../src/vstart.sh with --cephadm cause an error when loading asyncssh

output:

Error ENOENT: module 'cephadm' reports that it cannot run on the active manager daemon: loading asyncssh library:No module named 'asyncssh' (pass --force to force enablement)

Actions #2

Updated by Sebastian Wagner over 2 years ago

  • Status changed from New to Can't reproduce
Actions #3

Updated by Kamoltat (Junior) Sirivadhna about 2 years ago

  • Status changed from Can't reproduce to New

Ran the command: MON=1 MGR=1 OSD=0 MDS=0 ../src/vstart.sh -d -n -x --cephadm

Error:

Error ENOENT: module 'cephadm' reports that it cannot run on the active manager daemon: loading asyncssh library:No module named 'asyncssh' (pass --force to force enablement).

Actions #4

Updated by Tatjana Dehler about 2 years ago

Experienced the same issue on my environment.

Actions #5

Updated by Redouane Kachach Elhichou about 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Redouane Kachach Elhichou
Actions #6

Updated by Redouane Kachach Elhichou about 2 years ago

  • Pull request ID set to 45643
Actions #7

Updated by Redouane Kachach Elhichou about 2 years ago

  • Status changed from In Progress to Fix Under Review
Actions #8

Updated by Redouane Kachach Elhichou about 2 years ago

The root cause of this issue are missing cephadm dependencies. Unfortunately right now (as discussed in the PR 45643 linked on this issue) we don't have any mechanism to provide a simple way to install runtime Python deps for vstart. Thus, the workaround is to install them manually. For cephadm for example we have two of them:

asyncssh
natsort

So if you want to use cephadm for example with vstart you have to install these dependencies by using following commands:

sudo -H python3 -m pip install natsort
sudo -H python3 -m pip install asyncssh

using sudo -H in this case is necessary as vstart doesn't pick the user's Python local libraries. It only loads system ones.

Actions #9

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Fix Under Review to Need More Info
Actions #10

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Need More Info to Fix Under Review
Actions #11

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #12

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Backport set to quincy,pacific
Actions #13

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56501: quincy: vstart fails with --cephadm option added
Actions #14

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #56502: pacific: vstart fails with --cephadm option added
Actions #15

Updated by Adam King over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF