Ask Your Question

Expecting to find username or userId in passwordCredentials...

asked 2016-01-05 10:01:08 -0500

alexes gravatar image

updated 2016-01-05 11:40:23 -0500

smaffulli gravatar image

nova boot fails.. I've set up Liberty in Ubuntu. followed all the online. my config: 2 x ESXi connected by local switch which is connected to my router (provider net): controller (Ubuntu host) is on 1 ESXi, compute (Ubuntu host) is on another ESXi. controller has Keystone, MQ, Neutron, Ceilometer, Horizon compute has only Nova ... all the commands after install (nova image-list, flavor-list, neutron net-list etc) and Horizon are working just fine, when I'm trying to launch instance i'm getting this error:

BadRequest: Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.

attaching nova-api.log is not allowed...

edit retag flag offensive close merge delete


you can edit your question and quote the most interesting parts of nova log or keystone logs... keep on debugging and adding details to the question.

smaffulli gravatar imagesmaffulli ( 2016-01-05 11:41:04 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-06 00:48:00 -0500

Bharath gravatar image

Please check your nova.conf and glance.conf for [keystone_authtoken] section and check if everything is fine over there. Ideal parameters would be as follows:

auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = nova
admin_password = XXXXXXXXXXXX

If there are any other parameters apart from them, see if the values against them are valid. Change the configuration files and see if that resolves your issue.

edit flag offensive delete link more


hi Bharath, thank you for your answer. this is Liberty version of OpenStack I'm using. there's no link to 2.0 any more, API ver 3.0 as I understand. I tried your suggestion anyway and it won't run any commands like nova image-list, glance image-list etc...

alexes gravatar imagealexes ( 2016-01-06 05:52:58 -0500 )edit

can you try to boot with --debug option and paste the output which might give some clues?

Bharath gravatar imageBharath ( 2016-01-07 00:12:49 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-01-05 10:01:08 -0500

Seen: 2,325 times

Last updated: Jan 06 '16