Bug #52514
closedvstart fails with --cephadm option
0%
Description
running ../src/vstart.sh with --cephadm cause an error when loading asyncssh
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)
Updated by Sebastian Wagner over 2 years ago
- Status changed from New to Can't reproduce
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).
Updated by Tatjana Dehler about 2 years ago
Experienced the same issue on my environment.
Updated by Redouane Kachach Elhichou about 2 years ago
- Status changed from New to In Progress
- Assignee set to Redouane Kachach Elhichou
Updated by Redouane Kachach Elhichou about 2 years ago
- Pull request ID set to 45643
Updated by Redouane Kachach Elhichou about 2 years ago
- Status changed from In Progress to Fix Under Review
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.
Updated by Redouane Kachach Elhichou almost 2 years ago
- Status changed from Fix Under Review to Need More Info
Updated by Redouane Kachach Elhichou almost 2 years ago
- Status changed from Need More Info to Fix Under Review
Updated by Redouane Kachach Elhichou almost 2 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Redouane Kachach Elhichou almost 2 years ago
- Backport set to quincy,pacific
Updated by Backport Bot almost 2 years ago
- Copied to Backport #56501: quincy: vstart fails with --cephadm option added
Updated by Backport Bot almost 2 years ago
- Copied to Backport #56502: pacific: vstart fails with --cephadm option added
Updated by Adam King over 1 year ago
- Status changed from Pending Backport to Resolved