Reviewed:  https://review.openstack.org/372400
Committed: 
https://git.openstack.org/cgit/openstack/horizon/commit/?id=66094201154dbdb09782e78f15840c8aeade4fc6
Submitter: Jenkins
Branch:    master

commit 66094201154dbdb09782e78f15840c8aeade4fc6
Author: Timur Sufiev <tsuf...@mirantis.com>
Date:   Mon Sep 19 13:56:18 2016 +0300

    Fix getting the images list in Admin->Images
    
    Do this by converting 'None' / 'True' / 'False' to their Python
    counterparts.
    
    Change-Id: Ifd17f4587759e7a67218278d28ee77fc9b80530a
    Closes-Bug: #1624700


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1624700

Title:
  admin image table failed to load image list

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Admin Image panel fails to load image list with the following error message.
  Due to the error, the admin image table has no content.

  2016-09-17 15:21:46.000420 error invoking apiclient
  2016-09-17 15:21:46.000461 Traceback (most recent call last):
  2016-09-17 15:21:46.000466   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/utils.py",
 line 126, in _wrapped
  2016-09-17 15:21:46.000470     data = function(self, request, *args, **kw)
  2016-09-17 15:21:46.000474   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/glance.py",
 line 163, in get
  2016-09-17 15:21:46.000477     request, filters=filters, **kwargs)
  2016-09-17 15:21:46.000480   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py",
 line 281, in image_list_detailed
  2016-09-17 15:21:46.000484     _normalize_list_input(filters, **kwargs)
  2016-09-17 15:21:46.000487   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py",
 line 176, in _normalize_list_input
  2016-09-17 15:21:46.000491     _normalize_is_public_filter(filters)
  2016-09-17 15:21:46.000495   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py",
 line 165, in _normalize_is_public_filter
  2016-09-17 15:21:46.000498     visibility = 
PUBLIC_TO_VISIBILITY_MAP[filters['is_public']]
  2016-09-17 15:21:46.000502 KeyError: u'None'
  2016-09-17 15:21:46.020015 error invoking apiclient
  2016-09-17 15:21:46.020089 Traceback (most recent call last):
  2016-09-17 15:21:46.020121   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/utils.py",
 line 126, in _wrapped
  2016-09-17 15:21:46.020147     data = function(self, request, *args, **kw)
  2016-09-17 15:21:46.020172   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/rest/glance.py",
 line 163, in get
  2016-09-17 15:21:46.020196     request, filters=filters, **kwargs)
  2016-09-17 15:21:46.020219   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py",
 line 281, in image_list_detailed
  2016-09-17 15:21:46.020265     _normalize_list_input(filters, **kwargs)
  2016-09-17 15:21:46.020293   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py",
 line 176, in _normalize_list_input
  2016-09-17 15:21:46.020321     _normalize_is_public_filter(filters)
  2016-09-17 15:21:46.020366   File 
"/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py",
 line 165, in _normalize_is_public_filter
  2016-09-17 15:21:46.020396     visibility = 
PUBLIC_TO_VISIBILITY_MAP[filters['is_public']]
  2016-09-17 15:21:46.020420 KeyError: u'None'

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1624700/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to