Bug 1585709

Summary: Service dialog targeted element refresh is refreshing targeted items 22 times
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: UI - ServiceAssignee: drew uhlmann <duhlmann>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: bascar, cpelland, dclarizi, duhlmann, eclarizi, itewksbu, jprause, lavenel, obarenbo, smallamp, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1578080 Environment:
Last Closed: 2018-07-12 13:15:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1578080    
Bug Blocks:    

Comment 2 CFME Bot 2018-06-04 13:33:41 UTC
New commit detected on ManageIQ/manageiq-ui-service/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-service/commit/be89d8475ec00011f837708376ac3af5d5b27671
commit be89d8475ec00011f837708376ac3af5d5b27671
Author:     Allen Wight <allen.b.wight>
AuthorDate: Thu May 31 10:51:36 2018 -0400
Commit:     Allen Wight <allen.b.wight>
CommitDate: Thu May 31 10:51:36 2018 -0400

    Merge pull request #1438 from d-m-u/fixing_sui_api_call_to_match_cui

    Change service dialog api call to match CUI
    (cherry picked from commit c0f89fc93a69c40af56b98f38f99134481edfe40)

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

 client/app/states/catalogs/details/details.state.js | 10 +-
 client/app/states/catalogs/details/details.state.spec.js | 13 +-
 2 files changed, 13 insertions(+), 10 deletions(-)

Comment 3 Shveta 2018-06-07 20:46:43 UTC
Drew , I am seeing this in logs from SUI 
===============================================
[----] I, [2018-06-07T16:42:04.659688 #12111:11a0440]  INFO -- : Invoking [inline] method [/RedHatConsulting_Utilities/Service/Provisioning/DynamicDialogs/get_networks] with inputs [{"destination_provider_index"=>0, "network_purpose"=>"provisioning", "required"=>true}]
[----] I, [2018-06-07T16:42:06.241084 #12111:11a0440]  INFO -- : Invoking [inline] method [/RedHatConsulting_Utilities/Service/Provisioning/DynamicDialogs/get_networks] with inputs [{"destination_provider_index"=>0, "network_purpose"=>"destination", "required"=>false}]
[----] I, [2018-06-07T16:42:11.915859 #12111:11a0440]  INFO -- : Invoking [inline] method [/RedHatConsulting_Utilities/Service/Provisioning/DynamicDialogs/get_networks] with inputs [{"destination_provider_index"=>1, "network_purpose"=>"provisioning", "required"=>true}]
[----] I, [2018-06-07T16:42:13.266443 #12111:11a0440]  INFO -- : Invoking [inline] method [/RedHatConsulting_Utilities/Service/Provisioning/DynamicDialogs/get_networks] with inputs [{"destination_provider_index"=>1, "network_purpose"=>"destination", "required"=>false}]
[----] I, [2018-06-07T16:42:18.566097 #12111:11a0440]  INFO -- : Invoking [inline] method [/RedHatConsulting_Utilities/Service/Provisioning/DynamicDialogs/get_networks] with inputs [{"destination_provider_index"=>2, "network_purpose"=>"provisioning", "required"=>true}]
[----] I, [2018-06-07T16:42:20.114564 #12111:11a0440]  INFO -- : Invoking [inline] method [/RedHatConsulting_Utilities/Service/Provisioning/DynamicDialogs/get_networks] with inputs [{"destination_provider_index"=>2, "network_purpose"=>"destination", "required"=>false}]
[----] I, [2018-06-07T16:42:25.247657 #12111:11a0440]  INFO -- : Invoking [inline] method [/RedHatConsulting_Utilities/Service/Provisioning/DynamicDialogs/get_networks] with inputs [{"destination_provider_index"=>3, "network_purpose"=>"provisioning", "required"=>true}]
[----] I, [2018-06-07T16:42:26.792589 #12111:11a0440]  INFO -- : Invoking [inline] method [/RedHatConsulting_Utilities/Service/Provisioning/DynamicDialogs/get_networks] with inputs [{"destination_provider_index"=>3, "network_purpose"=>"destination", "required"=>false}]




=======================
[root@host-192-168-100-246 ~]# grep "get_networks] with inputs \[{\"destination_provider_index\"=>2" /var/www/miq/vmdb/log/automation.log | wc -l
8


========================
The count is same from admin and SUI .
Can you take a look and confirm if this is what is expected .
Appliance : https://10.8.199.164/ui/service

Comment 4 drew uhlmann 2018-06-07 21:26:45 UTC
This is the count I would expect from this dialog, yes.

Comment 5 Shveta 2018-06-07 21:37:25 UTC
Thanks. 
Verified in 5.9.3.1.20180606184006_8d120c0.

Comment 7 errata-xmlrpc 2018-07-12 13:15:53 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-2018:2184