Liberty Devstack installation failure

Bug #1617873 reported by vks1
6
This bug affects 1 person
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://192.168.100.101:35357/v2.0
2016-08-29 03:49:14.250 | + OS_URL=http://192.168.100.101:35357/v2.0
2016-08-29 03:49:14.251 | + create_keystone_accounts
2016-08-29 03:49:14.251 | ++ get_or_create_project admin default
2016-08-29 03:49:14.251 | ++ local project_id
2016-08-29 03:49:14.252 | +++ openstack --os-url=http://192.168.100.101:5000/v3 --os-identity-api-version=3 project create admin --domain=default --or-show -f value -c id
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://192.168.100.101:5000/v3 --os-identity-api-version=3 --domain=default --or-show -f value -c id
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://192.168.100.101:5000/v3 --os-identity-api-version=3 --or-show -f value -c id
2016-08-29 03:49:28.248 | ++ role_id=7ad9069ab1124a0f926aa10cf210e586
2016-08-29 03:49:28.248 | ++ echo 7ad9069ab1124a0f926aa10cf210e586
2016-08-29 03:49:28.249 | + local admin_role=7ad9069ab1124a0f926aa10cf210e586
2016-08-29 03:49:28.249 | + get_or_add_user_project_role 7ad9069ab1124a0f926aa10cf210e586
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://192.168.100.101:5000/v3 --os-identity-api-version=3 --column ID --project --column Name
2016-08-29 03:49:28.251 | ++ get_field 1
2016-08-29 03:49:28.251 | ++ grep ' 7ad9069ab1124a0f926aa10cf210e586 '
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,table,value,yaml}] [-c COLUMN]
2016-08-29 03:49:29.929 | [--max-width <integer>] [--noindent]
2016-08-29 03:49:29.929 | [--quote {all,minimal,none,nonnumeric}]
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 7ad9069ab1124a0f926aa10cf210e586 --user --project --os-url=http://192.168.100.101:5000/v3 --os-identity-api-version=3
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/devstack/tools/worlddump.py -d /opt/stack/logs
2016-08-29 03:49:32.435 | + exit 2

The installation steps are followed from here:
https://github.com/group-policy/gbp-devstack/tree/liberty

The similar issue was reported with some other openstack project also.

Revision history for this message
Sumit Naiksatam (snaiksat) wrote :

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)?

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.