Bug 1394160 - Creation of template from snapshot fails on CPU profile doesn't match cluster
Summary: Creation of template from snapshot fails on CPU profile doesn't match cluster
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.0.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Andrej Krejcir
QA Contact: Liran Rotenberg
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-11 09:22 UTC by Petr Matyáš
Modified: 2017-12-20 10:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-12-20 10:59:07 UTC
oVirt Team: SLA
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
screenshot (141.03 KB, image/png)
2016-11-11 09:22 UTC, Petr Matyáš
no flags Details
engine log (290.94 KB, text/plain)
2016-11-11 09:22 UTC, Petr Matyáš
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 84019 0 master MERGED core: Creating template from snapshot uses correct cpu profile and quota 2017-11-22 11:55:36 UTC

Description Petr Matyáš 2016-11-11 09:22:07 UTC
Created attachment 1219673 [details]
screenshot

Description of problem:
When I try to create template from snapshot to different cluster than the VM is in validation fails on "Cannot add Template. CPU Profile doesn't match provided Cluster." even though cluster a cpu profile matches.

Version-Release number of selected component (if applicable):
4.0.5-6

How reproducible:
always

Steps to Reproduce:
1. create a snapshot for a VM
2. try to make template from that snapshot
3. select different cluster than the VM is in and confirm the dialogue

Actual results:
failed validation

Expected results:
should succeed

Additional info:
When creating template from VM directly, creation succeeds whatever cluster we select.

Comment 1 Petr Matyáš 2016-11-11 09:22:38 UTC
Created attachment 1219674 [details]
engine log

Comment 2 Liran Rotenberg 2017-12-05 08:36:18 UTC
Verification failed on 4.2.0-0.5.master.el7.

Steps:
1. Create a VM and create a snapshot for it in cluster1.
2. Create a new template from the snapshot in step 1 and select cluster2 (cpu profile auto change to cluster2 cpu profile).
3. Click OK to start making the template.


Result:
Operation Canceled
Error while executing action: 

template_test:
Cannot add Template. CPU Profile doesn't match provided Cluster.


Expected results:
Creation of the template(template_test) in cluster2 should start and succeed.

Comment 3 Andrej Krejcir 2017-12-05 10:13:04 UTC
The 4.2.0-0.5.master version probably does not contain the patch that fixes this bug. It should be in the new version.

Comment 4 Liran Rotenberg 2017-12-13 12:51:15 UTC
Verified on: 4.2.0.2-0.1.el7

Steps:
1. Create a VM and create a snapshot for it in cluster1.
2. Create a new template from the snapshot in step 1 and select cluster2 (cpu profile auto change to cluster2 cpu profile).
3. Click OK to start making the template.


Result:
Creation of the template(template_test) in cluster2 started and succeeded.

Comment 5 Sandro Bonazzola 2017-12-20 10:59:07 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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