Ask Your Question
1

Error while running stack.sh

asked 2014-06-11 14:47:11 -0500

anonymous user

Anonymous

Hi All,

I am running stack.sh command to install openstack. After looking at log I found that heat has successfully installed and it is throwing the error while starting the keystone

2014-06-11 13:36:45.509 | + echo 'Waiting for keystone to start...'

2014-06-11 13:36:45.510 | Waiting for keystone to start...

2014-06-11 13:36:45.514 | + timeout 60 sh -c 'while ! curl --noproxy '\''*'\'' -k -s http://10.0.2.15:5000/v2.0/ >/dev/null; do sleep 1; done'

2014-06-11 13:36:46.521 | + is_service_enabled tls-proxy

2014-06-11 13:36:46.524 | + return 1

2014-06-11 13:36:46.527 | + SERVICE_ENDPOINT=http://10.0.2.15:35357/v2.0

2014-06-11 13:36:46.534 | + is_service_enabled tls-proxy

2014-06-11 13:36:46.542 | + return 1

2014-06-11 13:36:46.547 | + export OS_TOKEN=tokentoken

2014-06-11 13:36:46.555 | + OS_TOKEN=tokentoken

2014-06-11 13:36:46.563 | + export OS_URL=http://10.0.2.15:35357/v2.0

2014-06-11 13:36:46.571 | + OS_URL=http://10.0.2.15:35357/v2.0

2014-06-11 13:36:46.574 | + create_keystone_accounts

2014-06-11 13:36:46.582 | ++ get_field 2

2014-06-11 13:36:46.587 | ++ read data

2014-06-11 13:36:46.594 | ++ grep ' id '

2014-06-11 13:36:46.598 | ++ openstack project create admin

2014-06-11 13:36:46.783 | ERROR: openstackclient.shell Exception raised: six>=1.6.0

2014-06-11 13:36:46.799 | + ADMIN_TENANT=

2014-06-11 13:36:46.807 | ++ get_field 2

2014-06-11 13:36:46.814 | ++ read data

2014-06-11 13:36:46.818 | ++ grep ' id '

2014-06-11 13:36:46.827 | ++ openstack user create admin --project '' --email admin@example.com --password openstack

*2014-06-11 13:36:47.054 | ERROR: openstackclient.shell Exception raised: six>=1.6.0*

2014-06-11 13:36:47.069 | + ADMIN_USER=

2014-06-11 13:36:47.076 | ++ get_field 2

2014-06-11 13:36:47.083 | ++ read data

2014-06-11 13:36:47.091 | ++ grep ' id '

2014-06-11 13:36:47.098 | ++ openstack role create admin

2014-06-11 13:36:47.318 | ERROR: openstackclient.shell Exception raised: six>=1.6.0

2014-06-11 13:36:47.334 | + ADMIN_ROLE=

2014-06-11 13:36:47.342 | + openstack role add --project --user

*2014-06-11 13:36:47.577 | ERROR: openstackclient.shell Exception raised: six>=1.6.0*

2014-06-11 13:36:47.587 | + exit_trap

2014-06-11 13:36:47.588 | + local r=1

2014-06-11 13:36:47.589 | ++ jobs -p

2014-06-11 13:36:47.590 | + jobs=

2014-06-11 13:36:47.591 | + [[ -n '' ]]

2014-06-11 13:36:47.592 | + exit 1

Let me know I can upload the entire log if needed.

edit retag flag offensive close merge delete

Comments

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-06-11 22:31:19 -0500

SGPJ gravatar image

https://bugs.launchpad.net/python-ope...

Here is a bit more details about the issue:

Previously, in devstack, pip was installed by downloading a specific version (1.4.1) from a tarball from pypi. Since devstack 7b63c5e [1], pip is now installed with get-pip.py. Until recently, the version installed by get-pip.py was 1.4.1.

At about the same time, get-pip.py has been updated [2] to install pip 1.5.6 instead.

Beginning with pip 1.5.1, you don't need to have setuptools installed prior to pip installation. If setuptools is not found, it will be installed for you, otherwise it won't. Note that no particular setuptools version is required. [3]

How does it relate to the six package? Well, it looks like the six package is installed from wheel. (which uses the .dist-info directory)

Support for .dist-info directories (used by wheel packages) was added in setuptools 0.6.28. Ubuntu Precise 12.04 provides setuptools 0.6.24 [4] which is too old for our needs.

Although pip now bundles setuptools (since 1.5.1) [3], other packages are still using the system version of setuptools to discover installed packages. For six to be found by other packages, we need to install/update setuptools >= 0.6.28.

This is why we need to update setuptools to the latest to provide us the needed version to make six discoverable again.

[1] https://github.com/openstack-dev/devs.. . [2] https://github.com/pypa/pip/commit/2b.. . [3] http://pip.readthedocs.org/en/latest/.. . [4] http://packages.ubuntu.com/precise/py.. .

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: 2014-06-11 14:47:11 -0500

Seen: 853 times

Last updated: Jun 11 '14