Project

General

Profile

Bug #53088

mgr/dashboard: running install-deps.sh fails with an error

Added by Rishabh Dave 3 months ago. Updated 3 months ago.

Status:
Pending Backport
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

The error due to which install-deps.sh crashes -

ERROR: Double requirement given: pyfakefs (from -r requirements-test.txt (line 3)) (already in pyfakefs==4.5.0 (from -r requirements-lint.txt (line 9)), name='pyfakefs')

The conflict is between dependency mentioned in files src/pybind/mgr/dashboard/requirements-test.txt and src/pybind/mgr/dashboard/requirements-lint.txt. Here is where the issue is introduced AFAIS - https://github.com/ceph/ceph/pull/43642/files#diff-d15c7311ff334fa6b5cfcd08f19ad87d59be4d0ca12721d7487a8f3f1f767feeR9

Description of problem

here

Environment

  • ceph version string: latest master branch
  • Platform (OS/distro/release): Fedora 34

How reproducible

All the time.

Steps:

  1. git clone https://github.com/ceph/ceph && cd ceph && sudo ./install-dep.sh

Actual results

Following are few lines from the output of install-deps.sh -

Collecting filelock>=3.0.0
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/filelock-3.3.2-py3-none-any.whl
Collecting virtualenv!=20.0.0,!=20.0.1,!=20.0.2,!=20.0.3,!=20.0.4,!=20.0.5,!=20.0.6,!=20.0.7,>=16.0.0
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/virtualenv-20.9.0-py2.py3-none-any.whl
Collecting pluggy>=0.12.0
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/pluggy-1.0.0-py2.py3-none-any.whl
Collecting six>=1.14.0
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/six-1.16.0-py2.py3-none-any.whl
Collecting toml>=0.9.4
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/toml-0.10.2-py2.py3-none-any.whl
Collecting pyparsing<3,>=2.0.2
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/pyparsing-2.4.7-py2.py3-none-any.whl
Collecting distlib<1,>=0.3.1
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/distlib-0.3.3-py2.py3-none-any.whl
Collecting backports.entry-points-selectable>=1.0.4
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/backports.entry_points_selectable-1.1.0-py2.py3-none-any.whl
Collecting platformdirs<3,>=2
  File was already downloaded /home/rishabh/repos/ceph/test4/src/pybind/mgr/dashboard/wheelhouse-wip/platformdirs-2.4.0-py3-none-any.whl
WARNING: You are using pip version 21.0.1; however, version 21.3.1 is available.
You should consider upgrading via the '/home/rishabh/repos/ceph/test4/install-deps-python3/bin/python3 -m pip install --upgrade pip' command.
WARNING: fast-deps has no effect when used with the legacy resolver.
ERROR: Double requirement given: pyfakefs (from -r requirements-test.txt (line 3)) (already in pyfakefs==4.5.0 (from -r requirements-lint.txt (line 9)), name='pyfakefs')
WARNING: You are using pip version 21.0.1; however, version 21.3.1 is available.
You should consider upgrading via the '/home/rishabh/repos/ceph/test4/install-deps-python3/bin/python3 -m pip install --upgrade pip' command.

Related issues

Copied to Dashboard - Backport #53092: pacific: mgr/dashboard: running install-deps.sh fails with an error Resolved
Copied to Dashboard - Backport #53093: nautilus: mgr/dashboard: running install-deps.sh fails with an error New
Copied to Dashboard - Backport #53094: octopus: mgr/dashboard: running install-deps.sh fails with an error Resolved

History

#1 Updated by Rishabh Dave 3 months ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 43738

#2 Updated by Ernesto Puerta 3 months ago

  • Backport set to pacific,octopus,nautilus

The nautilus backport is just to ensure we keep legacy branches at least 'buildable'.

#3 Updated by Ernesto Puerta 3 months ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Backport Bot 3 months ago

  • Copied to Backport #53092: pacific: mgr/dashboard: running install-deps.sh fails with an error added

#5 Updated by Backport Bot 3 months ago

  • Copied to Backport #53093: nautilus: mgr/dashboard: running install-deps.sh fails with an error added

#6 Updated by Backport Bot 3 months ago

  • Copied to Backport #53094: octopus: mgr/dashboard: running install-deps.sh fails with an error added

Also available in: Atom PDF