Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Directory '/opt/stack/glance' is not installable. File 'setup.py' not found.

I have installed a CentOS 6.5 Final Release box in vagrant. I cloned the devstack repository as instructed in the docs. Trying to install devstack with the stack.sh script fails with this error:

+ sudo PIP_DOWNLOAD_CACHE=/var/cache/pip http_proxy= https_proxy= no_proxy= /usr/bin/pip install --build=/tmp/pip-build.c2O1W -e /opt/stack/glance
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated.  See https://github.com/pypa/pip/issues/906.
Directory '/opt/stack/glance' is not installable. File 'setup.py' not found.
Storing debug log for failure in /root/.pip/pip.log

The contents of pip.log are as follows:

/usr/bin/pip run on Mon Aug 25 03:46:36 2014
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated.  See https://github.com/pypa/pip/issues/906.
Directory '/opt/stack/glance' is not installable. File 'setup.py' not found.
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 260, in run
    InstallRequirement.from_editable(name, default_vcs=options.default_vcs))
  File "/usr/lib/python2.6/site-packages/pip/req.py", line 114, in from_editable
    name, url, extras_override = parse_editable(editable_req, default_vcs)
  File "/usr/lib/python2.6/site-packages/pip/req.py", line 1693, in parse_editable
    raise InstallationError("Directory %r is not installable. File 'setup.py' not found." % url_no_extras)
InstallationError: Directory '/opt/stack/glance' is not installable. File 'setup.py' not found.

I have verified that the folders have appropriate permissions. I tried digging into the functions-common script, where this error occured, but I was unable to debug.

Can anyone help me figure what is going wrong? Thanks.