← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 981906] Re: Improve error message when there's a bad user / password somewhere

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/981906

Title:
  Improve error message when there's a bad user / password somewhere

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  [root@os-svc02 images]# glance  --os_username=admin --os_password=adminp4ss --os_tenant=demo --os_auth_url=http://keystone.os.lan:5000/v2.0/ add name="tty-linux-kernel" disk_format=aki container_format=aki < ttylinux-uec-amd64-12.1_2.6.35-22_1-vmlinuz
  Uploading image 'tty-linux-kernel'
  Failed to add image. Got error:
  The request returned 503 Service Unavilable. This generally occurs on service overload or other transient outage.

  # In api logs:
  2012-04-14 16:55:46 9531    DEBUG [keystone.middleware.auth_token] Authenticating user token
  2012-04-14 16:55:46 9531    DEBUG [keystone.middleware.auth_token] Removing headers from request environment: X-Identity-Status,X-Tenant-Id,X-Tenant-Name,X-User-Id,X-User-Name,X-Roles,X-User,X-Tenant,X-Role
  2012-04-14 16:55:46 9531  WARNING [keystone.middleware.auth_token] Unexpected response from keystone service: {u'error': {u'message': u'Invalid user / password', u'code': 401, u'title': u'Not Authorized'}}
  2012-04-14 16:55:46 9531 CRITICAL [keystone.middleware.auth_token] Unable to obtain admin token: invalid json response
  2012-04-14 16:55:46 9531    DEBUG [eventlet.wsgi.server] 192.168.6.10 - - [14/Apr/2012 16:55:46] "POST /v1/images HTTP/1.1" 503 235 0.092509

  
  # keystone.log

  2012-04-14 23:18:41    DEBUG [keystone.common.wsgi] ******************** RESPONSE BODY ********************
  2012-04-14 23:18:41    DEBUG [keystone.common.wsgi] {"error": {"message": "Invalid user / password", "code": 401, "title": "Not Authorized"}}
  2012-04-14 23:18:41    DEBUG [eventlet.wsgi.server] 192.168.6.10 - - [14/Apr/2012 23:18:41] "POST /v2.0/tokens HTTP/1.1" 401 229 0.049767

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