← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1685732] Re: create_keystone_accounts error on latest devstack ocata branch(Ubuntu 16.04 LTS)

 

** Also affects: networking-odl
   Importance: Undecided
       Status: New

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

Title:
  create_keystone_accounts error on latest devstack ocata branch(Ubuntu
  16.04 LTS)

Status in OpenStack Identity (keystone):
  New
Status in networking-odl:
  New

Bug description:
  Hi All,

  Im seeing this error on latest stable/ocata branch. I tried multiple
  reclones with repeated "./unstack.sh; ./clean.sh; ./stack.sh", but the
  issue is not getting fixed. I have raised the same issue in ask
  openstack(https://ask.openstack.org/en/question/105736
  /create_keystone_accounts-error-on-latest-devstack-ocata-
  branchubuntu-1604-lts/)

  Logs below:

  ./stack.sh Error logs:
  +++++++++++++++++++++
  2017-04-24 12:09:09.942 INFO keystone.cmd.cli [req-b7616d45-5e27-48f5-b65a-a5c0c8cdd3c0 None None] Created user admin
  2017-04-24 12:09:10.008 INFO keystone.cmd.cli [req-b7616d45-5e27-48f5-b65a-a5c0c8cdd3c0 None None] Created role admin
  2017-04-24 12:09:10.075 INFO keystone.cmd.cli [req-b7616d45-5e27-48f5-b65a-a5c0c8cdd3c0 None None] Granted admin on admin to user admin.
  2017-04-24 12:09:10.199 INFO keystone.cmd.cli [req-b7616d45-5e27-48f5-b65a-a5c0c8cdd3c0 None None] Created region RegionOne
  2017-04-24 12:09:10.366 INFO keystone.cmd.cli [req-b7616d45-5e27-48f5-b65a-a5c0c8cdd3c0 None None] Created admin endpoint http://192.168.0.103/identity_admin
  2017-04-24 12:09:10.451 INFO keystone.cmd.cli [req-b7616d45-5e27-48f5-b65a-a5c0c8cdd3c0 None None] Created public endpoint http://192.168.0.103/identity
  2017-04-24 12:09:10.455 INFO keystone.assignment.core [req-b7616d45-5e27-48f5-b65a-a5c0c8cdd3c0 None None] Creating the default role 9fe2ff9ee4384b1894a90878d3e92bab because it does not exist.
  +./stack.sh:main:1076                      create_keystone_accounts
  +lib/keystone:create_keystone_accounts:328  local admin_project
  ++lib/keystone:create_keystone_accounts:329  openstack project show admin -f value -c id
  Failed to discover available identity versions when contacting http://192.168.0.103/identity_admin. Attempting to parse version from URL.
  Could not determine a suitable URL for the plugin
  +lib/keystone:create_keystone_accounts:329  admin_project=
  +lib/keystone:create_keystone_accounts:1   exit_trap
  +./stack.sh:exit_trap:492                  local r=1
  ++./stack.sh:exit_trap:493                  jobs -p
  +./stack.sh:exit_trap:493                  jobs=
  +./stack.sh:exit_trap:496                  [[ -n '' ]]
  +./stack.sh:exit_trap:502                  kill_spinner
  +./stack.sh:kill_spinner:388               '[' '!' -z '' ']'
  +./stack.sh:exit_trap:504                  [[ 1 -ne 0 ]]
  +./stack.sh:exit_trap:505                  echo 'Error on exit'
  Error on exit
  +./stack.sh:exit_trap:506                  generate-subunit 1493015271 684 fail
  +./stack.sh:exit_trap:507                  [[ -z /opt/stack/logs ]]
  +./stack.sh:exit_trap:510                  /home/stack/openstack-repo/stable/ocata/tools/worlddump.py -d /opt/stack/logs
  World dumping... see /opt/stack/logs/worlddump-2017-04-24-063916.txt for details
  +./stack.sh:exit_trap:516                  exit 1

  Other logs:
  ++++++++++
  stack@controller:/etc/apache2$ grep -rn identity* | grep wsgi
  sites-available/keystone-wsgi-admin.conf:1:ProxyPass "/identity_admin" "unix:/var/run/uwsgi/keystone-wsgi-admin.socket|uwsgi://uwsgi-uds-keystone-wsgi-admin/" retry=0 
  sites-available/keystone.conf:56:Alias /identity /usr/bin/keystone-wsgi-public
  sites-available/keystone.conf:66:Alias /identity_admin /usr/bin/keystone-wsgi-admin
  sites-available/keystone-wsgi-public.conf:1:ProxyPass "/identity" "unix:/var/run/uwsgi/keystone-wsgi-public.socket|uwsgi://uwsgi-uds-keystone-wsgi-public/" retry=0 

  
  stack@controller:/etc/apache2$ ps -ef | grep wsgi
  stack     4071  3900  0 12:09 pts/20   00:00:00 /usr/local/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-public.ini
  stack     4129  4071  1 12:09 pts/20   00:00:02 /usr/local/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-public.ini
  stack     4130  4071  1 12:09 pts/20   00:00:02 /usr/local/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-public.ini
  stack     4444  4263  0 12:09 pts/21   00:00:00 /usr/local/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-admin.ini
  stack     4461  4444  1 12:09 pts/21   00:00:03 /usr/local/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-admin.ini
  stack     4462  4444  1 12:09 pts/21   00:00:03 /usr/local/bin/uwsgi --ini /etc/keystone/keystone-uwsgi-admin.ini
  stack     5320  5977  0 12:12 pts/17   00:00:00 grep --color=auto wsgi

  stack@controller:/etc/apache2$ sudo netstat | grep 35357
  stack@controller:/etc/apache2$ 

  
  Please let me know if anymore info is required.

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


References