Bug 1253215 - Template creation of VM+qcow2 disk failure
Summary: Template creation of VM+qcow2 disk failure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Maor
QA Contact: Ori Gofen
URL:
Whiteboard: storage
Depends On: 1264677
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-13 08:59 UTC by Ori Gofen
Modified: 2016-03-10 15:11 UTC (History)
10 users (show)

Fixed In Version: 3.6.0-12
Clone Of:
Environment:
Last Closed: 2015-11-04 13:40:56 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-3.6.0+
rule-engine: blocker+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
engine.log (232.04 KB, text/plain)
2015-08-13 08:59 UTC, Ori Gofen
no flags Details

Description Ori Gofen 2015-08-13 08:59:20 UTC
Created attachment 1062407 [details]
engine.log

Description of problem:
When trying to create a template from a VM with qcow2 disk, The operation fails on ui but succeed de facto.
a pop up window explains:

"Error while executing action New VM Template: This operation is currently blocked due to the status of the Image file.
The Image file status is transient (probably locked by another parallel operation). Please wait for the status to clear and try again."

engine log:
2015-08-13 11:43:57,331 ERROR [org.ovirt.engine.core.bll.AddVmTemplateCommand] (default task-63) [765f3a71] Command 'org.ovirt.engine.core.bll.AddVmTemplateCommand' failed: EngineException: IRS_IMAGE_STATUS_ILLEGAL (Failed with error IRS_IMAGE_STATUS_ILLEGAL and code 5006)
2015-08-13 11:43:57,337 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-63) [765f3a71] Correlation ID: 765f3a71, Job ID: 88f52b22-f2f4-4fd7-8962-8610bd3078bd, Call Stack: null, Custom Event ID: -1, Message: Failed to complete creation of Template t2 from VM vm_qcow_2.
 
Version-Release number of selected component (if applicable):
3.6

How reproducible:
100%

Steps to Reproduce:
1.have a vm+qcow disk
2.open "New Template" dialogue
3.tab browse to 'ok' button
4. press ok

Actual results:
Operation Fails on UI

Expected results:
Operation UI status should be in correlation with the backend 

Additional info:

Comment 1 Allon Mureinik 2015-08-13 10:58:39 UTC
The log is full with hibernate errors, which is probably the real problem here, and not the template creation.
Maor - please take a look?

Comment 2 Maor 2015-09-08 07:44:47 UTC
It looks like an infra issue which should be fixed already:
 "A collection with cascade="all-delete-orphan" was no longer referenced by the owning entity instance: org.ovirt.engine.core.common.job.Job.steps"
Ori, does it still reproduce with the new QE build.

Comment 3 Allon Mureinik 2015-09-13 10:58:45 UTC
(In reply to Maor from comment #2)
> It looks like an infra issue which should be fixed already:
>  "A collection with cascade="all-delete-orphan" was no longer referenced by
> the owning entity instance: org.ovirt.engine.core.common.job.Job.steps"
> Ori, does it still reproduce with the new QE build.

This is indeed a regression on the infra side, that should have been fixed in the last build.
Returning to ON_QA for QA to verify.

Comment 4 Red Hat Bugzilla Rules Engine 2015-09-22 07:43:54 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 5 Ori Gofen 2015-10-27 14:02:24 UTC
Verfied on rhevm-3.6.0.2

Comment 6 Sandro Bonazzola 2015-11-04 13:40:56 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.


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