stack.sh fails on kilo while creating roles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Environment:
Ubuntu 14.04
Openstack: Kilo release
Using Devstack clone from repository.
Running stack.sh I get the following error during role creation and listing.
| +++ openstack user create admin --password passw0rd --domain=default --or-show -f value -c id
2015-11-25 16:13:10.316 | Could not find resource default
2015-11-25 16:13:10.336 | ++ user_id=
2015-11-25 16:13:10.336 | ++ echo
2015-11-25 16:13:10.336 | + admin_user=
2015-11-25 16:13:10.336 | + local admin_role
2015-11-25 16:13:10.337 | ++ get_or_create_role admin
2015-11-25 16:13:10.337 | ++ local role_id
2015-11-25 16:13:10.338 | +++ openstack role create admin --or-show -f value -c id
2015-11-25 16:13:10.653 | Internal Server Error (HTTP 500)
2015-11-25 16:13:10.676 | ++ role_id=
2015-11-25 16:13:10.676 | ++ echo
2015-11-25 16:13:10.676 | + admin_role=
2015-11-25 16:13:10.676 | + get_or_
2015-11-25 16:13:10.676 | + local user_role_id
2015-11-25 16:13:10.677 | ++ openstack role list --user --column ID --project --column Name
2015-11-25 16:13:10.677 | ++ grep ' '
2015-11-25 16:13:10.677 | ++ get_field 1
2015-11-25 16:13:10.678 | ++ local data field
2015-11-25 16:13:10.678 | ++ read data
2015-11-25 16:13:10.956 | usage: openstack role list [-h] [-f {csv,json,
COLUMN]
2015-11-25 16:13:10.956 | [--max-width <integer>] [--noindent]
2015-11-25 16:13:10.956 | [--quote {all,minimal,
2015-11-25 16:13:10.956 | [--domain <domain> | --project <project>]
2015-11-25 16:13:10.956 | [--user <user> | --group <group>]
2015-11-25 16:13:10.956 | [--group-domain <group-domain>]
2015-11-25 16:13:10.956 | [--project-domain <project-domain>]
2015-11-25 16:13:10.956 | [--user-domain <user-domain>] [--inherited]
2015-11-25 16:13:10.956 | openstack role list: error: argument --user: expected one argument
2015-11-
2015-11-25 16:13:10.974 | + [[ -z '' ]]
2015-11-25 16:13:10.974 | + openstack role add --user --project
2015-11-25 16:13:11.299 | usage: openstack role add [-h] [--domain <domain> | --project <project>]
2015-11-25 16:13:11.299 | [--user <user> | --group <group>]
2015-11-25 16:13:11.299 | [--group-domain <group-domain>]
2015-11-25 16:13:11.300 | [--project-domain <project-domain>]
2015-11-25 16:13:11.300 | [--user-domain <user-domain>] [--inherited]
2015-11-25 16:13:11.300 | <role>
2015-11-25 16:13:11.300 | openstack role add: error: argument --user: expected one argument
2015-11-25 16:13:11.316 | + exit_trap
I checked the openstack version:
$openstack --version
openstack 1.9.0
I tried to upgrade python-
$sudo -H pip install --upgrade python-
best regards
viswanath
I found there is no process listening on the ports 5000 or 35357
$ sudo netstat -nlap | grep -E "35357|5000"
tcp 0 0 172.17.106.30:52238 172.17.106.26:5000 TIME_WAIT -
tcp 1 0 172.17.106.30:36440 172.17.106.26:35357 CLOSE_WAIT 2956/python
tcp 0 0 172.17.106.30:52234 172.17.106.26:5000 TIME_WAIT -