Liberty Devstack installation failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Group Based Policy |
New
|
Undecided
|
Unassigned |
Bug Description
Group Based Policy Devstack installation of Liberty release is failing with below exception
016-08-29 03:49:14.250 | + export OS_TOKEN=abc123
2016-08-29 03:49:14.250 | + OS_TOKEN=abc123
2016-08-29 03:49:14.250 | + export OS_URL=http://
2016-08-29 03:49:14.250 | + OS_URL=http://
2016-08-29 03:49:14.251 | + create_
2016-08-29 03:49:14.251 | ++ get_or_
2016-08-29 03:49:14.251 | ++ local project_id
2016-08-29 03:49:14.252 | +++ openstack --os-url=http://
2016-08-29 03:49:20.343 | No domain with a name or ID of 'default' exists.
2016-08-29 03:49:20.376 | ++ project_id=
2016-08-29 03:49:20.376 | ++ echo
2016-08-29 03:49:20.376 | + local admin_tenant=
2016-08-29 03:49:20.377 | ++ get_or_create_user admin abc123 default
2016-08-29 03:49:20.377 | ++ local user_id
2016-08-29 03:49:20.377 | ++ [[ ! -z '' ]]
2016-08-29 03:49:20.377 | ++ local email=
2016-08-29 03:49:20.378 | +++ openstack user create admin --password abc123 --os-url=http://
2016-08-29 03:49:22.115 | No domain with a name or ID of 'default' exists.
2016-08-29 03:49:22.158 | ++ user_id=
2016-08-29 03:49:22.158 | ++ echo
2016-08-29 03:49:22.159 | + local admin_user=
2016-08-29 03:49:22.160 | ++ get_or_create_role admin
2016-08-29 03:49:22.160 | ++ local role_id
2016-08-29 03:49:22.161 | +++ openstack role create admin --os-url=http://
2016-08-29 03:49:28.248 | ++ role_id=
2016-08-29 03:49:28.248 | ++ echo 7ad9069ab1124a0
2016-08-29 03:49:28.249 | + local admin_role=
2016-08-29 03:49:28.249 | + get_or_
2016-08-29 03:49:28.249 | + local user_role_id
2016-08-29 03:49:28.250 | ++ openstack role list --user --os-url=http://
2016-08-29 03:49:28.251 | ++ get_field 1
2016-08-29 03:49:28.251 | ++ grep ' 7ad9069ab1124a0
2016-08-29 03:49:28.252 | ++ local data field
2016-08-29 03:49:28.252 | ++ read data
2016-08-29 03:49:29.929 | usage: openstack role list [-h] [-f {csv,json,
2016-08-29 03:49:29.929 | [--max-width <integer>] [--noindent]
2016-08-29 03:49:29.929 | [--quote {all,minimal,
2016-08-29 03:49:29.929 | [--domain <domain> | --project <project>]
2016-08-29 03:49:29.929 | [--user <user> | --group <group>]
2016-08-29 03:49:29.929 | [--group-domain <group-domain>]
2016-08-29 03:49:29.929 | [--project-domain <project-domain>]
2016-08-29 03:49:29.929 | [--user-domain <user-domain>] [--inherited]
2016-08-29 03:49:29.929 | openstack role list: error: argument --user: expected one argument
2016-08-29 03:49:29.959 | + user_role_id=
2016-08-29 03:49:29.959 | + [[ -z '' ]]
2016-08-29 03:49:29.959 | + openstack role add 7ad9069ab1124a0
2016-08-29 03:49:31.626 | usage: openstack role add [-h] [--domain <domain> | --project <project>]
2016-08-29 03:49:31.626 | [--user <user> | --group <group>]
2016-08-29 03:49:31.626 | [--group-domain <group-domain>]
2016-08-29 03:49:31.626 | [--project-domain <project-domain>]
2016-08-29 03:49:31.626 | [--user-domain <user-domain>] [--inherited]
2016-08-29 03:49:31.626 | <role>
2016-08-29 03:49:31.626 | openstack role add: error: argument --user: expected one argument
2016-08-29 03:49:31.654 | + exit_trap
2016-08-29 03:49:31.654 | + local r=2
2016-08-29 03:49:31.655 | ++ jobs -p
2016-08-29 03:49:31.656 | + jobs=
2016-08-29 03:49:31.656 | + [[ -n '' ]]
2016-08-29 03:49:31.656 | + kill_spinner
2016-08-29 03:49:31.656 | + '[' '!' -z '' ']'
2016-08-29 03:49:31.656 | + [[ 2 -ne 0 ]]
2016-08-29 03:49:31.656 | + echo 'Error on exit'
2016-08-29 03:49:31.656 | Error on exit
2016-08-29 03:49:31.656 | + generate-subunit 1472442256 315 fail
2016-08-29 03:49:32.048 | + [[ -z /opt/stack/logs ]]
2016-08-29 03:49:32.048 | + /home/stack/
2016-08-29 03:49:32.435 | + exit 2
The installation steps are followed from here:
https:/
The similar issue was reported with some other openstack project also.
I haven't tried recently, but seems like this is an issue with the base devstack install, and not specifically the GBP part. By any chance had you also tried just the base devstack install (without the GBP plugin)?