Actions
Bug #52304
closedcmake: ceph-volume build venv is not being created
% Done:
0%
Source:
Tags:
Backport:
pacific, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
the ceph-volume build venv is not being (re)created after a fresh clone of the github repo (or removal of the build dir)
$ git clone https://github.com/ceph/ceph $ cd ceph $ git submodule update --init --recursive $ ./install-deps.sh && ./do_cmake.sh && cd build && ninja vstart <snip> [99/1302] ceph-volume venv is being created /root/ceph/src/tools/setup-virtualenv.sh: line 60: -m: command not found /root/ceph/src/tools/setup-virtualenv.sh: line 61: /root/ceph/build/ceph-volume-virtualenv/bin/activate: No such file or directory Requirement already satisfied: pip>=6.1 in /usr/local/lib/python3.8/site-packages (21.2.4) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Requirement already satisfied: tox>=2.9.1 in /usr/lib/python3.8/site-packages (3.21.1) Requirement already satisfied: six>=1.14.0 in /usr/lib/python3.8/site-packages (from tox>=2.9.1) (1.16.0) Requirement already satisfied: filelock>=3.0.0 in /usr/lib/python3.8/site-packages (from tox>=2.9.1) (3.0.12) Requirement already satisfied: toml>=0.9.4 in /usr/lib/python3.8/site-packages (from tox>=2.9.1) (0.10.2) Requirement already satisfied: py>=1.4.17 in /usr/lib/python3.8/site-packages (from tox>=2.9.1) (1.10.0) Requirement already satisfied: pluggy>=0.12.0 in /usr/lib/python3.8/site-packages (from tox>=2.9.1) (0.13.1) Requirement already satisfied: 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 in /usr/lib/python3.8/site-packages (from tox>=2.9.1) (20.2.2) Requirement already satisfied: packaging>=14 in /usr/lib/python3.8/site-packages (from tox>=2.9.1) (20.9) Requirement already satisfied: pyparsing>=2.0.2 in /usr/lib/python3.8/site-packages (from packaging>=14->tox>=2.9.1) (2.4.7) Requirement already satisfied: appdirs<2,>=1.4.3 in /usr/lib/python3.8/site-packages (from 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->tox>=2.9.1) (1.4.4) Requirement already satisfied: distlib<1,>=0.3.1 in /usr/lib/python3.8/site-packages (from 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->tox>=2.9.1) (0.3.1) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv [100/1302] /root/ceph/src/ceph-volume FAILED: ceph-volume-virtualenv/bin/ceph-volume /root/ceph/build/ceph-volume-virtualenv/bin/ceph-volume cd /root/ceph/src/ceph-volume && . /root/ceph/build/ceph-volume-virtualenv/bin/activate && /root/ceph/build/ceph-volume-virtualenv/bin/python setup.py develop && deactivate /bin/sh: line 1: /root/ceph/build/ceph-volume-virtualenv/bin/activate: No such file or directory
Updated by Michael Fritch almost 3 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 42823
Updated by Kefu Chai almost 3 years ago
- Status changed from Fix Under Review to Resolved
Updated by Sebastian Wagner over 2 years ago
- Status changed from Resolved to Pending Backport
- Backport set to pacific, octopus
Updated by Backport Bot over 2 years ago
- Copied to Backport #52331: octopus: cmake: ceph-volume build venv is not being created added
Updated by Backport Bot over 2 years ago
- Copied to Backport #52332: pacific: cmake: ceph-volume build venv is not being created added
Updated by Loïc Dachary over 2 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions