Ask Your Question
0

i am getting error "something went wrong" error when i am trying to log on to horizon dashboard

asked 2016-01-06 02:10:04 -0500

vibhu gravatar image

updated 2016-01-06 03:50:20 -0500

i had installed keystone and then created users and servcies in keystone, then i had installed horizon dashboard and configured it but when i am trying to logon to keystone b correct credentials it is giving me error

something went wrong an unexpected error had occurred.Try refreshing the page.If that does not help try contacting your local administrator

Below are the apache logs which i think can be useful, (in /var/log/keystone i am not getting any logs):

[Wed Jan 06 06:36:02.839282 2016] [:error] [pid 5947:tid 140071181514496]   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 260, in _cs_request
[Wed Jan 06 06:36:02.839285 2016] [:error] [pid 5947:tid 140071181514496]     **kwargs)
[Wed Jan 06 06:36:02.839288 2016] [:error] [pid 5947:tid 140071181514496]   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 242, in _time_request
[Wed Jan 06 06:36:02.839291 2016] [:error] [pid 5947:tid 140071181514496]     resp, body = self.request(url, method, **kwargs)
[Wed Jan 06 06:36:02.839294 2016] [:error] [pid 5947:tid 140071181514496]   File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 236, in request
[Wed Jan 06 06:36:02.839297 2016] [:error] [pid 5947:tid 140071181514496]     raise exceptions.from_response(resp, body, url, method)
[Wed Jan 06 06:36:02.839300 2016] [:error] [pid 5947:tid 140071181514496] **BadRequest: Malformed request URL: URL's project_id '64b79317286146f2aca0772d5f3f2fb3' doesn't match Context's project_id '1128dfad65c55758350ad4fc1f9a6912' (HTTP 400) (Request-ID: req-1319583d-4276-4f80-8b51-530df82324fe**
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-06 02:22:06 -0500

Prateek K gravatar image

Try to see the nova.conf file and check weather 'auth_strategy=keystone' is present under [default] section... I think this will solve the problem

edit flag offensive delete link more

Comments

Also restart the nova services for changes to take effect

Prateek K gravatar imagePrateek K ( 2016-01-06 02:22:37 -0500 )edit

i had made the changes but not able to figure out how to restart nova

vibhu gravatar imagevibhu ( 2016-01-06 03:19:25 -0500 )edit

is it a devstack installation ? .. If yes then you have to go the screen session ... Then go to the partcular tab where nova services are running( ctrl + ") then press ctlr +c to ternmiate the process and then restart it ..

Prateek K gravatar imagePrateek K ( 2016-01-06 03:36:33 -0500 )edit

if its a normal installation restart the services of nova via service nova-api restart , service nova-conductor restart etc .. etc

Prateek K gravatar imagePrateek K ( 2016-01-06 03:37:26 -0500 )edit

i had restarted nova but same error is coming but there are changes in apache logs. Below are the logs:

[Wed Jan 06 06:36:02.839282 2016] [:error] [pid 5947:tid 140071181514496] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 260, in _cs_request [Wed Jan 06 06:36:02.839285 2016

vibhu gravatar imagevibhu ( 2016-01-06 22:43:25 -0500 )edit

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

1 follower

Stats

Asked: 2016-01-06 02:10:04 -0500

Seen: 639 times

Last updated: Jan 06 '16