Bug 1225517 - [engine-backend] Engine ignores image creation when creating a VM from templates list
Summary: [engine-backend] Engine ignores image creation when creating a VM from templa...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: ---
Hardware: x86_64
OS: Unspecified
medium
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Tomas Jelinek
QA Contact: Petr Matyáš
URL:
Whiteboard: virt
Depends On:
Blocks: 1117484
TreeView+ depends on / blocked
 
Reported: 2015-05-27 14:59 UTC by Elad
Modified: 2016-02-10 19:23 UTC (History)
8 users (show)

Fixed In Version: 3.6.0-4_alpha3
Clone Of:
Environment:
Last Closed: 2015-11-27 07:48:17 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
pnovotny: testing_ack+


Attachments (Terms of Use)
sosreport and vdsm.log (7.39 MB, application/x-gzip)
2015-05-27 14:59 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 43318 0 master MERGED webadmin: Instance images part ignored when created VM from template list Never

Description Elad 2015-05-27 14:59:51 UTC
Created attachment 1030602 [details]
sosreport and vdsm.log

Description of problem:
Tried to create a new VM out of a template (Blank, which doesn't have any disks attached), from the templates list (https://bugzilla.redhat.com/show_bug.cgi?id=1117484). In the VM creation prompt, created a new image disk. After its creation, the VM doesn't have any disks attached to it. The image creation request from admin is ignored by engine.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150519172219.git9a2e2b3.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. In webadmin, navigate to Templates-> click on 'Blank' template-> 'New VM'
2. Create a disk from the VM creation prompt and commit VM creation by clicking OK


Actual results:
Image creation is not initiated by engine, the new VM is diskless.

Here is the VM creation in engine.log:
2015-05-27 17:36:40,810 INFO  [org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (ajp--127.0.0.1-8702-3) [63e308b4] Running command: AddVmFromTemplateCommand internal: false. Entities affected :  ID: 00000002-0002-0002-0002-000000000079 Type: VdsGroupsAction group CREATE_VM with role type USER,  ID: 12b28100-94d5-4059-aabd-477f2b8d3904 Type: VmTemplateAction group CREATE_VM with role type USER



Expected results:
Disk creation, while creating a new VM from templates list, shouldn't be ignored, the image should be created.

Additional info:
sosreport and vdsm.log

Comment 1 Petr Matyáš 2015-11-10 16:35:36 UTC
Verified on rhevm-3.6.0.3-0.1.el6.noarch

Disk is created and attached correctly

Comment 2 Sandro Bonazzola 2015-11-27 07:48:17 UTC
Since oVirt 3.6.0 has been released, moving from verified to closed current release.


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