Filter button on Host Aggregates does not work

Bug #1362850 reported by Mohan Seri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Sam Betts

Bug Description

Click on Filter Button on Host Aggregates page and notice the below error: (Since the Filter text box is an auto filter, we may need not require Filter button)

TemplateSyntaxError at /admin/aggregates/
name
Request Method: POST
Request URL: http://localhost/admin/aggregates/
Django Version: 1.6.5
Exception Type: TemplateSyntaxError
Exception Value:
name
Exception Location: /opt/stack/python-novaclient/novaclient/openstack/common/apiclient/base.py in __getattr__, line 489
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
 '/opt/stack/python-keystoneclient',
 '/opt/stack/python-glanceclient',
 '/opt/stack/python-cinderclient',
 '/opt/stack/python-novaclient',
 '/opt/stack/python-swiftclient',
 '/opt/stack/python-neutronclient',
 '/opt/stack/python-heatclient',
 '/opt/stack/python-openstackclient',
 '/opt/stack/keystone',
 '/opt/stack/swift',
 '/opt/stack/glance',
 '/opt/stack/cinder',
 '/opt/stack/neutron',
 '/opt/stack/nova',
 '/opt/stack/horizon',
 '/opt/stack/heat',
 '/opt/stack/python-troveclient',
 '/opt/stack/trove',
 '/opt/stack/tempest',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/PIL',
 '/usr/lib/python2.7/dist-packages/gst-0.10',
 '/usr/lib/python2.7/dist-packages/gtk-2.0',
 '/usr/lib/pymodules/python2.7',
 '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
 '/usr/lib/python2.7/dist-packages/ubuntuone-client',
 '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
 '/usr/lib/python2.7/dist-packages/ubuntuone-couch',
 '/usr/lib/python2.7/dist-packages/ubuntuone-installer',
 '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
 '/opt/stack/horizon/openstack_dashboard']
Server time: Thu, 28 Aug 2014 23:00:23 +0000

Revision history for this message
Cindy Lu (clu-m) wrote :

Nice find, Mohan! There is a patch to hide the button: https://bugs.launchpad.net/horizon/+bug/1350885 if there is no API support, but we should definitely fix this issue.

Changed in horizon:
status: New → Triaged
Sam Betts (sambetts)
Changed in horizon:
assignee: nobody → Sam Betts (sambetts)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/118142

Changed in horizon:
status: Triaged → In Progress
Changed in horizon:
importance: Undecided → Low
milestone: none → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/118142
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=883a30ea4b45acf4361588aee5256d42cafeda84
Submitter: Jenkins
Branch: master

commit 883a30ea4b45acf4361588aee5256d42cafeda84
Author: Sam Betts <email address hidden>
Date: Mon Sep 1 12:48:27 2014 +0100

    Corrected AZ FilterAction and table filter

    The Availability Zone table was using the Host Aggregates filter action
    so that has been changed to use the correct filter action, and fixed
    Availability Zone filter action accessing an attribute that did not exist.

    Change-Id: Ib9daaaeffade0ee30115f47f065f9f86ec6eb70c
    Closes-Bug: 1362850

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-rc1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.