Bug 1660803

Summary: The displayed elapsed time in the service is wrong
Product: Red Hat CloudForms Management Engine Reporter: Imaan <ikaur>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED CURRENTRELEASE QA Contact: Gaurav Talreja <gtalreja>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.6CC: bmidwood, dmetzger, hkataria, hstastna, ikaur, jhenner, jprause, kborole, lavenel, mpovolny, nansari, obarenbo, sbulage, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1680959 1680960 (view as bug list) Environment:
Last Closed: 2019-12-13 14:57:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1741883, 1750370    
Bug Blocks: 1680959, 1680960    
Attachments:
Description Flags
ElapseTime-5.10.0.33 none

Description Imaan 2018-12-19 09:37:46 UTC
Description of problem:

When running a ansible-playbook service, at the end of the run in the service entry you can see the elapsed time for provisioning.  If this time is more than 60 minutes, it shows hours, however, the minutes counter still displays a value over 60.

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

5.9.6 


How reproducible: always

Steps to Reproduce:

Execute the playbook execution in Services -> My Services and Provisioning Tab for the desired playbook.

Actual results: It shows 60+ mins in the Elapsed section although the hours are updated correctly. 


Expected results: It should display the correct details

Comment 4 Dave Johnson 2018-12-19 11:02:35 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 14 Khushbu Borole 2019-02-21 12:01:25 UTC
Created attachment 1537020 [details]
ElapseTime-5.10.0.33

Comment 17 CFME Bot 2019-02-21 15:41:28 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/71964863529319f8354472cd8a76601cf7fd255b
commit 71964863529319f8354472cd8a76601cf7fd255b
Author:     Hilda Stastna <hstastna>
AuthorDate: Thu Feb 21 06:07:02 2019 -0500
Commit:     Hilda Stastna <hstastna>
CommitDate: Thu Feb 21 06:07:02 2019 -0500

    Fix wrong displayed elapsed time in the service

    https://bugzilla.redhat.com/show_bug.cgi?id=1660803

 app/helpers/service_helper/textual_summary.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 21 Satyajit Bulage 2019-09-04 14:07:46 UTC
The Current BZ verification is blocked due to another BZ --> https://bugzilla.redhat.com/show_bug.cgi?id=1741883#c3
This can be verified only when BZ #1741883 is verified.

Comment 27 Satyajit Bulage 2019-09-12 18:23:18 UTC
Blocker BZ has been verified. Able to see the correct time shown in the UI if playbook has run more than 60mins.

Verified Version: 5.11.0.24.20190911182429_55bc9be