Bug 1532332 - [RHV][Graph Refresh] "Archived" Hosts are displayed several times on CFME
Summary: [RHV][Graph Refresh] "Archived" Hosts are displayed several times on CFME
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Piotr Kliczewski
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev:graph refresh:host refresh
Depends On: 1528859
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-08 16:39 UTC by Satoe Imaishi
Modified: 2019-11-19 22:35 UTC (History)
11 users (show)

Fixed In Version: 5.9.0.17
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1528859
Environment:
Last Closed: 2018-03-06 15:27:10 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ manageiq-providers-ovirt pull 189 0 None None None 2018-01-08 16:39:55 UTC
Github ManageIQ manageiq pull 16750 0 None None None 2018-01-08 16:39:55 UTC

Comment 1 CFME Bot 2018-01-08 16:41:00 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:
https://github.com/ManageIQ/manageiq/commit/58916b2ca8a0d95a8a4babeaa8f55a17ec2f2b45

commit 58916b2ca8a0d95a8a4babeaa8f55a17ec2f2b45
Author:     Adam Grare <agrare>
AuthorDate: Mon Jan 8 08:31:18 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Jan 8 11:35:13 2018 -0500

    Merge pull request #16750 from pkliczewski/reconnect
    
    Reconnect host on provider add
    (cherry picked from commit 1caf7137d6472eb496e2d251aca9ecc2b49b8342)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532332

 .../inventory_collection_default/infra_manager.rb  | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Comment 2 CFME Bot 2018-01-09 14:51:09 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:
https://github.com/ManageIQ/manageiq/commit/bf37ca57fca0a572c50d0526e63109e9e3b16eb4

commit bf37ca57fca0a572c50d0526e63109e9e3b16eb4
Author:     Adam Grare <agrare>
AuthorDate: Tue Jan 9 09:25:45 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Jan 9 09:47:14 2018 -0500

    Merge pull request #16767 from pkliczewski/reconnect
    
    Reconnect host on provider add
    (cherry picked from commit b3c7633ba07f369c6cc514d3b31b9fcbedca222c)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532332

 .../inventory_collection_default/infra_manager.rb  | 67 ++++++++++++++--------
 1 file changed, 43 insertions(+), 24 deletions(-)

Comment 3 CFME Bot 2018-01-10 19:19:13 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:
https://github.com/ManageIQ/manageiq-providers-ovirt/commit/bc5bd40f2d640fa8a62154f05bd8035c88c2c7e1

commit bc5bd40f2d640fa8a62154f05bd8035c88c2c7e1
Author:     Moti Asayag <masayag>
AuthorDate: Wed Jan 10 10:32:48 2018 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Jan 10 14:11:21 2018 -0500

    Merge pull request #189 from pkliczewski/reconnect
    
    Reconnect host on provider add
    (cherry picked from commit 057e7d051f62256e488dea83ab004714880755aa)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1532332

 .../refresh/refresher_4_async_graph_spec.rb        | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Comment 4 Ilanit Stein 2018-01-29 14:35:03 UTC
Verified on CFME-5.9.0.18/RHV-4.1.8:

On this CFME version the hosts are reused.
When a RHV provider is removed, it's hosts turn into Archived.
When the RHV provider is added back, the Archived hosts will turn into Active hosts.

This is true for regular refresh, as well as Graph refresh.

On Graph refresh, The Archived hosts are not accumulated anymore, each time same RHV provider is removed from CFME.


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