Bug 1440573

Summary: [Ansible-UI]: Improve task name for Ansible tasks.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: James Wong <jwong>
Status: CLOSED ERRATA QA Contact: Satyajit Bulage <sbulage>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: akarol, gblomqui, hkataria, jfrey, jhardy, jwong, mpovolny, obarenbo, sbulage, simaishi
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:task:ansible
Fixed In Version: 5.8.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1439203 Environment:
Last Closed: 2017-05-31 14:50:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1439203    
Bug Blocks:    
Attachments:
Description Flags
Screenshot showing actual results none

Comment 2 Satyajit Bulage 2017-05-03 10:15:36 UTC
Created attachment 1275869 [details]
Screenshot showing actual results

I am able to reproduce this issue, see attached screenshot.

Comment 3 James Wong 2017-05-03 13:15:33 UTC
Hi Satyajit,

This is a clone of your https://bugzilla.redhat.com/show_bug.cgi?id=1439203#c0 in which the problem you reported was that the name of the repo being created was blanked out in the task name column.

Please refer to the first task row of in the screen shot here: https://bugzilla.redhat.com/attachment.cgi?id=1268946

Now in your new screen shot, the row 3 of the tasks is clearly showing the task is creating a repo "name=My repo".

If you have new request, I think a new bug would be better.

thanks,
James

Comment 8 CFME Bot 2017-05-09 12:46:09 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/dc560d8f354496c24cd93543f1be7c90f8690d76

commit dc560d8f354496c24cd93543f1be7c90f8690d76
Author:     Greg Blomquist <blomquisg@gmail.com>
AuthorDate: Mon May 8 17:31:24 2017 -0400
Commit:     Satoe Imaishi <simaishi@redhat.com>
CommitDate: Tue May 9 08:42:57 2017 -0400

    Merge pull request #14977 from jameswnl/task-name
    
    Use human friendly names in task names and notifications for Tower CUD operations
    (cherry picked from commit d7c36131c9a824aae2f3741c42d7632a09f9743b)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1440573
    https://bugzilla.redhat.com/show_bug.cgi?id=1449223

 .../configuration_script_source.rb                 |  2 ++
 .../shared/automation_manager/credential.rb        |  2 ++
 .../shared/automation_manager/tower_api.rb         | 20 +++++++++--------
 .../configuration_script_source.rb                 | 25 +++++++++++-----------
 .../automation_manager/credential.rb               | 24 ++++++++++-----------
 5 files changed, 39 insertions(+), 34 deletions(-)

Comment 11 Satyajit Bulage 2017-05-12 08:11:34 UTC
Able to see proper Task name for Ansible Tasks.

Verified Version: 5.8.0.14-rc3.20170509175238_5dbf87a

Comment 13 errata-xmlrpc 2017-05-31 14:50:56 UTC
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/RHSA-2017:1367