Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

stack.sh not working

This is what I am doing to install devstack:

  1. create new VM on virtualbox
  2. Install centos7 minimal
  3. Install git (yum install git-core)
  4. cd /tmp
  5. git clone https://git.openstack.org/openstack-dev/devstack
  6. devstack/tools/create-stack-user.sh
  7. chown -R stack:stack /tmp/devstack
  8. su stack
  9. cd devstack; ./stack.sh

However I am getting a strange error message related with my python-six as it is not recognising the modules

 File "/usr/lib/python2.7/site-packages/oslo_serialization/jsonutils.py", line 61, in <module>
    import six.moves.xmlrpc_client as xmlrpclib
ImportError: No module named xmlrpc_client

Please note:

pip freeze | grep six
six==1.10.0
does openstack really not have packages or venv support
 >>> import six; print(six.__version__)
 1.2.0

So it looks like python interpreter is using six 1.2.0 instead of 1.10.0

Any idea on how to fix this?