Bug 1642318

Summary: wrong sections for pinned VMs when the VM is pinned to more hosts
Product: Red Hat Enterprise Virtualization Manager Reporter: Lucie Leistnerova <lleistne>
Component: rhv-log-collector-analyzerAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED WONTFIX QA Contact: Guilherme Santos <gdeolive>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.7CC: dougsland, isaranov, lleistne, lsvaty, michal.skrivanek, sbonazzo
Target Milestone: ---Keywords: FieldEngineering, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-27 12:58:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: External RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1658509    
Bug Blocks:    
Attachments:
Description Flags
pinned sections none

Description Lucie Leistnerova 2018-10-24 07:47:46 UTC
Created attachment 1496935 [details]
pinned sections

Description of problem:
When VM is pinned to more hosts it appears in section 
Virtual Machine(s) pinned with Unknown Host
and also in
Virtual Machine(s) pinned
even when the hosts are the same.

Version-Release number of selected component (if applicable):
rhv-log-collector-analyzer-0.1.6-0.el7ev.noarch

How reproducible: always


Steps to Reproduce:
1. edit VM, Host -> Start Running On: Specific host - select more than 1 host
2. run ovirt-log-collector
3. run rhv-log-collector-analyzer with generated sosreport
4. see analyzer_report.html

Actual results: VM appears in both sections


Expected results: VM is only in Virtual Machine(s) pinned section

Additional info:
The number of VMs in description of Virtual Machine(s) pinned is also wrong.
- There are 3 virtual machine(s) pinned, but it is only 1

Comment 1 Douglas Schilling Landgraf 2018-10-24 15:29:31 UTC
(In reply to Lucie Leistnerova from comment #0)
> Created attachment 1496935 [details]
> pinned sections
> 
> Description of problem:
> When VM is pinned to more hosts it appears in section 
> Virtual Machine(s) pinned with Unknown Host
> and also in
> Virtual Machine(s) pinned
> even when the hosts are the same.
> 
> Version-Release number of selected component (if applicable):
> rhv-log-collector-analyzer-0.1.6-0.el7ev.noarch
> 
> How reproducible: always
> 
> 
> Steps to Reproduce:
> 1. edit VM, Host -> Start Running On: Specific host - select more than 1 host
> 2. run ovirt-log-collector
> 3. run rhv-log-collector-analyzer with generated sosreport
> 4. see analyzer_report.html
> 
> Actual results: VM appears in both sections
> 
> 
> Expected results: VM is only in Virtual Machine(s) pinned section
> 
> Additional info:
> The number of VMs in description of Virtual Machine(s) pinned is also wrong.
> - There are 3 virtual machine(s) pinned, but it is only 1

Could you please share the sosreport?

Comment 5 Sandro Bonazzola 2019-01-21 08:28:33 UTC
re-targeting to 4.3.1 since this BZ has not been proposed as blocker for 4.3.0.
If you think this bug should block 4.3.0 please re-target and set blocker flag.

Comment 13 Sandro Bonazzola 2019-03-12 12:53:49 UTC
4.3.1 has been released, please re-target this bug as soon as possible.

Comment 15 Ivana Saranova 2019-03-28 16:25:22 UTC
Can't verify due to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1658509, please retarget milestone and remove from errata, thanks.

Comment 17 Sandro Bonazzola 2019-05-07 12:30:34 UTC
(In reply to Ivana Saranova from comment #15)
> Can't verify due to this bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1658509, please retarget
> milestone and remove from errata, thanks.

Douglas handled it.

Comment 19 Ivana Saranova 2019-08-19 13:56:20 UTC
Sorry, misclicked on the status.

Comment 20 Michal Skrivanek 2019-08-27 12:58:51 UTC
decided to remove the non-live use of rhv-log-collector-analyzer