Ask Your Question
1

Bad Request: hash must be unicode or bytes, not None

asked 2013-09-25 07:19:54 -0500

vs.tokarev gravatar image

Hi everyone.

I'm going to use RESTFull API to manage my OpenStack cloud and now I'm using devstack during development.

Today I got this error message, "Bad Request: hash must be unicode or bytes, not None" when I tried to authenticate. Here is what I did:

  1. Logged in as 'admin'.
  2. Created new tenant 'company001'.
  3. Created new user 'user001'.
  4. Added 'admin' role for user001 on company001.
  5. Tried to log in as 'user001'

I got response code 400 and just this error message. I have no idea what does 'hash' mean in this message and I was not able to find anything related to this error in docs. Please, help.

edit retag flag offensive close merge delete

Comments

Can you provide some details like branch of openstack/devstack installed, by 'log in' do you mean logging in through the dashboard or are you using REST API to generate the token. Also, providing Keystone service logs might help closing down on the issue.

unmesh-gurjar gravatar imageunmesh-gurjar ( 2013-09-26 06:51:46 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-04-06 08:52:56 -0500

edmondsw gravatar image

I suspect this was fixed by https://github.com/openstack/keystone...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-09-25 07:19:54 -0500

Seen: 356 times

Last updated: Apr 06 '18