Bug 1346095

Summary: Making a template from a vm snapshot is not working from the UI
Product: [oVirt] ovirt-engine Reporter: Luiz Goncalves <luizcpg>
Component: Frontend.UserPortalAssignee: jniederm
Status: CLOSED EOL QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.6CC: bugs, enax, jniederm, luizcpg, mgoldboi, michal.skrivanek, rhev-integ, sbonazzo, tjelinek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Making template from VM snapshot caused UI exception - New Template window got stuck uninitialized for VMs with highly available option selected. Fix: Result: Fixed. Workaround: Clone VM snapshot to actual VM and then create template from VM.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-29 11:15:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Error_screenshot none

Description Luiz Goncalves 2016-06-14 01:13:57 UTC
Created attachment 1167727 [details]
Error_screenshot

Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Go to the vm snapshots
2. Pick the desired snapshot
3. click on "Make Template"

Actual results:

Throws an UI error.

Expected results:

Build the desired template based on the vm snapshot.

Additional info:

Comment 1 Michal Skrivanek 2016-06-14 05:18:34 UTC
Can you please capture the full error and report the exact ovirt-engine rpm version?
What was the user's role(s)?

Comment 2 Tomas Jelinek 2016-06-15 08:01:28 UTC
@Luiz please install the ovirt-engine-webadmin-portal-debuginfo package, restart engine, reproduce the issue and attach the content of /var/log/ovirt-engine/ui.log
This way we will see the deobfuscated version of the ui logs.
thanx

Comment 3 Luiz Goncalves 2016-06-15 10:36:52 UTC
User: admin@internal

packages installed:

[root@engine1 ~]# rpm -qa | grep engine
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.6.2-1.el7.centos.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.6.2-1.el7.centos.noarch
ovirt-engine-tools-backup-3.6.6.2-1.el7.centos.noarch
ovirt-engine-tools-3.6.6.2-1.el7.centos.noarch
ovirt-engine-restapi-3.6.6.2-1.el7.centos.noarch
ovirt-engine-sdk-python-3.6.5.0-1.el7.centos.noarch
ovirt-engine-setup-base-3.6.6.2-1.el7.centos.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.6.2-1.el7.centos.noarch
ovirt-engine-setup-3.6.6.2-1.el7.centos.noarch
ovirt-engine-extension-aaa-jdbc-1.0.7-1.el7.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.6.2-1.el7.centos.noarch
ovirt-engine-websocket-proxy-3.6.6.2-1.el7.centos.noarch
ovirt-engine-backend-3.6.6.2-1.el7.centos.noarch
ovirt-engine-webadmin-portal-3.6.6.2-1.el7.centos.noarch
ovirt-engine-3.6.6.2-1.el7.centos.noarch
ovirt-engine-wildfly-overlay-8.0.5-1.el7.noarch
ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch
ovirt-engine-wildfly-8.2.1-1.el7.x86_64
ovirt-engine-lib-3.6.6.2-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.6.2-1.el7.centos.noarch
ovirt-engine-extensions-api-impl-3.6.6.2-1.el7.centos.noarch
ovirt-engine-dbscripts-3.6.6.2-1.el7.centos.noarch
ovirt-engine-userportal-3.6.6.2-1.el7.centos.noarch

Comment 4 Luiz Goncalves 2016-06-15 10:40:18 UTC
@Tomas, It's a production environment and I can't change the environment until the next MW, but I'm pretty sure anyone will be able to reproduce the issue easily. Just follow the steps 1,2 and 3 on the description and the issue will show up.

Regards
-Luiz

Comment 5 Tomas Jelinek 2016-06-15 10:51:23 UTC
hmm, seems to be related if not duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1334662

@Jakub, can you please check if you can simulate?

Comment 6 Michal Skrivanek 2016-06-15 18:50:24 UTC
Can you please check if flagging the VM as highly available (or not)  makes any difference?

Comment 7 jniederm 2016-06-15 19:05:56 UTC
Yes I can reproduce it if snapshoted VM is highly available.

Comment 8 jniederm 2016-06-16 14:46:40 UTC
Possible workaround: Clone VM snapshot to VM and then make template from the VM.

Comment 9 Tomas Jelinek 2016-06-17 10:56:30 UTC
*** Bug 1334662 has been marked as a duplicate of this bug. ***

Comment 10 meital avital 2016-07-14 12:46:58 UTC
Verified on version: 3.6.8-0.1.el6

Verification steps:
1)Create HA VM1
2)Create snapshot1 from VM1
3)Create template from snapshot1