devstack Grizzly installation on Ubuntu 13.04 fails

Asked by Paolo Scottton

Hello,

I'm trying to install devstack (grizzly) on Ubunutu 13.04 it fails in nova installation:

2013-082013-08-08 10:57:29 + sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/local/bin/pip install --build=/tmp/pip-build.uXh7z --use-mirrors -e /opt/stack/nova
2013-08-08 10:57:30 Obtaining file:///opt/stack/nova
2013-08-08 10:57:30 Running setup.py egg_info for package from file:///opt/stack/nova
2013-08-08 10:57:30 error in setup command: Error parsing /opt/stack/nova/setup.cfg: KeyError: 'name'
2013-08-08 10:57:30 Complete output from command python setup.py egg_info:
2013-08-08 10:57:30 error in setup command: Error parsing /opt/stack/nova/setup.cfg: KeyError: 'name'
2013-08-08 10:57:30
2013-08-08 10:57:30 ----------------------------------------
2013-08-08 10:57:30 Cleaning up...
2013-08-08 10:57:30 Command python setup.py egg_info failed with error code 1 in /opt/stack/nova
2013-08-08 10:57:30 Storing complete log in /home/stack/.pip/pip.log
2013-08-08 10:57:30 + sudo chown -R stack '/opt/stack/nova/*.egg-info'
2013-08-08 10:57:30 chown: cannot access ‘/opt/stack/nova/*.egg-info’: No such file or directory
2013-08-08 10:57:30 ++ failed
2013-08-08 10:57:30 ++ local r=1
2013-08-08 10:57:30 +++ jobs -p
2013-08-08 10:57:30 ++ kill
2013-08-08 10:57:30 ++ set +o xtrace
2013-08-08 10:57:30 stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2013-08-08-105411

pip.log looks likes:

Exception information:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 134, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 236, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 1050, in prepare_files
    req_to_install.run_egg_info()
  File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 259, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/local/lib/python2.7/dist-packages/pip/util.py", line 670, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in /opt/stack/nova

This problems seems very consistent. I tried out on Ubuntu 12.04 and I get the same. Also my localrc is pretty straightforward:

#Pin the version
CINDER_BRANCH=stable/grizzly
GLANCE_BRANCH=stable/grizzly
HORIZON_BRANCH=stable/grizzly
KEYSTONE_BRANCH=stable/grizzly
NOVA_BRANCH=stable/grizzly
QUANTUM_BRANCH=stable/grizzly
SWIFT_BRANCH=stable/grizzly

#Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs

PUBLIC_INTERFACE=eth0
FLOATING_RANGE=9.4.20.72/29
HOST_IP=9.4.20.64

Many thanks for any help!
Paolo

Question information

Language:
English Edit question
Status:
Solved
For:
devstack Edit question
Assignee:
No assignee Edit question
Solved by:
Dane LeBlanc
Solved:
Last query:
Last reply:
Revision history for this message
Gurinder (Sunny) Shergill (gurinder-shergill) said :
#1

I am hitting the same issue, however, i am using f18.

Revision history for this message
Best Dane LeBlanc (leblancd) said :
#2

Paolo:
Please try pulling a stable Grizzly version of your ~/devstack before running stack.sh, e.g.:
    cd ~/devstack
    git checkout -b stable_grizzly origin/stable/grizzly
-Dane

Revision history for this message
Paolo Scottton (psc) said :
#3

Thanks Dane LeBlanc, that solved my question.

Revision history for this message
jack (junjie-jia) said :
#4

I met the same problem, after apply Dane's workaround, it did solve my issue. Thanks Dane !