Bug 1815138

Summary: Disk import activity fails if datavolume does not have owner reference
Product: OpenShift Container Platform Reporter: Rastislav Wagner <rawagner>
Component: Console Kubevirt PluginAssignee: Rastislav Wagner <rawagner>
Status: CLOSED ERRATA QA Contact: Nelly Credi <ncredi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, gouyang
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Any DataVolume is considered as VM Disk import which is not correct. This also causes Activity card to fail (disappear) Consequence: Activity card expects that DataVolume has owner reference set which is not always the case. Fix: Only DataVolumes with owner reference to VM are considered as VM disk import activity. Result: Activity card wont disappear anymore if there's DataVolume without owner reference.
Story Points: ---
Clone Of:
: 1815141 (view as bug list) Environment:
Last Closed: 2020-08-04 18:06:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1815141    

Description Rastislav Wagner 2020-03-19 15:11:02 UTC
Description of problem:

If DataVolume does not contain reference to VM, it should not be considered as VM Disk import activity. 


How reproducible:
Create DataVolume manually and check Dashboards page - activity card will disappear as created DV does not contain owner reference to VM

Comment 3 Guohua Ouyang 2020-03-30 08:25:01 UTC
I could reproduce the issue with OCP 4.4. 
And the issue is gone when run UI under development mode from master.

Comment 4 Guohua Ouyang 2020-03-31 01:56:03 UTC
verified on 4.5.0-0.nightly-2020-03-29-224016

Comment 6 errata-xmlrpc 2020-08-04 18:06:08 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 (OpenShift Container Platform 4.5 image release 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/RHBA-2020:2409