Ask Your Question
1

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

asked 2014-08-25 01:42:47 -0500

Kaustubh P gravatar image

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.

edit retag flag offensive close merge delete

Comments

I suggest trying ./stack.sh again - sometimes thre can be intermittent issues. Failing this, you could try filing a bug at http://bugs.launchpad.net/devstack

fifieldt gravatar imagefifieldt ( 2014-08-29 17:54:50 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-23 14:56:46 -0500

I had the same issue. When running ./stack.sh my /opt/stack/glance directory was empty (just the .git folder there). I simply re-downloaded the glance repo.

edit flag offensive delete link more

Comments

can you please specify the command to do this.

Vikram gravatar imageVikram ( 2015-06-14 10:33:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-25 01:42:47 -0500

Seen: 2,190 times

Last updated: Aug 25 '14