using Resource Usage Overview only appears the id and not the name when selecting "--" in 'Group By' menu

Bug #1271342 reported by Graciela Salcedo Mancilla
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Nikunj Aggarwal

Bug Description

When using Resource Usage Overview all the graphs shows the id, that is not friendly, I think could be better if we could have the instance name or the image name instead only the id.

It only occurs when we select "--" (no project filter) in "Group By" drop-down menu.

Tags: ceilometer
Revision history for this message
Leandro Ignacio Costantino (leandro-i-costantino) wrote :

I cannot reproduce this on trunk.
Which version are you using?
Regards

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

Hi,

I see the issue Graciela mentioned, see my attachment.

For the "Group By" dropdown, you have to select '--' to see all the ids.

Revision history for this message
Alejandro Emanuel Paredes (alejandro-e-paredes) wrote :

Hi, I can reproduce the issue.
One more comment... why don't we also change the '--' in the dropdown? I don't find it pretty representative...

Changed in horizon:
assignee: nobody → Alejandro Emanuel Paredes (alejandro-e-paredes)
Changed in horizon:
assignee: Alejandro Emanuel Paredes (alejandro-e-paredes) → nobody
Akihiro Motoki (amotoki)
tags: added: ceilometer
Akihiro Motoki (amotoki)
summary: - using Resource Usage Overview only appears the id and not the name
+ using Resource Usage Overview only appears the id and not the name when
+ selecting "--" in 'Group By' menu
description: updated
Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → juno-1
Revision history for this message
Graciela Salcedo Mancilla (gsalcedo-mx) wrote :

I have a solution for this problem, can I propouse the solution?

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

Hi Graciela,

If you check in your solution via gerritt, it should automatically link here. Let me know if you need any help with that.

Revision history for this message
Julie Pichon (jpichon) wrote :

Hi Graciela, you can find more information on how to contribute patches at https://wiki.openstack.org/wiki/HowToContribute and https://wiki.openstack.org/wiki/GerritWorkflow . Feel free to pop in on IRC if you have any question or hit any issue, the folks in the #openstack-horizon channel on Freenode are usually happy to help!

Revision history for this message
Hoang Do (dohuyhoang88) wrote :

Hello, I wonder is this bug fixed? I got the same problem.

Changed in horizon:
assignee: nobody → Nikunj Aggarwal (nikunj2512)
Julie Pichon (jpichon)
Changed in horizon:
milestone: juno-1 → juno-2
Changed in horizon:
milestone: juno-2 → juno-3
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-3 → juno-rc1
David Lyle (david-lyle)
Changed in horizon:
milestone: juno-rc1 → kilo-1
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/125307

Changed in horizon:
status: Confirmed → In Progress
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-1 → kilo-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/125307
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=8225d2a33bccdf3ed5a8e37046aefa2091feef50
Submitter: Jenkins
Branch: master

commit 8225d2a33bccdf3ed5a8e37046aefa2091feef50
Author: nikunj2512 <email address hidden>
Date: Wed Oct 1 14:06:25 2014 +0530

    Fixes resource name problem in "Resources Usage" tab

    This patch replaces the resource id with resource name in the
    ""Resources Usage" Tab when selecting the "Group By" Filter to
    "--".
    In this fix i has created a mapping between the meter_name and the
    api_type and upon depending the meter_name, the code make the
    appropriate api call by passing the resource_id.

    Closes-bug: #1271342

    Change-Id: Ie851cb34c9f16c47ddd7eed4a19c77398e350048

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: kilo-2 → 2015.1.0
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.