Bug 1398746 - VM pool creation fails when the used template has a RAW disk (ACTION_TYPE_FAILED_THIN_TEMPLATE_DISKS_SHOULD_ONLY_BE_COW)
Summary: VM pool creation fails when the used template has a RAW disk (ACTION_TYPE_FAI...
Keywords:
Status: CLOSED DUPLICATE of bug 1397866
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.0.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-25 18:25 UTC by Pavel Novotny
Modified: 2016-11-26 06:58 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-26 06:58:32 UTC
oVirt Team: Virt
Embargoed:
pnovotny: ovirt-4.0.z?
rule-engine: blocker?
pnovotny: planning_ack?
pnovotny: devel_ack?
pnovotny: testing_ack?


Attachments (Terms of Use)
engine.log (6.68 KB, text/plain)
2016-11-25 18:25 UTC, Pavel Novotny
no flags Details

Description Pavel Novotny 2016-11-25 18:25:29 UTC
Created attachment 1224431 [details]
engine.log

Description of problem:
Creation of a VM pool fails when the used template has a RAW disk. With QCOW2 disk(s) it works fine.
The event log also contains contradictory messages.

Version-Release number of selected component (if applicable):
rhevm-4.0.6-0.1.el7ev.noarch

How reproducible:
always

Steps to Reproduce:
1. In webadmin, create a VM with 1 disk (1GB, VirtIO, Thin Provision).
2. Create new template from the VM. Make sure to set the disk format to 'Raw'.
3. Create new VM pool from the template.
   (Number of VMs & VMs per user: 10, Prestarted: 0)

Actual results:
The VM pool is not created. The event log shows following contradictory messages:
-~-
6:17:47 PM Not all VMs where successfully created in VM Pool <UNKNOWN>.
6:17:48 PM Failed to create VM Pool pool-raw (User: admin@internal-authz).
6:17:49 PM VM Pool pool-raw (containing 10 VMs) was created by admin@internal-authz.
-~-

engine.log contains this message (find the full log attached):
18:17:47,279 WARN  [org.ovirt.engine.core.bll.AddVmCommand] (org.ovirt.thread.pool-6-thread-8) [4f77fb97] Validation of action 'AddVm' failed for user admin@internal-authz. Reasons: VAR__ACTION__ADD,VAR__TYPE__VM,ACTION_TYPE_FAILED_THIN_TEMPLATE_DISKS_SHOULD_ONLY_BE_COW


Expected results:
The VM pool is successfully created.

Additional info:
Regression against rhevm-3.6.10-0.1.el6.noarch
Reproduced also in ovirt-engine-4.1.0-0.0.master.20161124091617.git2785371.el7.centos.noarch

Comment 1 Red Hat Bugzilla Rules Engine 2016-11-25 18:25:36 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 2 Michal Skrivanek 2016-11-26 06:58:32 UTC

*** This bug has been marked as a duplicate of bug 1397866 ***


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