OpenStack Icehouse devstack stack.sh : create user/project giving Internal Server Error (500)

Bug #1401070 reported by Rohit Kumar
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
DPDK
New
Undecided
Unassigned
devstack
Invalid
Undecided
Unassigned

Bug Description

I am trying to install OpenStack Icehouse single node cluster on Ubuntu 14.04 VM using devstack. I am getting the below error:

2014-12-10 11:15:47.107 | + SERVICE_ENDPOINT=http://10.0.2.15:35357/v2.0
2014-12-10 11:15:47.114 | + is_service_enabled tls-proxy
2014-12-10 11:15:47.424 | + return 1
2014-12-10 11:15:47.434 | + export OS_TOKEN=icehouse
2014-12-10 11:15:47.436 | + OS_TOKEN=icehouse
2014-12-10 11:15:47.436 | + export OS_URL=http://10.0.2.15:35357/v2.0
2014-12-10 11:15:47.437 | + OS_URL=http://10.0.2.15:35357/v2.0
2014-12-10 11:15:47.437 | + create_keystone_accounts
2014-12-10 11:15:47.541 | ++ get_or_create_project admin
2014-12-10 11:15:47.563 | ++ local os_cmd=openstack
2014-12-10 11:15:47.566 | ++ local domain=
2014-12-10 11:15:47.567 | ++ [[ ! -z '' ]]
2014-12-10 11:15:47.708 | +++ openstack project create admin --or-show -f value -c id
2014-12-10 11:16:05.053 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:16:05.611 | ++ local project_id=
2014-12-10 11:16:05.615 | ++ echo
2014-12-10 11:16:05.708 | + local admin_tenant=

Because of this error I am getting other error later in the setup such as appropriate parameters are not passed such as project, user, internalurl etc:

