Ask Your Question
1

Problems to installing devstack

asked 2015-03-12 20:31:24 -0500

German Sanchez gravatar image

OS: Centos 7 Pyton Version: 2.7.5 Pip already installed

But devstack show error with pip problems.

http://i60.tinypic.com/2vud45j.jpg (image description)

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-13 00:29:48 -0500

Sahana gravatar image

I think there is a missing python-six minimum version from the requirements.txt

Try this command : pip install --upgrade six

It works:)

edit flag offensive delete link more
1

answered 2015-03-13 10:16:28 -0500

dbaxps gravatar image

updated 2015-03-15 15:22:33 -0500

Switch to Ubuntu 14.04.2  it will significantly reduce pain and allow to use upstream nova.
Otherwise, what for you need devstack ?

Your issue here http://i60.tinypic.com/2vud45j.jpg
Devstack is NOT happy with your version python-pip, however does nothing to fix a problem on CentOS 7.
Does CentOS 7 have package python-pip and was it installed before running devstack ?
View
1. https://review.openstack.org/#/c/155710/
2. https://git.openstack.org/cgit/openst...

It doesn't seem to work on CentOS 7 due to your screenshot.

Currently I see python-pip-6.0.8-1.fc23.src.rpm  only in Fedora Rawhide repos.
I would see is it possible to rpmbuld this package on CentOS 7.

Build on CentOS 7

    # yum install python-devel
    [root@juno2dev noarch]# uname -a
    Linux juno2dev.localdomain 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    # rpm -iv python-pip-6.0.8-1.fc23.src.rpm
    # rpmbuild -bb python-pip.spec
    # cd ../RPMS/n*
    [root@juno2dev noarch]# ls -l
    total 1696
    -rw-r--r--. 1 root root 1735748 Mar 15 12:27 python-pip-6.0.8-1.el7.centos.noarch.rpm
    [root@juno2dev noarch]# yum install  python-pip-6.0.8-1.el7.centos.noarch.rpm
    Loaded plugins: fastestmirror, langpacks, priorities
    Examining python-pip-6.0.8-1.el7.centos.noarch.rpm: python-pip-6.0.8-1.el7.centos.noarch
    Marking python-pip-6.0.8-1.el7.centos.noarch.rpm as an update to python-pip-1.5.6-5.el7.noarch
    Resolving Dependencies
    --> Running transaction check
    ---> Package python-pip.noarch 0:1.5.6-5.el7 will be updated
    ---> Package python-pip.noarch 0:6.0.8-1.el7.centos will be an update
    --> Finished Dependency Resolution

    Dependencies Resolved

 =======================================================================================
     Package       Arch      Version                  Repository                                Size
========================================================================================
    Updating:
     python-pip    noarch    6.0.8-1.el7.centos       /python-pip-6.0.8-1.el7.centos.noarch    6.8 M
    Transaction Summary
========================================================================================
    Upgrade  1 Package

    Total size: 6.8 M
    Is this ok [y/d/N]: y
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
Running transaction
 Updating   : python-pip-6.0.8-1.el7.centos.noarch                                          1/2 
 Cleanup    : python-pip-1.5.6-5.el7.noarch                                                 2/2 
 Verifying  : python-pip-6.0.8-1.el7.centos.noarch                                          1/2 
 Verifying  : python-pip-1.5.6-5.el7.noarch                                                 2/2 
 Updated:
 python-pip.noarch 0:6.0.8-1.el7.centos                                                         
 Complete!
edit flag offensive delete link more
0

answered 2015-03-14 12:56:01 -0500

German Sanchez gravatar image

Well ....
I have reinstalled the OS and after some problems ... it's done

however i think the problem was the python path ....

Thanks

edit flag offensive delete link more

Comments

dbaxps gravatar imagedbaxps ( 2015-03-15 02:35:57 -0500 )edit
0

answered 2015-03-12 23:50:37 -0500

Praveen N gravatar image

updated 2015-03-12 23:54:29 -0500

Ensure the cloned git repo is with master branch.Try uninstalling Pip and rerun stack.sh..!!

edit flag offensive delete link more

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: 2015-03-12 20:31:24 -0500

Seen: 2,208 times

Last updated: Mar 15 '15