Error: Unable to retrieve the project / null poject ??

asked 2018-11-24 06:03:46 -0500

Park Kyung Won gravatar image

Hello

I'm using Openstack Rocky on Ubuntu 18.04 server

When I go to "Project" -> "Images" tab in Horizon web UI, on the top right side of the corner I get the red box saying "Error: Unable to retrieve the project"

I can't see this message from anywhere else but only when I enter "Images" tab. So I thought this would be related with glance, but I couldn't find any relevant log.

This is all I found from Apache error log

[Sat Nov 24 20:58:13.462762 2018] [wsgi:error] [pid 19663] [remote 192.168.1.1:28165] WARNING django.request Not Found: /horizon/api/keystone/projects/null

What should I do???

edit retag flag offensive close merge delete

Comments

How did you install OpenStack?

What happens if you use the command line, e.g. openstack image list?

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-24 14:47:51 -0500 )edit

Then image list comes up without any problem...

Park Kyung Won gravatar imagePark Kyung Won ( 2018-11-24 21:04:48 -0500 )edit

My guess is that your problem is caused by Horizon, not Glance. How did you install it?

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-24 23:04:41 -0500 )edit

You mean Horiozn?

All packages have been installed from ubuntu rocky cloud repository through apt

But that message is only seen in "image" tab of horizon...

Park Kyung Won gravatar imagePark Kyung Won ( 2018-11-24 23:26:12 -0500 )edit

The error indicates that a client-side component (e.g. AngularJS) sends an API request to Horizon, which fails because it specifies an illegal project (null).

Where the null comes from, I can’t tell. Perhaps you find other null references in the Apache error or access log, or the Horizon log.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-25 16:29:32 -0500 )edit