← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1710413] [NEW] openstack role add ResellerAdmin uer nova fails unxpectedly

 

Public bug reported:

While runing Devstack with ocata/stable all except horizona/master ran
into openstack role add ResellerAdmin uer nova fails unxpectedly.

Here is the trace log for review and identify is it's nature, priority
and possible resolution or workaround.

2017-08-12 19:14:57.376 | +lib/nova:create_nova_accounts:416         get_or_create_endpoint compute RegionOne http://104.239.150.29/compute/v2.1 http://104.239.150.29/compute/v2.1 http://104.239.150.29/compute/v2.1
2017-08-12 19:14:57.382 | +functions-common:get_or_create_endpoint:1005  local public_id
2017-08-12 19:14:57.390 | ++functions-common:get_or_create_endpoint:1006  _get_or_create_endpoint_with_interface compute public http://104.239.150.29/compute/v2.1 RegionOne
2017-08-12 19:14:57.396 | ++functions-common:_get_or_create_endpoint_with_interface:979  local endpoint_id
2017-08-12 19:14:57.404 | +++functions-common:_get_or_create_endpoint_with_interface:984  openstack endpoint list --service compute --interface public --region RegionOne -c ID -f value
2017-08-12 19:14:59.852 | ++functions-common:_get_or_create_endpoint_with_interface:984  endpoint_id=
2017-08-12 19:14:59.859 | ++functions-common:_get_or_create_endpoint_with_interface:985  [[ -z '' ]]
2017-08-12 19:14:59.868 | +++functions-common:_get_or_create_endpoint_with_interface:988  openstack endpoint create compute public http://104.239.150.29/compute/v2.1 --region RegionOne -f value -c id
2017-08-12 19:15:02.292 | ++functions-common:_get_or_create_endpoint_with_interface:988  endpoint_id=05d954f1f4314ec3bed68cf0ee3321d6
2017-08-12 19:15:02.300 | ++functions-common:_get_or_create_endpoint_with_interface:991  echo 05d954f1f4314ec3bed68cf0ee3321d6
2017-08-12 19:15:02.305 | +functions-common:get_or_create_endpoint:1006  public_id=05d954f1f4314ec3bed68cf0ee3321d6
2017-08-12 19:15:02.313 | +functions-common:get_or_create_endpoint:1007  _get_or_create_endpoint_with_interface compute admin http://104.239.150.29/compute/v2.1 RegionOne
2017-08-12 19:15:02.320 | +functions-common:_get_or_create_endpoint_with_interface:979  local endpoint_id
2017-08-12 19:15:02.329 | ++functions-common:_get_or_create_endpoint_with_interface:984  openstack endpoint list --service compute --interface admin --region RegionOne -c ID -f value
2017-08-12 19:15:04.753 | +functions-common:_get_or_create_endpoint_with_interface:984  endpoint_id=
2017-08-12 19:15:04.757 | +functions-common:_get_or_create_endpoint_with_interface:985  [[ -z '' ]]
2017-08-12 19:15:04.764 | ++functions-common:_get_or_create_endpoint_with_interface:988  openstack endpoint create compute admin http://104.239.150.29/compute/v2.1 --region RegionOne -f value -c id
2017-08-12 19:15:07.179 | +functions-common:_get_or_create_endpoint_with_interface:988  endpoint_id=941fdfa063be450eb5668c28a8bb01c5
2017-08-12 19:15:07.186 | +functions-common:_get_or_create_endpoint_with_interface:991  echo 941fdfa063be450eb5668c28a8bb01c5
2017-08-12 19:15:07.186 | 941fdfa063be450eb5668c28a8bb01c5
2017-08-12 19:15:07.192 | +functions-common:get_or_create_endpoint:1008  _get_or_create_endpoint_with_interface compute internal http://104.239.150.29/compute/v2.1 RegionOne
2017-08-12 19:15:07.197 | +functions-common:_get_or_create_endpoint_with_interface:979  local endpoint_id
2017-08-12 19:15:07.204 | ++functions-common:_get_or_create_endpoint_with_interface:984  openstack endpoint list --service compute --interface internal --region RegionOne -c ID -f value
2017-08-12 19:15:09.700 | +functions-common:_get_or_create_endpoint_with_interface:984  endpoint_id=
2017-08-12 19:15:09.707 | +functions-common:_get_or_create_endpoint_with_interface:985  [[ -z '' ]]
2017-08-12 19:15:09.715 | ++functions-common:_get_or_create_endpoint_with_interface:988  openstack endpoint create compute internal http://104.239.150.29/compute/v2.1 --region RegionOne -f value -c id
2017-08-12 19:15:12.123 | +functions-common:_get_or_create_endpoint_with_interface:988  endpoint_id=7470963650a54497bbb0dccd2c7de660
2017-08-12 19:15:12.130 | +functions-common:_get_or_create_endpoint_with_interface:991  echo 7470963650a54497bbb0dccd2c7de660
2017-08-12 19:15:12.130 | 7470963650a54497bbb0dccd2c7de660
2017-08-12 19:15:12.136 | +functions-common:get_or_create_endpoint:1011  echo 05d954f1f4314ec3bed68cf0ee3321d6
2017-08-12 19:15:12.136 | 05d954f1f4314ec3bed68cf0ee3321d6
2017-08-12 19:15:12.142 | +lib/nova:create_nova_accounts:423         is_service_enabled n-api
2017-08-12 19:15:12.179 | +functions-common:is_service_enabled:2073  return 0
2017-08-12 19:15:12.185 | +lib/nova:create_nova_accounts:425         is_service_enabled swift
2017-08-12 19:15:12.220 | +functions-common:is_service_enabled:2073  return 0
2017-08-12 19:15:12.226 | +lib/nova:create_nova_accounts:428         get_or_add_user_project_role ResellerAdmin nova service Default Default
2017-08-12 19:15:12.232 | +functions-common:get_or_add_user_project_role:861  local user_role_id
2017-08-12 19:15:12.239 | ++functions-common:get_or_add_user_project_role:863  _get_domain_args Default Default
2017-08-12 19:15:12.245 | ++functions-common:_get_domain_args:845     local domain
2017-08-12 19:15:12.252 | ++functions-common:_get_domain_args:846     domain=
2017-08-12 19:15:12.257 | ++functions-common:_get_domain_args:848     [[ -n Default ]]
2017-08-12 19:15:12.263 | ++functions-common:_get_domain_args:849     domain=' --user-domain Default'
2017-08-12 19:15:12.269 | ++functions-common:_get_domain_args:851     [[ -n Default ]]
2017-08-12 19:15:12.276 | ++functions-common:_get_domain_args:852     domain=' --user-domain Default --project-domain Default'
2017-08-12 19:15:12.283 | ++functions-common:_get_domain_args:855     echo --user-domain Default --project-domain Default
2017-08-12 19:15:12.290 | +functions-common:get_or_add_user_project_role:863  domain_args='--user-domain Default --project-domain Default'
2017-08-12 19:15:12.301 | ++functions-common:get_or_add_user_project_role:870  grep ' ResellerAdmin '
2017-08-12 19:15:12.302 | ++functions-common:get_or_add_user_project_role:870  get_field 1
2017-08-12 19:15:12.302 | ++functions-common:get_or_add_user_project_role:870  openstack role assignment list --user nova --project service --user-domain Default --project-domain Default
2017-08-12 19:15:12.310 | ++functions-common:get_field:699            local data field
2017-08-12 19:15:12.318 | ++functions-common:get_field:700            read data
2017-08-12 19:15:14.692 | An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-c40490fc-c51c-4a38-8268-4e4a9df469a7)
2017-08-12 19:15:14.761 | +functions-common:get_or_add_user_project_role:870  user_role_id=
2017-08-12 19:15:14.766 | +functions-common:get_or_add_user_project_role:871  [[ -z '' ]]
2017-08-12 19:15:14.772 | +functions-common:get_or_add_user_project_role:873  openstack role add ResellerAdmin --user nova --project service --user-domain Default --project-domain Default
2017-08-12 19:15:16.916 | An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-8ffa0cc1-54b3-4bc6-924f-d1e3ab2bbf61)
2017-08-12 19:15:16.988 | +functions-common:get_or_add_user_project_role:1  exit_trap
2017-08-12 19:15:16.993 | +./stack.sh:exit_trap:494                  local r=1
2017-08-12 19:15:17.001 | ++./stack.sh:exit_trap:495                  jobs -p
2017-08-12 19:15:17.007 | +./stack.sh:exit_trap:495                  jobs=
2017-08-12 19:15:17.013 | +./stack.sh:exit_trap:498                  [[ -n '' ]]
2017-08-12 19:15:17.020 | +./stack.sh:exit_trap:504                  kill_spinner
2017-08-12 19:15:17.027 | +./stack.sh:kill_spinner:390               '[' '!' -z '' ']'
2017-08-12 19:15:17.036 | +./stack.sh:exit_trap:506                  [[ 1 -ne 0 ]]
2017-08-12 19:15:17.043 | +./stack.sh:exit_trap:507                  echo 'Error on exit'
2017-08-12 19:15:17.043 | Error on exit
2017-08-12 19:15:17.049 | +./stack.sh:exit_trap:508                  generate-subunit 1502564777 540 fail
2017-08-12 19:15:17.678 | +./stack.sh:exit_trap:509                  [[ -z /opt/stack/logs ]]
2017-08-12 19:15:17.687 | +./stack.sh:exit_trap:512                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2017-08-12 19:15:18.105 | +./stack.sh:exit_trap:518                  exit 1

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1710413

