Project

General

Profile

Bug #46695

install-deps is missing python-yaml dependency on Fedora32

Added by Sunny Kumar 6 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

On Fedora 32 machine intall-deps.sh is unable to install few dependencies.

Observation:

- Its being collected and added to wheel:

Collecting pyyaml
Downloading PyYAML-5.3.1.tar.gz (269 kB) |████████████████████████████████| 269 kB 8.2 MB/s
Collecting six
File was already downloaded /root/ceph/src/pybind/mgr/dashboard/wheelhouse-wip/six-1.15.0-py2.py3-none-any.whl
Collecting portend>=2.1.1

- Building wheel for pyyaml (setup.py) ... done
Created wheel for pyyaml: filename=PyYAML-5.3.1-cp38-cp38-linux_x86_64.whl size=44617 sha256=d2b69df1309495c1baae2052b26116f636aba6224f834191c2d911ac31bc60ad

- But, after compilation and running vstart traceback can be seen in mgr log

ModuleNotFoundError: No module named 'yaml'

History

#1 Updated by Kefu Chai 6 months ago

Sunny, do you have both python3.7 and python3.8 in your environment? what was the value of WITH_PYTHON3 you passed to cmake? you could grep build/CMakeCache.txt for WITH_PYTHON3 to find its value.

#2 Updated by Sunny Kumar 6 months ago

Hey Kefu,

my box has only python3.8 and build/CMakeCache.txt has the same entry:

WITH_PYTHON3:STRING=3.8

Also available in: Atom PDF