Bug 1057764 - Export Template with Force Override activate fails
Summary: Export Template with Force Override activate fails
Keywords:
Status: CLOSED DUPLICATE of bug 1069151
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.1
Assignee: Tal Nisan
QA Contact: bugs@ovirt.org
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-24 18:47 UTC by Carlos Mestre González
Modified: 2016-02-10 17:13 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-27 08:25:57 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
engine log (148.14 KB, text/x-log)
2014-01-24 18:47 UTC, Carlos Mestre González
no flags Details
vdsm log (1.35 MB, text/x-log)
2014-01-24 18:48 UTC, Carlos Mestre González
no flags Details
works in rhevm 3.3 (76.01 KB, application/x-troff-man)
2014-01-30 20:07 UTC, Carlos Mestre González
no flags Details
vdsm.log rhevm 3.3 works (2.65 MB, application/x-troff-man)
2014-01-30 20:08 UTC, Carlos Mestre González
no flags Details

Description Carlos Mestre González 2014-01-24 18:47:31 UTC
Created attachment 855153 [details]
engine log

Description of problem:
Trying to export a template with already a template with the same name in the export domain fails even activating Force Override.

Version-Release number of selected component (if applicable):
ovirt-engine-3.4.0-0.2.master.20140112020439.

How reproducible:
100%

Steps to Reproduce:
1. Create a environment with an export domain
2. Create a VM/Create a template from that VM
3. Export that template to the Export Domain
4. Try to export the same domain with Force Override


Actual results:
Error while executing action:
template_vm01:
    Cannot export Template. The Storage Domain already contains the target disk(s).

Expected results:
Template is exported and overwrites the old template.

Additional info:

Comment 1 Carlos Mestre González 2014-01-24 18:48:14 UTC
Created attachment 855154 [details]
vdsm log

Comment 2 Carlos Mestre González 2014-01-24 18:49:36 UTC
Actual error:
2014-01-24 19:43:08,642 WARN  [org.ovirt.engine.core.bll.ExportVmTemplateCommand] (ajp--127.0.0.1-8702-6) [75bf74bf] CanDoAction of action ExportVmTemplate failed. Reasons:VAR__ACTION__EXPORT,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_STORAGE_DOMAIN_ALREADY_CONTAINS_DISK

Comment 3 Itamar Heim 2014-01-26 08:10:58 UTC
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.

Comment 4 Sven Kieske 2014-01-30 10:05:09 UTC
Does this bug also affect versions < 3.4 ?

Comment 5 Carlos Mestre González 2014-01-30 20:06:51 UTC
No, we have several jobs that run that can of test, 3.2 and 3.3 and this doesn't happen there. I manually run it in 3.3. just in case. I will add the logs too.

Comment 6 Carlos Mestre González 2014-01-30 20:07:28 UTC
Created attachment 857629 [details]
works in rhevm 3.3

Comment 7 Carlos Mestre González 2014-01-30 20:08:09 UTC
Created attachment 857630 [details]
vdsm.log rhevm 3.3 works

Comment 8 Sandro Bonazzola 2014-03-04 09:27:09 UTC
This is an automated message.
Re-targeting all non-blocker bugs still open on 3.4.0 to 3.4.1.

Comment 9 Allon Mureinik 2014-04-25 19:23:27 UTC
Maor, didn't you recently handle a similar issue?

Comment 10 Maor 2014-04-27 08:25:57 UTC
Tal already fixed that at commit 6760f756047b59f12b9706698a4edd0baff7ef27

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


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