Title:
  openstack role add ResellerAdmin uer nova fails unxpectedly

Status in OpenStack Compute (nova):
  New

Bug description:
  While runing Devstack with ocata/stable all except horizona/master ran
  into openstack role add ResellerAdmin uer nova fails unxpectedly.

  Here is the trace log for review and identify is it's nature, priority
  and possible resolution or workaround.

  2017-08-12 19:14:57.376 | +lib/nova:create_nova_accounts:416         get_or_create_endpoint compute RegionOne http://104.239.150.29/compute/v2.1 http://104.239.150.29/compute/v2.1 http://104.239.150.29/compute/v2.1
  2017-08-12 19:14:57.382 | +functions-common:get_or_create_endpoint:1005  local public_id
  2017-08-12 19:14:57.390 | ++functions-common:get_or_create_endpoint:1006  _get_or_create_endpoint_with_interface compute public http://104.239.150.29/compute/v2.1 RegionOne
  2017-08-12 19:14:57.396 | ++functions-common:_get_or_create_endpoint_with_interface:979  local endpoint_id
  2017-08-12 19:14:57.404 | +++functions-common:_get_or_create_endpoint_with_interface:984  openstack endpoint list --service compute --interface public --region RegionOne -c ID -f value
  2017-08-12 19:14:59.852 | ++functions-common:_get_or_create_endpoint_with_interface:984  endpoint_id=
  2017-08-12 19:14:59.859 | ++functions-common:_get_or_create_endpoint_with_interface:985  [[ -z '' ]]
  2017-08-12 19:14:59.868 | +++functions-common:_get_or_create_endpoint_with_interface:988  openstack endpoint create compute public http://104.239.150.29/compute/v2.1 --region RegionOne -f value -c id
  2017-08-12 19:15:02.292 | ++functions-common:_get_or_create_endpoint_with_interface:988  endpoint_id=05d954f1f4314ec3bed68cf0ee3321d6
  2017-08-12 19:15:02.300 | ++functions-common:_get_or_create_endpoint_with_interface:991  echo 05d954f1f4314ec3bed68cf0ee3321d6
  2017-08-12 19:15:02.305 | +functions-common:get_or_create_endpoint:1006  public_id=05d954f1f4314ec3bed68cf0ee3321d6
  2017-08-12 19:15:02.313 | +functions-common:get_or_create_endpoint:1007  _get_or_create_endpoint_with_interface compute admin http://104.239.150.29/compute/v2.1 RegionOne
  2017-08-12 19:15:02.320 | +functions-common:_get_or_create_endpoint_with_interface:979  local endpoint_id
  2017-08-12 19:15:02.329 | ++functions-common:_get_or_create_endpoint_with_interface:984  openstack endpoint list --service compute --interface admin --region RegionOne -c ID -f value
  2017-08-12 19:15:04.753 | +functions-common:_get_or_create_endpoint_with_interface:984  endpoint_id=
  2017-08-12 19:15:04.757 | +functions-common:_get_or_create_endpoint_with_interface:985  [[ -z '' ]]
  2017-08-12 19:15:04.764 | ++functions-common:_get_or_create_endpoint_with_interface:988  openstack endpoint create compute admin http://104.239.150.29/compute/v2.1 --region RegionOne -f value -c id
  2017-08-12 19:15:07.179 | +functions-common:_get_or_create_endpoint_with_interface:988  endpoint_id=941fdfa063be450eb5668c28a8bb01c5
  2017-08-12 19:15:07.186 | +functions-common:_get_or_create_endpoint_with_interface:991  echo 941fdfa063be450eb5668c28a8bb01c5
  2017-08-12 19:15:07.186 | 941fdfa063be450eb5668c28a8bb01c5
  2017-08-12 19:15:07.192 | +functions-common:get_or_create_endpoint:1008  _get_or_create_endpoint_with_interface compute internal http://104.239.150.29/compute/v2.1 RegionOne
  2017-08-12 19:15:07.197 | +functions-common:_get_or_create_endpoint_with_interface:979  local endpoint_id
  2017-08-12 19:15:07.204 | ++functions-common:_get_or_create_endpoint_with_interface:984  openstack endpoint list --service compute --interface internal --region RegionOne -c ID -f value
  2017-08-12 19:15:09.700 | +functions-common:_get_or_create_endpoint_with_interface:984  endpoint_id=
  2017-08-12 19:15:09.707 | +functions-common:_get_or_create_endpoint_with_interface:985  [[ -z '' ]]
  2017-08-12 19:15:09.715 | ++functions-common:_get_or_create_endpoint_with_interface:988  openstack endpoint create compute internal http://104.239.150.29/compute/v2.1 --region RegionOne -f value -c id
  2017-08-12 19:15:12.123 | +functions-common:_get_or_create_endpoint_with_interface:988  endpoint_id=7470963650a54497bbb0dccd2c7de660
  2017-08-12 19:15:12.130 | +functions-common:_get_or_create_endpoint_with_interface:991  echo 7470963650a54497bbb0dccd2c7de660
  2017-08-12 19:15:12.130 | 7470963650a54497bbb0dccd2c7de660
  2017-08-12 19:15:12.136 | +functions-common:get_or_create_endpoint:1011  echo 05d954f1f4314ec3bed68cf0ee3321d6
  2017-08-12 19:15:12.136 | 05d954f1f4314ec3bed68cf0ee3321d6
  2017-08-12 19:15:12.142 | +lib/nova:create_nova_accounts:423         is_service_enabled n-api
  2017-08-12 19:15:12.179 | +functions-common:is_service_enabled:2073  return 0
  2017-08-12 19:15:12.185 | +lib/nova:create_nova_accounts:425         is_service_enabled swift
  2017-08-12 19:15:12.220 | +functions-common:is_service_enabled:2073  return 0
  2017-08-12 19:15:12.226 | +lib/nova:create_nova_accounts:428         get_or_add_user_project_role ResellerAdmin nova service Default Default
  2017-08-12 19:15:12.232 | +functions-common:get_or_add_user_project_role:861  local user_role_id
  2017-08-12 19:15:12.239 | ++functions-common:get_or_add_user_project_role:863  _get_domain_args Default Default
  2017-08-12 19:15:12.245 | ++functions-common:_get_domain_args:845     local domain
  2017-08-12 19:15:12.252 | ++functions-common:_get_domain_args:846     domain=
  2017-08-12 19:15:12.257 | ++functions-common:_get_domain_args:848     [[ -n Default ]]
  2017-08-12 19:15:12.263 | ++functions-common:_get_domain_args:849     domain=' --user-domain Default'
  2017-08-12 19:15:12.269 | ++functions-common:_get_domain_args:851     [[ -n Default ]]
  2017-08-12 19:15:12.276 | ++functions-common:_get_domain_args:852     domain=' --user-domain Default --project-domain Default'
  2017-08-12 19:15:12.283 | ++functions-common:_get_domain_args:855     echo --user-domain Default --project-domain Default
  2017-08-12 19:15:12.290 | +functions-common:get_or_add_user_project_role:863  domain_args='--user-domain Default --project-domain Default'
  2017-08-12 19:15:12.301 | ++functions-common:get_or_add_user_project_role:870  grep ' ResellerAdmin '
  2017-08-12 19:15:12.302 | ++functions-common:get_or_add_user_project_role:870  get_field 1
  2017-08-12 19:15:12.302 | ++functions-common:get_or_add_user_project_role:870  openstack role assignment list --user nova --project service --user-domain Default --project-domain Default
  2017-08-12 19:15:12.310 | ++functions-common:get_field:699            local data field
  2017-08-12 19:15:12.318 | ++functions-common:get_field:700            read data
  2017-08-12 19:15:14.692 | An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-c40490fc-c51c-4a38-8268-4e4a9df469a7)
  2017-08-12 19:15:14.761 | +functions-common:get_or_add_user_project_role:870  user_role_id=
  2017-08-12 19:15:14.766 | +functions-common:get_or_add_user_project_role:871  [[ -z '' ]]
  2017-08-12 19:15:14.772 | +functions-common:get_or_add_user_project_role:873  openstack role add ResellerAdmin --user nova --project service --user-domain Default --project-domain Default
  2017-08-12 19:15:16.916 | An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-8ffa0cc1-54b3-4bc6-924f-d1e3ab2bbf61)
  2017-08-12 19:15:16.988 | +functions-common:get_or_add_user_project_role:1  exit_trap
  2017-08-12 19:15:16.993 | +./stack.sh:exit_trap:494                  local r=1
  2017-08-12 19:15:17.001 | ++./stack.sh:exit_trap:495                  jobs -p
  2017-08-12 19:15:17.007 | +./stack.sh:exit_trap:495                  jobs=
  2017-08-12 19:15:17.013 | +./stack.sh:exit_trap:498                  [[ -n '' ]]
  2017-08-12 19:15:17.020 | +./stack.sh:exit_trap:504                  kill_spinner
  2017-08-12 19:15:17.027 | +./stack.sh:kill_spinner:390               '[' '!' -z '' ']'
  2017-08-12 19:15:17.036 | +./stack.sh:exit_trap:506                  [[ 1 -ne 0 ]]
  2017-08-12 19:15:17.043 | +./stack.sh:exit_trap:507                  echo 'Error on exit'
  2017-08-12 19:15:17.043 | Error on exit
  2017-08-12 19:15:17.049 | +./stack.sh:exit_trap:508                  generate-subunit 1502564777 540 fail
  2017-08-12 19:15:17.678 | +./stack.sh:exit_trap:509                  [[ -z /opt/stack/logs ]]
  2017-08-12 19:15:17.687 | +./stack.sh:exit_trap:512                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
  2017-08-12 19:15:18.105 | +./stack.sh:exit_trap:518                  exit 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1710413/+subscriptions


Follow ups