Pip fails installing keystone package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
New
|
Undecided
|
Unassigned | ||
PBR |
New
|
Undecided
|
Unassigned | ||
devstack |
In Progress
|
Undecided
|
Unassigned |
Bug Description
The issue I found is probably related with https:/
When trying to install a python package from a git local directory that is being installed as root using PBR, because PBR is being executing as root, git fails to execute commands on target directory when the directory is owned by another user.
The issue can be reproduced as follow:
git clone https:/
cd keystone
sudo pip install -e .
Produces an error (posted at the bottom).
The known workaround for this issue is by executing below command:
sudo git config --global --add safe.directory /path/to/
Error message printed out by PiP
File "/usr/local/
raise Exception(
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. It's also possible that there is a mismatch between the package name in setup.cfg and the argument given to pbr.version.
error in setup command: Error parsing /home/vagrant/
---
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Changed in devstack: | |
status: | New → In Progress |
Change abandoned by "Federico Ressi <email address hidden>" on branch: master /review. opendev. org/c/openstack /devstack/ +/837720 /review. opendev. org/c/openstack /devstack/ +/837659
Review: https:/
Reason: Abandoned in favour of https:/