Bug 1855377 - [CNV&RHV] Add-Disk operation failed to complete.
Summary: [CNV&RHV] Add-Disk operation failed to complete.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.0
Hardware: All
OS: All
medium
medium
Target Milestone: ovirt-4.4.2
: 4.4.2
Assignee: Benny Zlotnik
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-09 17:30 UTC by Pavol Brilla
Modified: 2023-09-15 01:30 UTC (History)
7 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: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (23.06 KB, text/plain)
2020-07-09 17:33 UTC, Pavol Brilla
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-37464 0 None None None 2022-07-09 12:58:26 UTC
Red Hat Product Errata RHSA-2020:3807 0 None None None 2020-09-23 16:12:06 UTC
oVirt gerrit 110499 0 master MERGED core: disable callback for PVCDisks 2020-08-25 11:03:32 UTC

Description Pavol Brilla 2020-07-09 17:30:39 UTC
Description of problem:
Add-Disk operation failed to complete. - was thrown in rhev-m after refresh of ocp virtualization cluster ( I was adding new vm and template inside ocp to start tests )

Version-Release number of selected component (if applicable):
4.4.1.5-0.17.el8ev

How reproducible:
100

Steps to Reproduce:
1. add new provider of ocp virtualization to rhevm
2. create new vm/  template inside ocp
3. check refresh of vm/templates inside rhevm - you will error message

Actual results:
I got error message inside rhevm about disk

Expected results:
information should be obtained without errors

Additional info:
will attach log in comment

Comment 1 Pavol Brilla 2020-07-09 17:33:56 UTC
Created attachment 1700475 [details]
engine.log

Comment 2 Michal Skrivanek 2020-07-10 04:55:19 UTC
possibly related to Benny's I329c4d7d2fc7322e4165acaaa678c5b553c15e01

Comment 3 Pavol Brilla 2020-07-10 09:51:42 UTC
Possibly related to BZ#1854488

Comment 4 Pavol Brilla 2020-07-10 09:52:18 UTC
Possibly related to BZ#1854488

Comment 5 Benny Zlotnik 2020-07-12 08:21:46 UTC
(In reply to Michal Skrivanek from comment #2)
> possibly related to Benny's I329c4d7d2fc7322e4165acaaa678c5b553c15e01
Could be, though it seems like it has the same flow as regular disk image so it "should" work. But I don't see the creation itself, nor vdsm logs.
Is talayan-pytest-8gw99-worker-rgnr5 a vdsm host?
Pavol, can you provide the full logs?

Comment 6 Pavol Brilla 2020-07-24 13:11:42 UTC
No it is not - talayan-pytest-8gw99-worker-rgnr5 is OCP worker talayan-pytest-8gw99-worker-rgnr5

From my point  this is duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1845396 <- process was same for both bugs - to create OCP VM in RHV - now there is code to block creation of diskless ocp vm, so I stop seeing this errorRHV

Comment 7 Benny Zlotnik 2020-07-28 10:02:35 UTC
After discussing this, the callback was not supposed to run for CNV disks (and there was code to prevent it), but it did even before my patch because the disk type was overridden. I posted a fix to avoid running some of the code that is relevant only for regular images so no callback is run, it should also shave a few seconds off the operation

Comment 12 Pavol Brilla 2020-08-26 17:28:55 UTC
Software Version:4.4.2.2-0.3.el8ev

Aug 26, 2020, 7:25:11 PM	
The disk 'example-disk-claim' was successfully added.

No errors on ocp pvcs

Comment 16 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

Comment 18 Red Hat Bugzilla 2023-09-15 01:30:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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