2014-12-10 11:16:05.799 | ++ get_or_create_user admin icehouse ''
2014-12-10 11:16:05.840 | ++ [[ ! -z '' ]]
2014-12-10 11:16:05.842 | ++ local email=
2014-12-10 11:16:05.844 | ++ local os_cmd=openstack
2014-12-10 11:16:05.850 | ++ local domain=
2014-12-10 11:16:05.852 | ++ [[ ! -z '' ]]
2014-12-10 11:16:05.936 | +++ openstack user create admin --password icehouse --project --or-show -f value -c id
2014-12-10 11:16:12.012 | usage: openstack user create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:16:12.013 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:16:12.019 | [--prefix PREFIX] [--project <project>]
2014-12-10 11:16:12.020 | [--password <password>] [--password-prompt]
2014-12-10 11:16:12.020 | [--email <email-address>] [--enable | --disable]
2014-12-10 11:16:12.023 | [--or-show]
2014-12-10 11:16:12.033 | <name>
2014-12-10 11:16:12.033 | openstack user create: error: argument --project: expected one argument
2014-12-10 11:16:12.522 | ++ local user_id=
2014-12-10 11:16:12.527 | ++ echo
2014-12-10 11:16:12.559 | + local admin_user=
2014-12-10 11:16:12.650 | ++ get_or_create_role admin
2014-12-10 11:16:12.732 | +++ openstack role create admin --or-show -f value -c id
2014-12-10 11:16:28.708 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:16:29.282 | ++ local role_id=
2014-12-10 11:16:29.288 | ++ echo
2014-12-10 11:16:29.340 | + local admin_role=
2014-12-10 11:16:29.341 | + get_or_add_user_role
2014-12-10 11:16:29.524 | ++ grep ' '
2014-12-10 11:16:29.563 | ++ openstack user role list --project --column ID --column Name
2014-12-10 11:16:29.637 | ++ get_field 1
2014-12-10 11:16:29.787 | ++ local data field
2014-12-10 11:16:29.791 | ++ read data
2014-12-10 11:16:36.266 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:16:36.276 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:16:36.277 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:16:36.277 | [--project <project>]
2014-12-10 11:16:36.281 | [<user>]
2014-12-10 11:16:36.281 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:16:36.954 | + local user_role_id=
2014-12-10 11:16:36.966 | + [[ -z '' ]]
2014-12-10 11:16:37.244 | ++ openstack role add --user --project
2014-12-10 11:16:37.355 | ++ get_field 2
2014-12-10 11:16:37.364 | ++ grep ' id '
2014-12-10 11:16:37.545 | ++ local data field
2014-12-10 11:16:37.555 | ++ read data
2014-12-10 11:16:44.843 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:16:44.901 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:16:44.910 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:16:44.911 | <role>
2014-12-10 11:16:44.911 | openstack role add: error: argument --user: expected one argument
2014-12-10 11:16:45.717 | + user_role_id=
2014-12-10 11:16:45.724 | + echo
2014-12-10 11:16:45.746 |
2014-12-10 11:16:45.749 | + get_or_create_project service
2014-12-10 11:16:45.764 | + local os_cmd=openstack
2014-12-10 11:16:45.773 | + local domain=
2014-12-10 11:16:45.773 | + [[ ! -z '' ]]
2014-12-10 11:16:45.852 | ++ openstack project create service --or-show -f value -c id
2014-12-10 11:16:59.164 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:16:59.700 | + local project_id=
2014-12-10 11:16:59.703 | + echo
2014-12-10 11:16:59.708 |
2014-12-10 11:16:59.715 | + get_or_create_role service
2014-12-10 11:16:59.773 | ++ openstack role create service --or-show -f value -c id
2014-12-10 11:17:06.866 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:17:07.056 | + local role_id=
2014-12-10 11:17:07.059 | + echo
2014-12-10 11:17:07.059 |
2014-12-10 11:17:07.060 | + get_or_create_role ResellerAdmin
2014-12-10 11:17:07.070 | ++ openstack role create ResellerAdmin --or-show -f value -c id
2014-12-10 11:17:10.225 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:17:10.413 | + local role_id=
2014-12-10 11:17:10.413 | + echo
2014-12-10 11:17:10.413 |
2014-12-10 11:17:10.469 | ++ get_or_create_role Member
2014-12-10 11:17:10.537 | +++ openstack role create Member --or-show -f value -c id
2014-12-10 11:17:12.326 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:17:12.503 | ++ local role_id=
2014-12-10 11:17:12.504 | ++ echo
2014-12-10 11:17:12.511 | + local member_role=
2014-12-10 11:17:12.589 | ++ get_or_create_role anotherrole
2014-12-10 11:17:12.639 | +++ openstack role create anotherrole --or-show -f value -c id
2014-12-10 11:17:14.432 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:17:14.632 | ++ local role_id=
2014-12-10 11:17:14.635 | ++ echo
2014-12-10 11:17:14.641 | + local another_role=
2014-12-10 11:17:14.663 | ++ get_or_create_project invisible_to_admin
2014-12-10 11:17:14.672 | ++ local os_cmd=openstack
2014-12-10 11:17:14.678 | ++ local domain=
2014-12-10 11:17:14.679 | ++ [[ ! -z '' ]]
2014-12-10 11:17:14.693 | +++ openstack project create invisible_to_admin --or-show -f value -c id
2014-12-10 11:17:16.356 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:17:16.567 | ++ local project_id=
2014-12-10 11:17:16.569 | ++ echo
2014-12-10 11:17:16.574 | + local invis_tenant=
2014-12-10 11:17:16.635 | ++ get_or_create_project demo
2014-12-10 11:17:16.645 | ++ local os_cmd=openstack
2014-12-10 11:17:16.651 | ++ local domain=
2014-12-10 11:17:16.652 | ++ [[ ! -z '' ]]
2014-12-10 11:17:16.687 | +++ openstack project create demo --or-show -f value -c id
2014-12-10 11:17:18.572 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:17:18.744 | ++ local project_id=
2014-12-10 11:17:18.745 | ++ echo
2014-12-10 11:17:18.753 | + local demo_tenant=
2014-12-10 11:17:18.798 | ++ get_or_create_user demo icehouse '' <email address hidden>
2014-12-10 11:17:18.804 | ++ [[ ! -z <email address hidden> ]]
2014-12-10 11:17:18.811 | ++ local <email address hidden>
2014-12-10 11:17:18.812 | ++ local os_cmd=openstack
2014-12-10 11:17:18.812 | ++ local domain=
2014-12-10 11:17:18.812 | ++ [[ ! -z '' ]]
2014-12-10 11:17:18.852 | +++ openstack user create demo --password icehouse --project --<email address hidden> --or-show -f value -c id
2014-12-10 11:17:20.526 | usage: openstack user create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:17:20.527 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:17:20.528 | [--prefix PREFIX] [--project <project>]
2014-12-10 11:17:20.528 | [--password <password>] [--password-prompt]
2014-12-10 11:17:20.528 | [--email <email-address>] [--enable | --disable]
2014-12-10 11:17:20.528 | [--or-show]
2014-12-10 11:17:20.528 | <name>
2014-12-10 11:17:20.528 | openstack user create: error: argument --project: expected one argument
2014-12-10 11:17:20.720 | ++ local user_id=
2014-12-10 11:17:20.721 | ++ echo
2014-12-10 11:17:20.726 | + local demo_user=
2014-12-10 11:17:20.727 | + get_or_add_user_role
2014-12-10 11:17:20.765 | ++ grep ' '
2014-12-10 11:17:20.769 | ++ openstack user role list --project --column ID --column Name
2014-12-10 11:17:20.790 | ++ get_field 1
2014-12-10 11:17:20.815 | ++ local data field
2014-12-10 11:17:20.831 | ++ read data
2014-12-10 11:17:22.381 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:17:22.383 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:17:22.383 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:17:22.383 | [--project <project>]
2014-12-10 11:17:22.383 | [<user>]
2014-12-10 11:17:22.383 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:17:22.571 | + local user_role_id=
2014-12-10 11:17:22.572 | + [[ -z '' ]]
2014-12-10 11:17:22.620 | ++ get_field 2
2014-12-10 11:17:22.626 | ++ openstack role add --user --project
2014-12-10 11:17:22.639 | ++ grep ' id '
2014-12-10 11:17:22.668 | ++ local data field
2014-12-10 11:17:22.670 | ++ read data
2014-12-10 11:17:24.193 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:17:24.195 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:17:24.196 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:17:24.196 | <role>
2014-12-10 11:17:24.196 | openstack role add: error: argument --user: expected one argument
2014-12-10 11:17:24.361 | + user_role_id=
2014-12-10 11:17:24.362 | + echo
2014-12-10 11:17:24.362 |
2014-12-10 11:17:24.363 | + get_or_add_user_role
2014-12-10 11:17:24.388 | ++ openstack user role list --project --column ID --column Name
2014-12-10 11:17:24.415 | ++ grep ' '
2014-12-10 11:17:24.426 | ++ get_field 1
2014-12-10 11:17:24.454 | ++ local data field
2014-12-10 11:17:24.465 | ++ read data
2014-12-10 11:17:25.973 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:17:25.976 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:17:25.976 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:17:25.978 | [--project <project>]
2014-12-10 11:17:25.978 | [<user>]
2014-12-10 11:17:25.978 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:17:26.161 | + local user_role_id=
2014-12-10 11:17:26.161 | + [[ -z '' ]]
2014-12-10 11:17:26.192 | ++ grep ' id '
2014-12-10 11:17:26.199 | ++ openstack role add --user --project
2014-12-10 11:17:26.219 | ++ get_field 2
2014-12-10 11:17:26.272 | ++ local data field
2014-12-10 11:17:26.281 | ++ read data
2014-12-10 11:17:32.799 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:17:32.811 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:17:32.812 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:17:32.812 | <role>
2014-12-10 11:17:32.813 | openstack role add: error: argument --user: expected one argument
2014-12-10 11:17:33.467 | + user_role_id=
2014-12-10 11:17:33.469 | + echo
2014-12-10 11:17:33.469 |
2014-12-10 11:17:33.472 | + get_or_add_user_role
2014-12-10 11:17:33.632 | ++ grep ' '
2014-12-10 11:17:33.689 | ++ get_field 1
2014-12-10 11:17:33.706 | ++ openstack user role list --project --column ID --column Name
2014-12-10 11:17:33.778 | ++ local data field
2014-12-10 11:17:33.805 | ++ read data
2014-12-10 11:17:40.406 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:17:40.420 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:17:40.424 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:17:40.424 | [--project <project>]
2014-12-10 11:17:40.424 | [<user>]
2014-12-10 11:17:40.424 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:17:40.982 | + local user_role_id=
2014-12-10 11:17:40.991 | + [[ -z '' ]]
2014-12-10 11:17:41.134 | ++ grep ' id '
2014-12-10 11:17:41.169 | ++ openstack role add --user --project
2014-12-10 11:17:41.184 | ++ get_field 2
2014-12-10 11:17:41.354 | ++ local data field
2014-12-10 11:17:41.362 | ++ read data
2014-12-10 11:17:47.588 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:17:47.597 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:17:47.598 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:17:47.599 | <role>
2014-12-10 11:17:47.599 | openstack role add: error: argument --user: expected one argument
2014-12-10 11:17:48.232 | + user_role_id=
2014-12-10 11:17:48.234 | + echo
2014-12-10 11:17:48.235 |
2014-12-10 11:17:48.237 | + get_or_add_user_role
2014-12-10 11:17:48.408 | ++ openstack user role list --project --column ID --column Name
2014-12-10 11:17:48.448 | ++ grep ' '
2014-12-10 11:17:48.465 | ++ get_field 1
2014-12-10 11:17:48.620 | ++ local data field
2014-12-10 11:17:48.688 | ++ read data
2014-12-10 11:17:54.408 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:17:54.412 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:17:54.415 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:17:54.416 | [--project <project>]
2014-12-10 11:17:54.416 | [<user>]
2014-12-10 11:17:54.428 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:17:55.045 | + local user_role_id=
2014-12-10 11:17:55.049 | + [[ -z '' ]]
2014-12-10 11:17:55.216 | ++ openstack role add --user --project
2014-12-10 11:17:55.257 | ++ grep ' id '
2014-12-10 11:17:55.270 | ++ get_field 2
2014-12-10 11:17:55.459 | ++ local data field
2014-12-10 11:17:55.467 | ++ read data
2014-12-10 11:18:01.898 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:18:01.909 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:18:01.910 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:18:01.910 | <role>
2014-12-10 11:18:01.910 | openstack role add: error: argument --user: expected one argument
2014-12-10 11:18:02.553 | + user_role_id=
2014-12-10 11:18:02.566 | + echo
2014-12-10 11:18:02.581 |
2014-12-10 11:18:02.583 | + [[ sql = \s\q\l ]]
2014-12-10 11:18:02.660 | ++ get_or_create_service keystone identity 'Keystone Identity Service'
2014-12-10 11:18:02.755 | +++ openstack service show keystone -f value -c id
2014-12-10 11:18:08.900 | +++ openstack service create keystone --type=identity '--description=Keystone Identity Service' -f value -c id
2014-12-10 11:18:14.735 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:18:15.314 | ++ local service_id=
2014-12-10 11:18:15.316 | ++ echo
2014-12-10 11:18:15.338 | + KEYSTONE_SERVICE=
2014-12-10 11:18:15.343 | + get_or_create_endpoint RegionOne http://10.0.2.15:5000/v2.0 http://10.0.2.15:35357/v2.0 http://10.0.2.15:5000/v2.0
2014-12-10 11:18:15.586 | ++ grep ' http://10.0.2.15:5000/v2.0 '
2014-12-10 11:18:15.613 | ++ openstack endpoint list --column ID --column Region --column 'Service Name'
2014-12-10 11:18:15.766 | ++ grep ' RegionOne '
2014-12-10 11:18:15.795 | ++ get_field 1
2014-12-10 11:18:15.914 | ++ local data field
2014-12-10 11:18:15.921 | ++ read data
2014-12-10 11:18:22.080 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:18:22.567 | + local endpoint_id=
2014-12-10 11:18:22.571 | + [[ -z '' ]]
2014-12-10 11:18:22.706 | ++ openstack endpoint create RegionOne --region http://10.0.2.15:5000/v2.0 --publicurl http://10.0.2.15:35357/v2.0 --adminurl http://10.0.2.15:5000/v2.0 --internalurl
2014-12-10 11:18:22.749 | ++ grep ' id '
2014-12-10 11:18:22.773 | ++ get_field 2
2014-12-10 11:18:22.865 | ++ local data field
2014-12-10 11:18:22.900 | ++ read data
2014-12-10 11:18:28.557 | usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:18:28.626 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:18:28.640 | [--prefix PREFIX] [--region <region>]
2014-12-10 11:18:28.640 | --publicurl <public-url>
2014-12-10 11:18:28.640 | [--adminurl <admin-url>]
2014-12-10 11:18:28.646 | [--internalurl <internal-url>]
2014-12-10 11:18:28.646 | <endpoint-service>
2014-12-10 11:18:28.646 | openstack endpoint create: error: argument --internalurl: expected one argument
2014-12-10 11:18:29.456 | + endpoint_id=
2014-12-10 11:18:29.465 | + echo
2014-12-10 11:18:29.504 |
2014-12-10 11:18:29.538 | + create_nova_accounts
2014-12-10 11:18:29.846 | ++ openstack project list
2014-12-10 11:18:29.930 | ++ awk '/ service / { print $2 }'
2014-12-10 11:18:36.233 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:18:36.772 | + local service_tenant=
2014-12-10 11:18:36.925 | ++ openstack role list
2014-12-10 11:18:36.946 | ++ awk '/ admin / { print $2 }'
2014-12-10 11:18:43.586 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:18:44.178 | + local admin_role=
2014-12-10 11:18:44.188 | + [[ rabbit,mysql,key,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth,s-proxy,s-object,s-container,s-account,g-api,g-reg,cinder,c-api,c-vol,c-sch,c-bak,trove,tr-api,tr-tmgr,tr-cond,horizon,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api,ceilometer-alarm-notify,ceilometer-alarm-eval,heat,h-api,h-api-cfn,h-api-cw,h-eng,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-lbaas,q-vpn,q-fwaas =~ n-api ]]
2014-12-10 11:18:44.312 | ++ get_or_create_user nova icehouse
2014-12-10 11:18:44.361 | ++ [[ ! -z '' ]]
2014-12-10 11:18:44.367 | ++ local email=
2014-12-10 11:18:44.370 | ++ local os_cmd=openstack
2014-12-10 11:18:44.372 | ++ local domain=
2014-12-10 11:18:44.374 | ++ [[ ! -z '' ]]
2014-12-10 11:18:44.467 | +++ openstack user create nova --password icehouse --project --or-show -f value -c id
2014-12-10 11:18:51.221 | usage: openstack user create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:18:51.224 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:18:51.229 | [--prefix PREFIX] [--project <project>]
2014-12-10 11:18:51.243 | [--password <password>] [--password-prompt]
2014-12-10 11:18:51.246 | [--email <email-address>] [--enable | --disable]
2014-12-10 11:18:51.246 | [--or-show]
2014-12-10 11:18:51.247 | <name>
2014-12-10 11:18:51.247 | openstack user create: error: argument --project: expected one argument
2014-12-10 11:18:52.004 | ++ local user_id=
2014-12-10 11:18:52.006 | ++ echo
2014-12-10 11:18:52.024 | + local nova_user=
2014-12-10 11:18:52.026 | + get_or_add_user_role
2014-12-10 11:18:52.409 | ++ grep ' '
2014-12-10 11:18:52.462 | ++ get_field 1
2014-12-10 11:18:52.476 | ++ openstack user role list --project --column ID --column Name
2014-12-10 11:18:52.706 | ++ local data field
2014-12-10 11:18:52.708 | ++ read data
2014-12-10 11:19:01.789 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:19:01.795 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:19:01.795 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:19:01.798 | [--project <project>]
2014-12-10 11:19:01.800 | [<user>]
2014-12-10 11:19:01.801 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:19:02.315 | + local user_role_id=
2014-12-10 11:19:02.324 | + [[ -z '' ]]
2014-12-10 11:19:02.460 | ++ grep ' id '
2014-12-10 11:19:02.530 | ++ openstack role add --user --project
2014-12-10 11:19:02.540 | ++ get_field 2
2014-12-10 11:19:02.621 | ++ local data field
2014-12-10 11:19:02.644 | ++ read data
2014-12-10 11:19:10.243 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:19:10.245 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:19:10.247 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:19:10.248 | <role>
2014-12-10 11:19:10.254 | openstack role add: error: argument --user: expected one argument
2014-12-10 11:19:11.381 | + user_role_id=
2014-12-10 11:19:11.383 | + echo
2014-12-10 11:19:11.383 |
2014-12-10 11:19:11.384 | + [[ sql = \s\q\l ]]
2014-12-10 11:19:11.527 | ++ get_or_create_service nova compute 'Nova Compute Service'
2014-12-10 11:19:11.663 | +++ openstack service show nova -f value -c id
2014-12-10 11:19:19.452 | +++ openstack service create nova --type=compute '--description=Nova Compute Service' -f value -c id
2014-12-10 11:19:29.643 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:19:30.373 | ++ local service_id=
2014-12-10 11:19:30.383 | ++ echo
2014-12-10 11:19:30.464 | + local nova_service=
2014-12-10 11:19:30.478 | + get_or_create_endpoint RegionOne 'http://10.0.2.15:8774/v2/$(tenant_id)s' 'http://10.0.2.15:8774/v2/$(tenant_id)s' 'http://10.0.2.15:8774/v2/$(tenant_id)s'
2014-12-10 11:19:30.688 | ++ openstack endpoint list --column ID --column Region --column 'Service Name'
2014-12-10 11:19:30.698 | ++ grep ' http://10.0.2.15:8774/v2/$(tenant_id)s '
2014-12-10 11:19:30.765 | ++ grep ' RegionOne '
2014-12-10 11:19:30.907 | ++ get_field 1
2014-12-10 11:19:31.064 | ++ local data field
2014-12-10 11:19:31.092 | ++ read data
2014-12-10 11:19:39.684 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:19:40.422 | + local endpoint_id=
2014-12-10 11:19:40.454 | + [[ -z '' ]]
2014-12-10 11:19:40.755 | ++ openstack endpoint create RegionOne --region 'http://10.0.2.15:8774/v2/$(tenant_id)s' --publicurl 'http://10.0.2.15:8774/v2/$(tenant_id)s' --adminurl 'http://10.0.2.15:8774/v2/$(tenant_id)s' --internalurl
2014-12-10 11:19:40.766 | ++ get_field 2
2014-12-10 11:19:40.796 | ++ grep ' id '
2014-12-10 11:19:41.034 | ++ local data field
2014-12-10 11:19:41.079 | ++ read data
2014-12-10 11:19:50.573 | usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:19:50.577 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:19:50.577 | [--prefix PREFIX] [--region <region>]
2014-12-10 11:19:50.578 | --publicurl <public-url>
2014-12-10 11:19:50.578 | [--adminurl <admin-url>]
2014-12-10 11:19:50.579 | [--internalurl <internal-url>]
2014-12-10 11:19:50.579 | <endpoint-service>
2014-12-10 11:19:50.585 | openstack endpoint create: error: argument --internalurl: expected one argument
2014-12-10 11:19:51.560 | + endpoint_id=
2014-12-10 11:19:51.602 | + echo
2014-12-10 11:19:51.614 |
2014-12-10 11:19:51.749 | ++ get_or_create_service novav21 computev21 'Nova Compute Service V2.1'
2014-12-10 11:19:52.136 | +++ openstack service show novav21 -f value -c id
2014-12-10 11:20:04.333 | +++ openstack service create novav21 --type=computev21 '--description=Nova Compute Service V2.1' -f value -c id
2014-12-10 11:20:14.328 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:20:15.069 | ++ local service_id=
2014-12-10 11:20:15.080 | ++ echo
2014-12-10 11:20:15.123 | + local nova_v21_service=
2014-12-10 11:20:15.127 | + get_or_create_endpoint RegionOne 'http://10.0.2.15:8774/v2.1/$(tenant_id)s' 'http://10.0.2.15:8774/v2.1/$(tenant_id)s' 'http://10.0.2.15:8774/v2.1/$(tenant_id)s'
2014-12-10 11:20:15.366 | ++ openstack endpoint list --column ID --column Region --column 'Service Name'
2014-12-10 11:20:15.467 | ++ grep ' RegionOne '
2014-12-10 11:20:15.588 | ++ get_field 1
2014-12-10 11:20:15.642 | ++ grep ' http://10.0.2.15:8774/v2.1/$(tenant_id)s '
2014-12-10 11:20:15.721 | ++ local data field
2014-12-10 11:20:15.730 | ++ read data
2014-12-10 11:20:24.757 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:20:26.140 | + local endpoint_id=
2014-12-10 11:20:26.158 | + [[ -z '' ]]
2014-12-10 11:20:26.503 | ++ get_field 2
2014-12-10 11:20:26.567 | ++ openstack endpoint create RegionOne --region 'http://10.0.2.15:8774/v2.1/$(tenant_id)s' --publicurl 'http://10.0.2.15:8774/v2.1/$(tenant_id)s' --adminurl 'http://10.0.2.15:8774/v2.1/$(tenant_id)s' --internalurl
2014-12-10 11:20:26.703 | ++ local data field
2014-12-10 11:20:26.710 | ++ grep ' id '
2014-12-10 11:20:26.788 | ++ read data
2014-12-10 11:20:39.775 | usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:20:39.780 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:20:39.795 | [--prefix PREFIX] [--region <region>]
2014-12-10 11:20:39.795 | --publicurl <public-url>
2014-12-10 11:20:39.795 | [--adminurl <admin-url>]
2014-12-10 11:20:39.795 | [--internalurl <internal-url>]
2014-12-10 11:20:39.795 | <endpoint-service>
2014-12-10 11:20:39.795 | openstack endpoint create: error: argument --internalurl: expected one argument
2014-12-10 11:20:40.781 | + endpoint_id=
2014-12-10 11:20:40.794 | + echo
2014-12-10 11:20:40.799 |
2014-12-10 11:20:40.825 | + is_service_enabled n-api
2014-12-10 11:20:41.372 | + return 0
2014-12-10 11:20:41.378 | + is_service_enabled swift
2014-12-10 11:20:41.757 | + return 0
2014-12-10 11:20:41.795 | + get_or_add_user_role ResellerAdmin nova service
2014-12-10 11:20:42.014 | ++ openstack user role list nova --project service --column ID --column Name
2014-12-10 11:20:42.042 | ++ grep ' ResellerAdmin '
2014-12-10 11:20:42.072 | ++ get_field 1
2014-12-10 11:20:42.181 | ++ local data field
2014-12-10 11:20:42.183 | ++ read data
2014-12-10 11:20:51.846 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:20:52.677 | + local user_role_id=
2014-12-10 11:20:52.681 | + [[ -z '' ]]
2014-12-10 11:20:52.932 | ++ grep ' id '
2014-12-10 11:20:52.976 | ++ openstack role add ResellerAdmin --user nova --project service
2014-12-10 11:20:53.269 | ++ get_field 2
2014-12-10 11:20:53.409 | ++ local data field
2014-12-10 11:20:53.446 | ++ read data
2014-12-10 11:21:04.397 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:21:05.496 | + user_role_id=
2014-12-10 11:21:05.525 | + echo
2014-12-10 11:21:05.525 |
2014-12-10 11:21:05.525 | + [[ sql = \s\q\l ]]
2014-12-10 11:21:05.642 | ++ get_or_create_service ec2 ec2 'EC2 Compatibility Layer'
2014-12-10 11:21:05.928 | +++ openstack service show ec2 -f value -c id
2014-12-10 11:21:14.963 | +++ openstack service create ec2 --type=ec2 '--description=EC2 Compatibility Layer' -f value -c id
2014-12-10 11:21:23.315 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:21:23.842 | ++ local service_id=
2014-12-10 11:21:23.845 | ++ echo
2014-12-10 11:21:23.879 | + local ec2_service=
2014-12-10 11:21:23.897 | + get_or_create_endpoint RegionOne http://10.0.2.15:8773/services/Cloud http://10.0.2.15:8773/services/Admin http://10.0.2.15:8773/services/Cloud
2014-12-10 11:21:24.068 | ++ openstack endpoint list --column ID --column Region --column 'Service Name'
2014-12-10 11:21:24.170 | ++ grep ' http://10.0.2.15:8773/services/Cloud '
2014-12-10 11:21:24.213 | ++ grep ' RegionOne '
2014-12-10 11:21:24.319 | ++ get_field 1
2014-12-10 11:21:24.463 | ++ local data field
2014-12-10 11:21:24.469 | ++ read data
2014-12-10 11:21:30.722 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:21:31.377 | + local endpoint_id=
2014-12-10 11:21:31.404 | + [[ -z '' ]]
2014-12-10 11:21:31.595 | ++ openstack endpoint create RegionOne --region http://10.0.2.15:8773/services/Cloud --publicurl http://10.0.2.15:8773/services/Admin --adminurl http://10.0.2.15:8773/services/Cloud --internalurl
2014-12-10 11:21:31.649 | ++ grep ' id '
2014-12-10 11:21:31.737 | ++ get_field 2
2014-12-10 11:21:31.870 | ++ local data field
2014-12-10 11:21:31.879 | ++ read data
2014-12-10 11:21:38.599 | usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:21:38.606 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:21:38.611 | [--prefix PREFIX] [--region <region>]
2014-12-10 11:21:38.616 | --publicurl <public-url>
2014-12-10 11:21:38.616 | [--adminurl <admin-url>]
2014-12-10 11:21:38.619 | [--internalurl <internal-url>]
2014-12-10 11:21:38.619 | <endpoint-service>
2014-12-10 11:21:38.619 | openstack endpoint create: error: argument --internalurl: expected one argument
2014-12-10 11:21:39.344 | + endpoint_id=
2014-12-10 11:21:39.349 | + echo
2014-12-10 11:21:39.351 |
2014-12-10 11:21:39.355 | + is_service_enabled n-obj swift3
2014-12-10 11:21:39.717 | + return 0
2014-12-10 11:21:39.721 | + [[ sql = \s\q\l ]]
2014-12-10 11:21:39.803 | ++ get_or_create_service s3 s3 S3
2014-12-10 11:21:39.985 | +++ openstack service show s3 -f value -c id
2014-12-10 11:21:46.821 | +++ openstack service create s3 --type=s3 --description=S3 -f value -c id
2014-12-10 11:21:53.692 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:21:54.210 | ++ local service_id=
2014-12-10 11:21:54.214 | ++ echo
2014-12-10 11:21:54.252 | + local s3_service=
2014-12-10 11:21:54.268 | + get_or_create_endpoint RegionOne http://10.0.2.15:3333 http://10.0.2.15:3333 http://10.0.2.15:3333
2014-12-10 11:21:54.646 | ++ openstack endpoint list --column ID --column Region --column 'Service Name'
2014-12-10 11:21:54.666 | ++ grep ' http://10.0.2.15:3333 '
2014-12-10 11:21:54.715 | ++ grep ' RegionOne '
2014-12-10 11:21:54.793 | ++ get_field 1
2014-12-10 11:21:54.918 | ++ local data field
2014-12-10 11:21:54.962 | ++ read data
2014-12-10 11:22:02.334 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:22:03.026 | + local endpoint_id=
2014-12-10 11:22:03.032 | + [[ -z '' ]]
2014-12-10 11:22:03.238 | ++ grep ' id '
2014-12-10 11:22:03.281 | ++ openstack endpoint create RegionOne --region http://10.0.2.15:3333 --publicurl http://10.0.2.15:3333 --adminurl http://10.0.2.15:3333 --internalurl
2014-12-10 11:22:03.348 | ++ get_field 2
2014-12-10 11:22:03.472 | ++ local data field
2014-12-10 11:22:03.474 | ++ read data
2014-12-10 11:22:10.077 | usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:22:10.081 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:22:10.081 | [--prefix PREFIX] [--region <region>]
2014-12-10 11:22:10.085 | --publicurl <public-url>
2014-12-10 11:22:10.086 | [--adminurl <admin-url>]
2014-12-10 11:22:10.086 | [--internalurl <internal-url>]
2014-12-10 11:22:10.087 | <endpoint-service>
2014-12-10 11:22:10.087 | openstack endpoint create: error: argument --internalurl: expected one argument
2014-12-10 11:22:10.769 | + endpoint_id=
2014-12-10 11:22:10.776 | + echo
2014-12-10 11:22:10.776 |
2014-12-10 11:22:10.781 | + create_glance_accounts
2014-12-10 11:22:10.785 | + is_service_enabled g-api
2014-12-10 11:22:11.200 | + return 0
2014-12-10 11:22:11.356 | ++ get_or_create_user glance icehouse service
2014-12-10 11:22:11.415 | ++ [[ ! -z '' ]]
2014-12-10 11:22:11.423 | ++ local email=
2014-12-10 11:22:11.431 | ++ local os_cmd=openstack
2014-12-10 11:22:11.435 | ++ local domain=
2014-12-10 11:22:11.436 | ++ [[ ! -z '' ]]
2014-12-10 11:22:11.592 | +++ openstack user create glance --password icehouse --project service --or-show -f value -c id
2014-12-10 11:22:18.178 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:22:18.837 | ++ local user_id=
2014-12-10 11:22:18.843 | ++ echo
2014-12-10 11:22:18.863 | + local glance_user=
2014-12-10 11:22:18.868 | + get_or_add_user_role service service
2014-12-10 11:22:19.065 | ++ openstack user role list service --project --column ID --column Name
2014-12-10 11:22:19.081 | ++ get_field 1
2014-12-10 11:22:19.089 | ++ grep ' service '
2014-12-10 11:22:19.260 | ++ local data field
2014-12-10 11:22:19.284 | ++ read data
2014-12-10 11:22:25.933 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:22:25.937 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:22:25.943 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:22:25.944 | [--project <project>]
2014-12-10 11:22:25.949 | [<user>]
2014-12-10 11:22:25.949 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:22:26.825 | + local user_role_id=
2014-12-10 11:22:26.831 | + [[ -z '' ]]
2014-12-10 11:22:26.978 | ++ openstack role add service --user service --project
2014-12-10 11:22:27.022 | ++ grep ' id '
2014-12-10 11:22:27.136 | ++ get_field 2
2014-12-10 11:22:27.290 | ++ local data field
2014-12-10 11:22:27.316 | ++ read data
2014-12-10 11:22:33.715 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:22:33.721 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:22:33.722 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:22:33.722 | <role>
2014-12-10 11:22:33.723 | openstack role add: error: argument --project: expected one argument
2014-12-10 11:22:34.278 | + user_role_id=
2014-12-10 11:22:34.281 | + echo
2014-12-10 11:22:34.282 |
2014-12-10 11:22:34.286 | + is_service_enabled s-proxy
2014-12-10 11:22:34.623 | + return 0
2014-12-10 11:22:34.718 | ++ get_or_create_user glance-swift icehouse service <email address hidden>
2014-12-10 11:22:34.756 | ++ [[ ! -z <email address hidden> ]]
2014-12-10 11:22:34.766 | ++ local <email address hidden>
2014-12-10 11:22:34.776 | ++ local os_cmd=openstack
2014-12-10 11:22:34.776 | ++ local domain=
2014-12-10 11:22:34.777 | ++ [[ ! -z '' ]]
2014-12-10 11:22:34.900 | +++ openstack user create glance-swift --password icehouse --project service --<email address hidden> --or-show -f value -c id
2014-12-10 11:22:41.271 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:22:41.837 | ++ local user_id=
2014-12-10 11:22:41.847 | ++ echo
2014-12-10 11:22:41.873 | + local glance_swift_user=
2014-12-10 11:22:41.877 | + get_or_add_user_role ResellerAdmin service
2014-12-10 11:22:42.042 | ++ openstack user role list service --project --column ID --column Name
2014-12-10 11:22:42.200 | ++ grep ' ResellerAdmin '
2014-12-10 11:22:42.273 | ++ get_field 1
2014-12-10 11:22:42.415 | ++ local data field
2014-12-10 11:22:42.450 | ++ read data
2014-12-10 11:22:49.082 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:22:49.089 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:22:49.093 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:22:49.094 | [--project <project>]
2014-12-10 11:22:49.100 | [<user>]
2014-12-10 11:22:49.101 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:22:49.646 | + local user_role_id=
2014-12-10 11:22:49.649 | + [[ -z '' ]]
2014-12-10 11:22:49.820 | ++ openstack role add ResellerAdmin --user service --project
2014-12-10 11:22:49.828 | ++ grep ' id '
2014-12-10 11:22:49.870 | ++ get_field 2
2014-12-10 11:22:49.961 | ++ local data field
2014-12-10 11:22:49.972 | ++ read data
2014-12-10 11:22:56.050 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:22:56.056 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:22:56.060 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:22:56.061 | <role>
2014-12-10 11:22:56.061 | openstack role add: error: argument --project: expected one argument
2014-12-10 11:22:56.621 | + user_role_id=
2014-12-10 11:22:56.623 | + echo
2014-12-10 11:22:56.624 |
2014-12-10 11:22:56.627 | + [[ sql = \s\q\l ]]
2014-12-10 11:22:56.710 | ++ get_or_create_service glance image 'Glance Image Service'
2014-12-10 11:22:56.846 | +++ openstack service show glance -f value -c id
2014-12-10 11:23:04.489 | +++ openstack service create glance --type=image '--description=Glance Image Service' -f value -c id
2014-12-10 11:23:11.365 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:23:11.955 | ++ local service_id=
2014-12-10 11:23:11.958 | ++ echo
2014-12-10 11:23:12.027 | + local glance_service=
2014-12-10 11:23:12.033 | + get_or_create_endpoint RegionOne http://10.0.2.15:9292 http://10.0.2.15:9292 http://10.0.2.15:9292
2014-12-10 11:23:12.301 | ++ openstack endpoint list --column ID --column Region --column 'Service Name'
2014-12-10 11:23:12.355 | ++ grep ' http://10.0.2.15:9292 '
2014-12-10 11:23:12.402 | ++ grep ' RegionOne '
2014-12-10 11:23:12.445 | ++ get_field 1
2014-12-10 11:23:12.665 | ++ local data field
2014-12-10 11:23:12.685 | ++ read data
2014-12-10 11:23:20.942 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:23:21.706 | + local endpoint_id=
2014-12-10 11:23:21.719 | + [[ -z '' ]]
2014-12-10 11:23:22.027 | ++ grep ' id '
2014-12-10 11:23:22.043 | ++ openstack endpoint create RegionOne --region http://10.0.2.15:9292 --publicurl http://10.0.2.15:9292 --adminurl http://10.0.2.15:9292 --internalurl
2014-12-10 11:23:22.090 | ++ get_field 2
2014-12-10 11:23:22.199 | ++ local data field
2014-12-10 11:23:22.201 | ++ read data
2014-12-10 11:23:37.283 | usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:23:37.296 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:23:37.296 | [--prefix PREFIX] [--region <region>]
2014-12-10 11:23:37.297 | --publicurl <public-url>
2014-12-10 11:23:37.297 | [--adminurl <admin-url>]
2014-12-10 11:23:37.298 | [--internalurl <internal-url>]
2014-12-10 11:23:37.298 | <endpoint-service>
2014-12-10 11:23:37.301 | openstack endpoint create: error: argument --internalurl: expected one argument
2014-12-10 11:23:37.953 | + endpoint_id=
2014-12-10 11:23:37.957 | + echo
2014-12-10 11:23:37.960 |
2014-12-10 11:23:37.965 | + create_cinder_accounts
2014-12-10 11:23:38.084 | ++ openstack project list
2014-12-10 11:23:38.166 | ++ awk '/ service / { print $2 }'
2014-12-10 11:23:50.355 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:23:51.244 | + local service_tenant=
2014-12-10 11:23:51.648 | ++ openstack role list
2014-12-10 11:23:51.682 | ++ awk '/ admin / { print $2 }'
2014-12-10 11:24:05.678 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:24:06.155 | + local admin_role=
2014-12-10 11:24:06.158 | + [[ rabbit,mysql,key,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth,s-proxy,s-object,s-container,s-account,g-api,g-reg,cinder,c-api,c-vol,c-sch,c-bak,trove,tr-api,tr-tmgr,tr-cond,horizon,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api,ceilometer-alarm-notify,ceilometer-alarm-eval,heat,h-api,h-api-cfn,h-api-cw,h-eng,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-lbaas,q-vpn,q-fwaas =~ c-api ]]
2014-12-10 11:24:06.201 | ++ get_or_create_user cinder icehouse
2014-12-10 11:24:06.207 | ++ [[ ! -z '' ]]
2014-12-10 11:24:06.207 | ++ local email=
2014-12-10 11:24:06.208 | ++ local os_cmd=openstack
2014-12-10 11:24:06.209 | ++ local domain=
2014-12-10 11:24:06.209 | ++ [[ ! -z '' ]]
2014-12-10 11:24:06.244 | +++ openstack user create cinder --password icehouse --project --or-show -f value -c id
2014-12-10 11:24:16.823 | usage: openstack user create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:24:16.831 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:24:16.832 | [--prefix PREFIX] [--project <project>]
2014-12-10 11:24:16.832 | [--password <password>] [--password-prompt]
2014-12-10 11:24:16.833 | [--email <email-address>] [--enable | --disable]
2014-12-10 11:24:16.835 | [--or-show]
2014-12-10 11:24:16.836 | <name>
2014-12-10 11:24:16.843 | openstack user create: error: argument --project: expected one argument
2014-12-10 11:24:17.603 | ++ local user_id=
2014-12-10 11:24:17.615 | ++ echo
2014-12-10 11:24:17.662 | + local cinder_user=
2014-12-10 11:24:17.664 | + get_or_add_user_role
2014-12-10 11:24:17.813 | ++ openstack user role list --project --column ID --column Name
2014-12-10 11:24:17.847 | ++ grep ' '
2014-12-10 11:24:17.870 | ++ get_field 1
2014-12-10 11:24:18.001 | ++ local data field
2014-12-10 11:24:18.014 | ++ read data
2014-12-10 11:24:25.415 | usage: openstack user role list [-h] [-f {csv,html,json,table,yaml}]
2014-12-10 11:24:25.422 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:24:25.423 | [--quote {all,minimal,none,nonnumeric}]
2014-12-10 11:24:25.424 | [--project <project>]
2014-12-10 11:24:25.424 | [<user>]
2014-12-10 11:24:25.425 | openstack user role list: error: argument --project: expected one argument
2014-12-10 11:24:26.458 | + local user_role_id=
2014-12-10 11:24:26.479 | + [[ -z '' ]]
2014-12-10 11:24:26.705 | ++ openstack role add --user --project
2014-12-10 11:24:26.714 | ++ grep ' id '
2014-12-10 11:24:26.722 | ++ get_field 2
2014-12-10 11:24:26.846 | ++ local data field
2014-12-10 11:24:26.894 | ++ read data
2014-12-10 11:24:34.398 | usage: openstack role add [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:24:34.405 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:24:34.406 | [--prefix PREFIX] --project <project> --user <user>
2014-12-10 11:24:34.407 | <role>
2014-12-10 11:24:34.407 | openstack role add: error: argument --user: expected one argument
2014-12-10 11:24:35.050 | + user_role_id=
2014-12-10 11:24:35.059 | + echo
2014-12-10 11:24:35.060 |
2014-12-10 11:24:35.064 | + [[ sql = \s\q\l ]]
2014-12-10 11:24:35.174 | ++ get_or_create_service cinder volume 'Cinder Volume Service'
2014-12-10 11:24:35.309 | +++ openstack service show cinder -f value -c id
2014-12-10 11:24:42.772 | +++ openstack service create cinder --type=volume '--description=Cinder Volume Service' -f value -c id
2014-12-10 11:24:48.993 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:24:49.667 | ++ local service_id=
2014-12-10 11:24:49.672 | ++ echo
2014-12-10 11:24:49.699 | + local cinder_service=
2014-12-10 11:24:49.703 | + get_or_create_endpoint RegionOne 'http://10.0.2.15:8776/v1/$(tenant_id)s' 'http://10.0.2.15:8776/v1/$(tenant_id)s' 'http://10.0.2.15:8776/v1/$(tenant_id)s'
2014-12-10 11:24:49.879 | ++ openstack endpoint list --column ID --column Region --column 'Service Name'
2014-12-10 11:24:50.035 | ++ grep ' RegionOne '
2014-12-10 11:24:50.039 | ++ grep ' http://10.0.2.15:8776/v1/$(tenant_id)s '
2014-12-10 11:24:50.091 | ++ get_field 1
2014-12-10 11:24:50.166 | ++ local data field
2014-12-10 11:24:50.174 | ++ read data
2014-12-10 11:24:57.979 | ERROR: openstack Internal Server Error (HTTP 500)
2014-12-10 11:24:58.680 | + local endpoint_id=
2014-12-10 11:24:58.683 | + [[ -z '' ]]
2014-12-10 11:24:58.822 | ++ grep ' id '
2014-12-10 11:24:58.830 | ++ openstack endpoint create RegionOne --region 'http://10.0.2.15:8776/v1/$(tenant_id)s' --publicurl 'http://10.0.2.15:8776/v1/$(tenant_id)s' --adminurl 'http://10.0.2.15:8776/v1/$(tenant_id)s' --internalurl
2014-12-10 11:24:58.913 | ++ get_field 2
2014-12-10 11:24:59.108 | ++ local data field
2014-12-10 11:24:59.128 | ++ read data
2014-12-10 11:25:13.922 | usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
2014-12-10 11:25:13.934 | [-c COLUMN] [--max-width <integer>]
2014-12-10 11:25:13.936 | [--prefix PREFIX] [--region <region>]
2014-12-10 11:25:13.939 | --publicurl <public-url>
2014-12-10 11:25:13.948 | [--adminurl <admin-url>]
2014-12-10 11:25:13.948 | [--internalurl <internal-url>]
2014-12-10 11:25:13.955 | <endpoint-service>
2014-12-10 11:25:13.955 | openstack endpoint create: error: argument --internalurl: expected one argument
2014-12-10 11:25:15.275 | + endpoint_id=
2014-12-10 11:25:15.280 | + echo
2014-12-10 11:25:15.286 |
2014-12-10 11:25:15.407 | ++ get_or_create_service cinderv2 volumev2 'Cinder Volume Service V2'
2014-12-10 11:25:15.535 | +++ openstack service show cinderv2 -f value -c id
2014-12-10 11:25:39.371 | +++ openstack service create cinderv2 --type=volumev2 '--description=Cinder Volume Service V2' -f value -c id
2014-12-10 11:26:02.422 | ERROR: openstack Internal Server Error (HTTP 500)

******************************************************************************************************

My local.conf file under devstack directory looks like this:

ubuntu@ubuntuVM:~$ more devstack/local.conf
#Header
[[local|localrc]]

# Credentials
ADMIN_PASSWORD=icehouse
MYSQL_PASSWORD=$ADMIN_PASSWORD
#DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD

# Branches
NOVA_BRANCH=stable/icehouse
KEYSTONE_BRANCH=stable/icehouse
NEUTRON_BRANCH=stable/icehouse
GLANCE_BRANCH=stable/icehouse
CINDER_BRANCH=stable/icehouse
SWIFT_BRANCH=stable/icehouse
HEAT_BRANCH=stable/icehouse
TROVE_BRANCH=stable/icehouse
HORIZON_BRANCH=stable/icehouse
CEILOMETER_BRANCH=stable/icehouse

#Network Configuration:
FLOATING_RANGE=10.0.2.0/24
#FIXED_RANGE=10.11.12.0/24
HOST_IP=10.0.2.15

# Services
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth

ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,g-api,g-reg
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak

#Trove
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
ENABLED_SERVICES+=,horizon

#Ceilometer
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api
ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval

#Heat
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F19-x86_64-cfntools.qcow2"

#Neutron
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron

# Neutron - Load Balancing
ENABLED_SERVICES+=,q-lbaas

# Neutron - VPN as a Service
ENABLED_SERVICES+=,q-vpn

# Neutron - Firewall as a Service
ENABLED_SERVICES+=,q-fwaas

# VLAN configuration
Q_PLUGIN=ml2
ENABLE_TENANT_VLANS=True

# GRE tunnel configuration
Q_PLUGIN=ml2
ENABLE_TENANT_TUNNELS=True

# VXLAN tunnel configuration
Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan

# Images
# Use this image when creating test instances
IMAGE_URLS+=",http://cdn.download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img"

#Swift Requirements
SWIFT_REPLICAS=1
SWIFT_HASH=011688b44136573e209e

# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs

Can you please help me out in this? Please let me know if you need any additional info.

Thanks - Rohit Kumar

Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: New → Invalid
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.