Bug 1083488 - Unable to import template as clone, when this template does not exists in system.
Summary: Unable to import template as clone, when this template does not exists in sys...
Keywords:
Status: CLOSED DUPLICATE of bug 1073019
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 3.4.0
Assignee: Omer Frenkel
QA Contact:
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-02 10:44 UTC by Ondra Machacek
Modified: 2014-04-03 07:47 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-03 07:47:42 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ondra Machacek 2014-04-02 10:44:53 UTC
Description of problem:


Version-Release number of selected component (if applicable):
av4.1

How reproducible:
always

Steps to Reproduce:
1. Create export storage and export some template there.
2. Remove this template from engine and leave it on export domain only.
3. Import this template to engine with clone checkbox checked.

Actual results:
CanDoAction:
Error while executing action:

templateXYZ:

    Cannot copy Template. The relevant Template doesn't exist.

Expected results:
template is imported 

Additional info:

engine.log:

2014-04-02 12:41:53,416 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp-/127.0.0.1:8702-7) [5c47bb9a] START, GetVmsInfoVDSCommand( storagePoolId = a6fb0cbb-d79f-465e-a01f-d5431c764b18, ignoreFailoverLimit = false, storageDomainId = faa7c262-aa15-4936-9594-31db07a45df3, vmIdList = null), log id: 219f88b3
2014-04-02 12:41:53,451 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp-/127.0.0.1:8702-7) [5c47bb9a] FINISH, GetVmsInfoVDSCommand, log id: 219f88b3
2014-04-02 12:41:55,044 WARN  [org.ovirt.engine.core.bll.ImportVmTemplateCommand] (ajp-/127.0.0.1:8702-7) [5c47bb9a] CanDoAction of action ImportVmTemplate failed. Reasons:VAR__ACTION__COPY,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_TEMPLATE_DOES_NOT_EXIST,VAR__ACTION__IMPORT,VAR__TYPE__VM_TEMPLATE

Comment 2 Carlos Mestre González 2014-04-02 11:52:24 UTC
I've also encountered this issue in av4.1. I've tried in av5 but seems to work though.

Comment 3 Michal Skrivanek 2014-04-03 07:47:42 UTC
fixed by template versions fixes in bug 1073019. Please give it a try on av5+

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


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