Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1336182 - Utilization - "Interval" field does not contain dropdown for Providers,Projects, Replicators and Container Services
Utilization - "Interval" field does not contain dropdown for Providers,Projec...
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.6.0
Unspecified Unspecified
unspecified Severity unspecified
: GA
: 5.6.0
Assigned To: Federico Simoncelli
Einat Pacifici
c&u
:
: 1336216 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-15 06:59 EDT by Einat Pacifici
Modified: 2018-04-17 03:48 EDT (History)
9 users (show)

See Also:
Fixed In Version: 5.6.0.8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 12:02:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
epacific: automate_bug+


Attachments (Terms of Use)
Provider-wrongGUI and Pods-correctGUI attached (153.50 KB, application/x-gzip)
2016-05-15 06:59 EDT, Einat Pacifici
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Einat Pacifici 2016-05-15 06:59:57 EDT
Created attachment 1157643 [details]
Provider-wrongGUI and Pods-correctGUI attached

Description of problem:
When viewing Utilization data - the Interval dropdown should show: Hourly/Daily/Most recent hour selection

Version-Release number of selected component (if applicable):
5.6.0.6

How reproducible:
Always

Steps to Reproduce:
1.Compute --> Containers -->Providers --> Select provider
2.Click Monitoring --> Utilization button
3.View generated page

Actual results:
Metrics page is provided with "Interval:", but no dropdown is seen.

Expected results:
Metrics page provided with "Interval:" + dropdown of Hourly/Daily/Most recent hour.

Additional info:
Attachement contains Screenshot of Providers page, but, this bug is seen also under Projects, Replicators and Container Services.
Comment 2 Federico Simoncelli 2016-05-16 08:59:09 EDT
Dan here the code seems common to all providers:

app/views/layouts/_perf_options.html.haml

      %dt
        = _("Interval")
      %dd
        - if @perf_options[:index] && %w(host vm).include?(request.parameters["controller"])
          - rt_chart = YAML.load(File.open("#{CHARTS_LAYOUTS_FOLDER}/realtime_perf_charts/#{@perf_options[:model]}.yaml"))
          - @rt_hide = rt_chart[@perf_options[:index].to_i][:type] == "None"
        - if request.parameters["controller"] == "storage" && @perf_options[:cat]
          = select("perf", "typ", %w(Hourly Daily), {:selected => @perf_options[:typ]},
                                                      :disabled => "")
        - elsif %(Host VmOrTemplate ContainerNode Container ContainerGroup MiddlewareServer).include?(@perf_options[:model]) && !@rt_hide
          = select_tag("perf_typ",
                        options_for_select(["Hourly", "Daily", ["Most Recent Hour", "realtime"]], @perf_options[:typ]),
                        "data-miq_sparkle_on" => true,
                        :class    => "selectpicker")
          :javascript
             miqInitSelectPicker();
             miqSelectPickerEvent("perf_typ", "#{url}")


I have the impression that this is not specific to containers. Thoughts?
Comment 4 Federico Simoncelli 2016-05-17 05:12:01 EDT
Fix at:  https://github.com/ManageIQ/manageiq/pull/8752

Dan, as mentioned in the PR, the issue is a regression introduced in all the pages by the select picker enhancements.

Removing the "container" whiteboard.
Comment 5 Harpreet Kataria 2016-05-17 14:40:01 EDT
*** Bug 1336216 has been marked as a duplicate of this bug. ***
Comment 6 Federico Simoncelli 2016-05-18 15:48:19 EDT
As mentioned in comment 4 this is not related to containers. Removing "container" from the whiteboard again.
Comment 7 Einat Pacifici 2016-05-29 05:59:00 EDT
All dropdowns now function as expected.
Comment 9 errata-xmlrpc 2016-06-29 12:02:34 EDT
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.

https://access.redhat.com/errata/RHBA-2016:1348

Note You need to log in before you can comment on or make changes to this bug.