← Back to team overview

sws team mailing list archive

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

 

Yaguang Tang (heut2008) has assigned this bug to you for Glance:

[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

** Affects: glance
     Importance: Undecided
     Assignee: Sina Web Service (sws)
         Status: Confirmed

-- 
Improve error message when there's a bad user / password somewhere
https://bugs.launchpad.net/bugs/981906
You received this bug notification because you are a member of Sina Web Service, which is a bug assignee.