Mitaka horizon unable to retrieve image list

asked 2016-08-18 12:17:55 -0600

ojakaja gravatar image

Hi All,

I've installed my openstack (mitaka) and so far, everything is ok except for one thing, As the question says, The dashboard cant retrieve the Image list.

I've done some debugging and found out that somehow the dashboard is forced to use glance endpoint v1, even though i've put the correct configuration in the horizon local settings

      "data-processing": 1.1,
      "identity": 3,
      "image": 2,
      "volume": 2,

Meanwhile the CLI command run correctly because i can force it to use the v2 service endpoint with OS_IMAGE_API_VERSION environment variable.

So, please, someone could help me, show me the light? What mistakes did i do? or is the any configuration that i left out?


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-09-19 01:47:18 -0600

michaelf gravatar image

I had the same problem, to fix it i found that in .../openstack-dashboard/openstack_dashboard/api/ the default version of 'def glanceclient(request, version='1')' is 1 i changed it to 'def glanceclient(request, version='2')' rebooted apache2 "service apache2 reload" and it worked

edit flag offensive delete link more


This solved a similar issue for me.

Openstackuser2013 gravatar imageOpenstackuser2013 ( 2018-08-31 07:02:13 -0600 )edit

answered 2017-02-24 09:00:26 -0600

yoba gravatar image

It seems that there's a little error on the OpenStack official documentation ( ( for Mitaka. Using API version 2 for image is implemented from the Newton version. So you have to change the configuration in the local settings of the dashboard (/etc/openstack-dashboard/local_settings) and make the use of the Openstack API version 1 for image the restart httpd service.

OPENSTACK_API_VERSIONS = { "identity": 3, "image": 1, "volume": 2, }

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-08-18 12:16:42 -0600

Seen: 2,708 times

Last updated: Feb 24 '17