Ask Your Question
0

No module named packstack

asked 2014-12-21 12:03:01 -0500

Valeri gravatar image

updated 2014-12-21 12:04:50 -0500

I installed OpenStack Juno successfully on my CentOS 6.5 follow this "http://therandomsecurityguy.com/openstack-juno/" tutorial, but when i try to start with packstack --allinone I get this error:

Traceback (most recent call last):
File "/usr/bin/packstack", line 10, in <module> import packstack ImportError: No module named packstack

This is the code in /usr/bin/packstack:

#!/usr/bin/python

import os, sys

try: import packstack except ImportError: # packstack isn't installed, running from source checkout sys.path.insert(0, os.path.join(os.path.split(sys.argv[0])[0], "..")) import packstack

os.environ["INSTALLER_PROJECT_DIR"] = os.path.abspath(os.path.split(packstack._$

from packstack.installer import run_setup run_setup.main()

I receive this error with any 'packstack' command.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-12-21 12:16:32 -0500

dbaxps gravatar image

updated 2014-12-21 13:10:16 -0500

RDO Juno requires at least CentOS 7 or Fedora 20.
Just follow https://openstack.redhat.com/Quickstart
Mentioned manual http://therandomsecurityguy.com/opens...
is named "Openstack Juno on Centos 7". Also there is no any need to install EPEL as advised there. Pre-installed EPEL does no harm, but is not required.
Regarding section "Neutron/ML2 Updates" , just for test ignore this directives and on standalone AIO Juno Node you will be fine.
Changes suggested for answer-file are required for multi-node RDO deployment. View for instance
http://bderzhavets.blogspot.com/2014/... .

edit flag offensive delete link more

Comments

thanks a lot.. I try with CentOS 7 and now work great, but in tutorial which I followed was said minimal version can be 6.5..

Valeri gravatar imageValeri ( 2014-12-21 16:38:26 -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-12-21 12:03:01 -0500

Seen: 372 times

Last updated: Dec 21 '14