Bug 1346095 - Making a template from a vm snapshot is not working from the UI
Summary: Making a template from a vm snapshot is not working from the UI
Keywords:
Status: CLOSED EOL
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.UserPortal
Version: 3.6.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: jniederm
QA Contact: meital avital
URL:
Whiteboard:
: 1334662 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-14 01:13 UTC by Luiz Goncalves
Modified: 2022-03-16 08:49 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-29 11:15:07 UTC
oVirt Team: Virt
Embargoed:


Attachments (Terms of Use)
Error_screenshot (256.02 KB, image/png)
2016-06-14 01:13 UTC, Luiz Goncalves
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45311 0 None None None 2022-03-16 08:49:15 UTC
oVirt gerrit 59281 0 master MERGED webadmin: Fix of NPE while creating Template from Snapshot 2016-06-17 10:48:25 UTC
oVirt gerrit 59341 0 ovirt-engine-3.6 MERGED webadmin: Fix of NPE while creating Template from Snapshot 2016-06-17 12:08:17 UTC
oVirt gerrit 59342 0 ovirt-engine-4.0 MERGED webadmin: Fix of NPE while creating Template from Snapshot 2016-06-17 12:04:53 UTC

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


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