can't install via stack.sh - keystone crashes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
i have a problem. I think there is a bug in the github master from devstack. For about a week, devstack crashes by the installation.
I use Ubuntu 12.10. I also testet it on a complete new VM without a localrc config.
I don't know how to fix it. It seems that there is a problem with the "keystone user-role-add" command.
This is the Log from the stack.sh process.
2013-01-11 14:06:08 + [[ tls-proxy == \n\o\v\a ]]
2013-01-11 14:06:08 + [[ tls-proxy == \c\i\n\d\e\r ]]
2013-01-11 14:06:08 + [[ tls-proxy == \c\e\i\
2013-01-11 14:06:08 + [[ tls-proxy == \g\l\a\n\c\e ]]
2013-01-11 14:06:08 + [[ tls-proxy == \q\u\a\n\t\u\m ]]
2013-01-11 14:06:08 + return 1
2013-01-11 14:06:08 + SERVICE_ENDPOINT=http://
2013-01-11 14:06:08 + is_service_enabled tls-proxy
2013-01-11 14:06:08 + services=tls-proxy
2013-01-11 14:06:08 + for service in '${services}'
2013-01-11 14:06:08 + [[ ,g-api,
2013-01-11 14:06:08 + [[ tls-proxy == \n\o\v\a ]]
2013-01-11 14:06:08 + [[ tls-proxy == \c\i\n\d\e\r ]]
2013-01-11 14:06:08 + [[ tls-proxy == \c\e\i\
2013-01-11 14:06:08 + [[ tls-proxy == \g\l\a\n\c\e ]]
2013-01-11 14:06:08 + [[ tls-proxy == \q\u\a\n\t\u\m ]]
2013-01-11 14:06:08 + return 1
2013-01-11 14:06:08 + export OS_SERVICE_
2013-01-11 14:06:08 + OS_SERVICE_
2013-01-11 14:06:08 + export OS_SERVICE_
2013-01-11 14:06:08 + OS_SERVICE_
2013-01-11 14:06:08 + create_
2013-01-11 14:06:08 ++ keystone tenant-create --name admin
2013-01-11 14:06:08 ++ grep ' id '
2013-01-11 14:06:08 ++ get_field 2
2013-01-11 14:06:08 ++ read data
2013-01-11 14:07:11 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:07:11 + ADMIN_TENANT=
2013-01-11 14:07:11 ++ keystone user-create --name admin --pass winfoopen --email <email address hidden>
2013-01-11 14:07:11 ++ grep ' id '
2013-01-11 14:07:11 ++ get_field 2
2013-01-11 14:07:11 ++ read data
2013-01-11 14:08:15 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:08:15 + ADMIN_USER=
2013-01-11 14:08:15 ++ keystone role-create --name admin
2013-01-11 14:08:15 ++ grep ' id '
2013-01-11 14:08:15 ++ get_field 2
2013-01-11 14:08:15 ++ read data
2013-01-11 14:09:18 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:09:18 + ADMIN_ROLE=
2013-01-11 14:09:18 + keystone user-role-add --user_id --role_id --tenant_id
2013-01-11 14:09:18 usage: keystone user-role-add --user-id <user-id> --role-id <role-id>
2013-01-11 14:09:18 [--tenant-id <tenant-id>]
2013-01-11 14:09:18 keystone user-role-add: error: argument --user-
2013-01-11 14:09:18 ++ keystone tenant-create --name service
2013-01-11 14:09:18 ++ grep ' id '
2013-01-11 14:09:18 ++ get_field 2
2013-01-11 14:09:18 ++ read data
2013-01-11 14:10:22 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:10:22 + SERVICE_TENANT=
2013-01-11 14:10:22 ++ keystone role-create --name=Member
2013-01-11 14:10:22 ++ grep ' id '
2013-01-11 14:10:22 ++ get_field 2
2013-01-11 14:10:22 ++ read data
2013-01-11 14:11:25 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:11:25 + MEMBER_ROLE=
2013-01-11 14:11:25 ++ keystone role-create --name=anotherrole
2013-01-11 14:11:25 ++ grep ' id '
2013-01-11 14:11:25 ++ get_field 2
2013-01-11 14:11:25 ++ read data
2013-01-11 14:12:28 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:12:28 + ANOTHER_ROLE=
2013-01-11 14:12:28 ++ keystone tenant-create --name=
2013-01-11 14:12:28 ++ grep ' id '
2013-01-11 14:12:28 ++ get_field 2
2013-01-11 14:12:28 ++ read data
2013-01-11 14:13:32 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:13:32 + INVIS_TENANT=
2013-01-11 14:13:32 ++ keystone tenant-create --name=demo
2013-01-11 14:13:32 ++ grep ' id '
2013-01-11 14:13:32 ++ get_field 2
2013-01-11 14:13:32 ++ read data
2013-01-11 14:14:35 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:14:35 + DEMO_TENANT=
2013-01-11 14:14:35 ++ keystone user-create --name demo --pass winfoopen --email <email address hidden>
2013-01-11 14:14:35 ++ grep ' id '
2013-01-11 14:14:35 ++ get_field 2
2013-01-11 14:14:35 ++ read data
2013-01-11 14:15:38 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:15:38 + DEMO_USER=
2013-01-11 14:15:38 + keystone user-role-add --user_id --role_id --tenant_id
2013-01-11 14:15:39 usage: keystone user-role-add --user-id <user-id> --role-id <role-id>
2013-01-11 14:15:39 [--tenant-id <tenant-id>]
2013-01-11 14:15:39 keystone user-role-add: error: argument --user-
2013-01-11 14:15:39 + keystone user-role-add --user_id --role_id --tenant_id
2013-01-11 14:15:39 usage: keystone user-role-add --user-id <user-id> --role-id <role-id>
2013-01-11 14:15:39 [--tenant-id <tenant-id>]
2013-01-11 14:15:39 keystone user-role-add: error: argument --user-
2013-01-11 14:15:39 + keystone user-role-add --user_id --role_id --tenant_id
2013-01-11 14:15:39 usage: keystone user-role-add --user-id <user-id> --role-id <role-id>
2013-01-11 14:15:39 [--tenant-id <tenant-id>]
2013-01-11 14:15:39 keystone user-role-add: error: argument --user-
2013-01-11 14:15:39 + keystone user-role-add --user_id --role_id --tenant_id
2013-01-11 14:15:39 usage: keystone user-role-add --user-id <user-id> --role-id <role-id>
2013-01-11 14:15:39 [--tenant-id <tenant-id>]
2013-01-11 14:15:39 keystone user-role-add: error: argument --user-
2013-01-11 14:15:39 + [[ sql = \s\q\l ]]
2013-01-11 14:15:39 ++ keystone service-create --name keystone --type identity --description 'Keystone Identity Service'
2013-01-11 14:15:39 ++ grep ' id '
2013-01-11 14:15:39 ++ get_field 2
2013-01-11 14:15:39 ++ read data
2013-01-11 14:16:43 'NoneType' object has no attribute '__getitem__'
2013-01-11 14:16:43 + KEYSTONE_SERVICE=
2013-01-11 14:16:43 + keystone endpoint-create --region RegionOne --service_id --publicurl http://
2013-01-11 14:16:43 usage: keystone endpoint-create [--region <endpoint-region>] --service-id
2013-01-11 14:16:43 <service-id> [--publicurl <public-url>]
2013-01-11 14:16:43 [--adminurl <admin-url>]
2013-01-11 14:16:43 [--internalurl <internal-url>]
2013-01-11 14:16:43 keystone endpoint-create: error: argument --service-
2013-01-11 14:16:43 ++ failed
winfo@ubuntu-
2013-01-11 14:16:43 +++ jobs -p
2013-01-11 14:16:43 ++ kill
2013-01-11 14:16:43 ++ set +o xtrace
2013-01-11 14:16:43 stack.sh failed: full log in /opt/stack/
winfo@ubuntu-
Changed in devstack: | |
status: | New → Invalid |
I still can't find a solution. I think it has to do with keystone or keystone client