Bug 1528859
Summary: | [RHV][Graph Refresh] "Archived" Hosts are displayed several times on CFME, with Power state: ON ("Running") | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Ilanit Stein <istein> | ||||||||||||
Component: | Providers | Assignee: | Piotr Kliczewski <pkliczew> | ||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Angelina Vasileva <anikifor> | ||||||||||||
Severity: | high | Docs Contact: | |||||||||||||
Priority: | high | ||||||||||||||
Version: | 5.9.0 | CC: | agrare, gblomqui, istein, jfrey, jhardy, masayag, mperina, obarenbo, pkliczew, smallamp | ||||||||||||
Target Milestone: | GA | Keywords: | Regression, TestOnly | ||||||||||||
Target Release: | 5.10.0 | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
Whiteboard: | rhev:graph refresh:host refresh | ||||||||||||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | ||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | |||||||||||||||
: | 1532332 (view as bug list) | Environment: | |||||||||||||
Last Closed: | 2019-02-11 14:02:53 UTC | Type: | Bug | ||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||
Documentation: | --- | CRM: | |||||||||||||
Verified Versions: | Category: | Bug | |||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
Cloudforms Team: | RHEVM | Target Upstream Version: | |||||||||||||
Embargoed: | |||||||||||||||
Bug Depends On: | |||||||||||||||
Bug Blocks: | 1532255, 1532332 | ||||||||||||||
Attachments: |
|
Description
Ilanit Stein
2017-12-24 16:41:09 UTC
Created attachment 1371914 [details]
evm.log
Created attachment 1371915 [details]
automation.log
Created attachment 1371916 [details]
rhevm.log
Created attachment 1371917 [details]
host_with_3_archived_hosts_displayed.png
Created attachment 1371918 [details]
host_with_2_archived_hosts_displayed.png.png
Is it a result of adding and removing the provider over and over again? Or each test was done on a new instance of CFME? It is for sure a result of adding and removing the RHV provider, several time from the same CFME. I just retested it: I removed the RHV, and added it back, and now the number of hosts had increased to 2040 = 1632(The previous number of Hosts, including all the "Archived" ones) + 408(The actual number of hosts on RHV). (In reply to Ilanit Stein from comment #8) > It is for sure a result of adding and removing the RHV provider, several > time from the same CFME. > > I just retested it: > I removed the RHV, and added it back, and now the number of hosts had > increased to 2040 = > 1632(The previous number of Hosts, including all the "Archived" ones) + > 408(The actual number of hosts on RHV). So as far as I know this is by design. Moti - do you remember? (In reply to Oved Ourfali from comment #9) > (In reply to Ilanit Stein from comment #8) > > It is for sure a result of adding and removing the RHV provider, several > > time from the same CFME. > > > > I just retested it: > > I removed the RHV, and added it back, and now the number of hosts had > > increased to 2040 = > > 1632(The previous number of Hosts, including all the "Archived" ones) + > > 408(The actual number of hosts on RHV). > > So as far as I know this is by design. > Moti - do you remember? I don't recall the behavior of removed hosts in the system. I'd expect it to be the same as for other providers. Ilanit, could you test the same with VMware provider ? Important info: The bug was reported for CFME-5.9.0.14 + RHV Graph refresh - ON The behavior of accumulating more hosts, further to each RHV removal & add, DO NOT occur on CFME-5.9.0.14 + RHV Graph refresh - OFF. It was tested by the following steps: 1. CFME was moved to RHV Graph refresh - OFF (in settings.yml). 2. CFME showed 2040 hosts (408 that exist on RHV + Archived hosts), 3. RHV was removed, and added back: 4. CFME showed 2040 hosts - the number of hosts remained, same as it was on previous RHV connection. 5. Again RHV was removed, and added back - the number of hosts remained, same as it was on previous RHV connection. Need info for testing the hosts display on VMWare was removed since the bug was proven as Graph Refresh Specific, and not occurring for RHV provider, without Graph refresh. Ilanit, I noticed that host status is the same for both refresh types. I suggest to open new BZ to cover only status. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/2ede836323c8d0fbe48fe1648bda0f14b2314101 commit 2ede836323c8d0fbe48fe1648bda0f14b2314101 Author: Piotr Kliczewski <piotr.kliczewski> AuthorDate: Fri Jan 5 16:06:32 2018 +0100 Commit: Piotr Kliczewski <piotr.kliczewski> CommitDate: Mon Jan 8 11:54:59 2018 +0100 Reconnect host on provider add We need to make sure that when we remove a provider and add it again we will keep using the same host entities. Without this change add and remove provider cause to duplicate hosts. Fixes https://bugzilla.redhat.com/1528859 .../inventory_collection_default/infra_manager.rb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/2ede836323c8d0fbe48fe1648bda0f14b2314101 commit 2ede836323c8d0fbe48fe1648bda0f14b2314101 Author: Piotr Kliczewski <piotr.kliczewski> AuthorDate: Fri Jan 5 16:06:32 2018 +0100 Commit: Piotr Kliczewski <piotr.kliczewski> CommitDate: Mon Jan 8 11:54:59 2018 +0100 Reconnect host on provider add We need to make sure that when we remove a provider and add it again we will keep using the same host entities. Without this change add and remove provider cause to duplicate hosts. Fixes https://bugzilla.redhat.com/1528859 .../inventory_collection_default/infra_manager.rb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/efaa339af78a230eed513d002ce4487ae162a977 commit efaa339af78a230eed513d002ce4487ae162a977 Author: Piotr Kliczewski <piotr.kliczewski> AuthorDate: Mon Jan 8 17:19:39 2018 +0100 Commit: Piotr Kliczewski <piotr.kliczewski> CommitDate: Mon Jan 8 17:22:18 2018 +0100 Reconnect host on provider add Persister expect all the methods to define collection attributes when performin targeted refresh so moving the lambda. Fixes https://bugzilla.redhat.com/1528859 .../inventory_collection_default/infra_manager.rb | 67 ++++++++++++++-------- 1 file changed, 43 insertions(+), 24 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/efaa339af78a230eed513d002ce4487ae162a977 commit efaa339af78a230eed513d002ce4487ae162a977 Author: Piotr Kliczewski <piotr.kliczewski> AuthorDate: Mon Jan 8 17:19:39 2018 +0100 Commit: Piotr Kliczewski <piotr.kliczewski> CommitDate: Mon Jan 8 17:22:18 2018 +0100 Reconnect host on provider add Persister expect all the methods to define collection attributes when performin targeted refresh so moving the lambda. Fixes https://bugzilla.redhat.com/1528859 .../inventory_collection_default/infra_manager.rb | 67 ++++++++++++++-------- 1 file changed, 43 insertions(+), 24 deletions(-) New commit detected on ManageIQ/manageiq-providers-ovirt/master: https://github.com/ManageIQ/manageiq-providers-ovirt/commit/90fcaed2de4fa587e256f892bf5a66ecaf23676f commit 90fcaed2de4fa587e256f892bf5a66ecaf23676f Author: Piotr Kliczewski <piotr.kliczewski> AuthorDate: Fri Jan 5 14:01:03 2018 +0100 Commit: Piotr Kliczewski <piotr.kliczewski> CommitDate: Tue Jan 9 15:56:21 2018 +0100 Reconnect host on provider add We need to make sure that when we remove a provider and add it again we will keep using the same host entities. Without this change add and remove provider cause to duplicate hosts. Fixes https://bugzilla.redhat.com/1528859 .../refresh/refresher_4_async_graph_spec.rb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) (In reply to Piotr Kliczewski from comment #14) > Ilanit, I noticed that host status is the same for both refresh types. I > suggest to open new BZ to cover only status. Filed this bug (which is unrelated to the refresh type) Bug 1533397 - Archived Hosts have power State "On" in the Host summary page Verified on CFME-5.10.0.15 (That has Graph refresh ON, by default)/RHV-4.2.3. Remove RHV provider makes hosts turn into Archived, and when the RHV is added back, same host tun into Active. |