git is required for ubuntu from source
Bug #1481560 reported by
Yongfeng Du
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Yongfeng Du |
Bug Description
When build docker images for ubuntu/source for neutron, error occurs because of git not installed.
Changed in kolla: | |
milestone: | none → liberty-3 |
importance: | Undecided → High |
Changed in kolla: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The error msg is as follows, I see the centos source base dockerfile has git installed, so it's reasonable for ubuntu base doing the similar. ======= ======= ===== root:Error parsing lib/python2. 7/dist- packages/ pbr/core. py", line 109, in pbr to_args( path) lib/python2. 7/dist- packages/ pbr/util. py", line 243, in cfg_to_args
pbr.hooks. setup_hook( config) lib/python2. 7/dist- packages/ pbr/hooks/ __init_ _.py", line 25, in setup_hook
metadata_ config. run() lib/python2. 7/dist- packages/ pbr/hooks/ base.py" , line 27, in run lib/python2. 7/dist- packages/ pbr/hooks/ metadata. py", line 26, in hook
self.config[ 'name'] , self.config. get('version' , None)) lib/python2. 7/dist- packages/ pbr/packaging. py", line 640, in get_version "Versioning for this project requires either an sdist" iXz7EF- build/setup. cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
=======
Processing /neutron
Complete output from command python setup.py egg_info:
ERROR:
Traceback (most recent call last):
File "/usr/local/
attrs = util.cfg_
File "/usr/local/
File "/usr/local/
File "/usr/local/
self.hook()
File "/usr/local/
File "/usr/local/
raise Exception(
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
error in setup command: Error parsing /tmp/pip-