Hide Forgot
Description of problem: The Metric dropdown list on the Stats tab of the admin/Resource Usage panel has hover hints with a short description of each meter listed. However the hover hint for instance:<type> meter is missing. This is because tab context_data list of hover hints is seemingly built up from a copy'n'paste from the ceilometer documentation: http://docs.openstack.org/developer/ceilometer/measurements.html#compute-nova in particular, using the literal 'instance:<type>' as the meter name. Whereas in the ceilometer docco, 'instance:<type>' is not intended to be interpreted as a literal meter name. Instead the '<type>' is intended to act as a placeholder for the actual instance type, i.e. the nova flavor name of 'm1.tiny', 'm1.small', etc. So this non-existent 'instance:<type>' meter should be replaced with a set of hints for meters named with a 'instance:' prefix and a flavor name suffix, for each of the current set of flavors known to nova (i.e. both standard and custom instance types). Version-Release number of selected component (if applicable): RHOS 4.0 beta How reproducible: 100% Steps to Reproduce: 1. Ensure an instance is spun up 2. Navigate to the admin/Resource Usage panel 3. Hover over the 'instance:<type>' entry in the Metric dropdown and note the lack of a hover hint 4. Hover over any other meter and note the existence of a hover hint Actual results: No hover hint for 'instance:<type>' in the Metric dropdown Expected results: A hover hint for 'instance:<type>' is displayed
Fix landed on upstream master: http://github.com/openstack/horizon/commit/386d5865 and proposed on upstream stable/havana: https://review.openstack.org/54709
Fix landed on stable/horizon upstream: http://github.com/openstack/horizon/commit/9be1df13
Backport landed internally: https://code.engineering.redhat.com/gerrit/16395 Note the commit message contains an erroneous tag: s/Resolves rhbz: 1033044/Resolves rhbz: 1033053/ (similar BZ IDs and bug subject matter led to this human error on my part)
Will Test this fix as soon as QE will get a build newer than 2013-11-26.3
Hi Don, thank you for the doc text beautification in this and other bugs! I would suggest removing the last sentence, "In previous releases, this entry did not have a hover hint." as this is a new panel.
Hi Don, also the beautified text is slightly incorrect, specifically: ... including the generic "instance:<type>" entry. The point of the fix was to replace the generic "instance:<type>" entry with the specific "instance:m1.tiny", "instance:m1.small", "instance:m1.medium" ... etc. meter names that actually exist in the metering store. Also: "The nova-api service provides correct and updated hover hints ..." is a bit misleading. The nova-api service provides the existing flavor names (i.e. instance types) only. Horizon then constructs a hover hit around the flavor name, e.g. in the hover hint: 'Duration of instance type m1.tiny (openstack flavor)' only the 'm1.tiny' portion is provided by the nova-api service.
Verified NVR: python-django-horizon-2013.2-8.el6ost.noarch Repeated the steps to reproduce in comment #0 Result: ======= When I hovered the 'instance:<type>' attribute, a hint was displayed: Duration of instance <type> (openstack types)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html