Red Hat Bugzilla – Bug 1253215
Template creation of VM+qcow2 disk failure
Last modified: 2016-03-10 10:11:32 EST
Created attachment 1062407 [details]
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."
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):
Steps to Reproduce:
1.have a vm+qcow disk
2.open "New Template" dialogue
3.tab browse to 'ok' button
4. press ok
Operation Fails on UI
Operation UI status should be in correlation with the backend
The log is full with hibernate errors, which is probably the real problem here, and not the template creation.
Maor - please take a look?
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.
(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.
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.
Verfied on rhevm-22.214.171.124
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.