stack.sh fails when creating openstack admin project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Since last devstack commit 7b63c5ec9e9aea5
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 (ea937baee62378
-> 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.
I was able to reproduce the issue with a Vagrant box built by Ubuntu.
Steps to reproduce: official_ 12_04_amd64 https:/ /cloud- images. ubuntu. com/vagrant/ precise/ current/ precise- server- cloudimg- amd64-vagrant- disk1.box official_ 12_04_amd64 virtualbox
vagrant box add ubuntu_
vagrant init ubuntu_
vagrant up --provider=
vagrant ssh
Followed this guide: docs.openstack. org/developer/ ironic/ dev/dev- quickstart. html#deploying- ironic- with-devstack
http://
Interesting part (install_pip.sh) is in install_pip_log.txt
Full log in output.txt
Reported error: .shell Exception raised: six>=1.6.0 e4b91 .shell Exception raised: six>=1.6.0 .shell Exception raised: six>=1.6.0 .shell Exception raised: six>=1.6.0
2014-06-05 19:30:01.878 | ++ openstack project create admin
2014-06-05 19:30:01.880 | ERROR: openstackclient
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 578902390d372d5
2014-06-05 19:30:01.891 | ERROR: openstackclient
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
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
Running unstack, checking out previous commit (git checkout ea937baee62378b 118c09f42c16a44 cc5e6a5fdd) and running stack works. Output in "working.log"
Excerpt: keystone_ accounts 390b0d695b96210 45 |' f9175af09d1c4af 390b0d695b96210 45
2014-06-05 19:37:31.676 | + create_
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 | f9175af09d1c4af
2014-06-05 19:37:32.342 | ++ read data
2014-06-05 19:37:32.352 | + ADMIN_TENANT=