stack.sh fails when creating openstack admin project

Bug #1326925 reported by Philippe Godin
This bug report is a duplicate of:  Bug #1326811: Client failing with six =>1.6 error. Edit Remove
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
devstack
Confirmed
Undecided
Unassigned

Bug Description

Since last devstack commit 7b63c5ec9e9aea54024105a6521a754efc9f9983 that fixes the bug #1326539, stack.sh fails when trying to execute 'openstack create admin project'.

Attached is the stack trace. We are using a fresh installation of Ubuntu precise 12.04.3

While investigating, we found out the following:

1. It works using the previous commit (ea937baee62378b118c09f42c16a44cc5e6a5fdd)
  -> with that commit, the pip version installed is 1.4.1

2. At the same moment that devstack was modified to use the pip cdn, the cdn project was updated and the pip version was upgraded
 -> with that commit the pip version installed is 1.5.6

Issuing the command `sudo pip install setuptools==3.6` fixes the issue.

Revision history for this message
Philippe Godin (godp1301) wrote :
Revision history for this message
Mathieu Mitchell (mat128) wrote :

I was able to reproduce the issue with a Vagrant box built by Ubuntu.

Steps to reproduce:
vagrant box add ubuntu_official_12_04_amd64 https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box
vagrant init ubuntu_official_12_04_amd64
vagrant up --provider=virtualbox
vagrant ssh

Followed this guide:
http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack

Interesting part (install_pip.sh) is in install_pip_log.txt
Full log in output.txt

Reported error:
2014-06-05 19:30:01.878 | ++ openstack project create admin
2014-06-05 19:30:01.880 | ERROR: openstackclient.shell Exception raised: six>=1.6.0
2014-06-05 19:30:01.883 | + ADMIN_TENANT=
2014-06-05 19:30:01.884 | ++ get_field 2
2014-06-05 19:30:01.886 | ++ read data
2014-06-05 19:30:01.888 | ++ grep ' id '
2014-06-05 19:30:01.890 | ++ openstack user create admin --project '' --email <email address hidden> --password 578902390d372d5e4b91
2014-06-05 19:30:01.891 | ERROR: openstackclient.shell Exception raised: six>=1.6.0
2014-06-05 19:30:01.892 | + ADMIN_USER=
2014-06-05 19:30:01.894 | ++ get_field 2
2014-06-05 19:30:01.896 | ++ read data
2014-06-05 19:30:01.897 | ++ grep ' id '
2014-06-05 19:30:01.899 | ++ openstack role create admin
2014-06-05 19:30:01.900 | ERROR: openstackclient.shell Exception raised: six>=1.6.0
2014-06-05 19:30:01.902 | + ADMIN_ROLE=
2014-06-05 19:30:01.903 | + openstack role add --project --user
2014-06-05 19:30:01.906 | ERROR: openstackclient.shell Exception raised: six>=1.6.0

Running unstack, checking out previous commit (git checkout ea937baee62378b118c09f42c16a44cc5e6a5fdd) and running stack works. Output in "working.log"

Excerpt:
2014-06-05 19:37:31.676 | + create_keystone_accounts
2014-06-05 19:37:31.684 | ++ get_field 2
2014-06-05 19:37:31.693 | ++ read data
2014-06-05 19:37:31.700 | ++ grep ' id '
2014-06-05 19:37:31.706 | ++ openstack project create admin
2014-06-05 19:37:32.314 | ++ '[' 2 -lt 0 ']'
2014-06-05 19:37:32.318 | ++ field='$3'
2014-06-05 19:37:32.328 | ++ awk '-F[ \t]*\\|[ \t]*' '{print $3}'
2014-06-05 19:37:32.337 | ++ echo '| id | f9175af09d1c4af390b0d695b9621045 |'
2014-06-05 19:37:32.342 | ++ read data
2014-06-05 19:37:32.352 | + ADMIN_TENANT=f9175af09d1c4af390b0d695b9621045

Revision history for this message
Mathieu Mitchell (mat128) wrote :

install_pip_log.txt

Revision history for this message
Mathieu Mitchell (mat128) wrote :

working.log

Changed in devstack:
status: New → Confirmed
Revision history for this message
Mathieu Mitchell (mat128) wrote :

Possible dupe of LP 1326811

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.