Bug 1854488 - [RHV-CNV] - NPE when creating new VM in cnv cluster
Summary: [RHV-CNV] - NPE when creating new VM in cnv cluster
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ovirt-4.4.2
: 4.4.2
Assignee: Lucia Jelinkova
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-07 14:50 UTC by Artur Socha
Modified: 2022-07-09 12:54 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.4.2.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-23 16:11:10 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-37444 0 None None None 2022-07-09 12:54:23 UTC
Red Hat Product Errata RHSA-2020:3807 0 None None None 2020-09-23 16:12:06 UTC
oVirt gerrit 110170 0 None ABANDONED engine: NPE fix when CNV VM created from template 2020-10-22 09:48:20 UTC
oVirt gerrit 110201 0 master MERGED engine: Don't call AddVmFromTemplate for KubeVirt 2020-10-22 09:48:20 UTC

Description Artur Socha 2020-07-07 14:50:14 UTC
Description of problem:
Creating new VM in CNV (unmanaged) cluster causes using add vm from template action which should not happen because in this scenario disks are 'thin-provisioned'

Version-Release number of selected component (if applicable):
4.4.4.master

How reproducible:
Setup CNV provider

Steps to Reproduce:
1. create new vm
2.
3.

Actual results:
Internal Server Error caused by Null Pointer Exception

Expected results:
Vm created and synced to kubernetes cluster

Additional info:

Comment 5 Pavol Brilla 2020-08-26 17:27:26 UTC
Aug 26, 2020, 7:25:53 PM
Disk example-disk-claim was successfully attached to VM example by SYSTEM.
	
Aug 26, 2020, 7:25:53 PM
VM example was created by SYSTEM.
	
Aug 26, 2020, 7:25:51 PM
VM example creation in KubeVirt was initiated by admin@internal-authz


Software Version:4.4.2.2-0.3.el8ev

Comment 9 errata-xmlrpc 2020-09-23 16:11:10 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 (Moderate: Red Hat Virtualization security, bug fix, and enhancement update), 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-2020:3807


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