Bug 1099516

Summary: disable snapshot option for hosted engine in the gui
Product: Red Hat Enterprise Virtualization Manager Reporter: Nikolai Sednev <nsednev>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: dfediuck, gklein, lsurette, mavital, nobody, rbalakri, Rhev-m-bugs, sherold, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rc3Keywords: Triaged
Target Release: 3.6.0Flags: sherold: Triaged+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:38:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1269768, 1274294    
Bug Blocks:    

Description Nikolai Sednev 2014-05-20 13:57:30 UTC
Description of problem:
[RFE]Consider hiding snapshots creation option, as it's not working via UI for customer for HE-VM.

Snapshots creation option isn't working via UI for customer for HE-VM.
I'd expect as a customer for the snapshot to be supported and available, if not supported, not even shown, just like hard disk not shown.

Version-Release number of selected component (if applicable):
libvirt-0.10.2-29.el6_5.7.x86_64
sanlock-2.8-1.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6_5.9.x86_64
vdsm-4.14.7-2.el6ev.x86_64
ovirt-hosted-engine-ha-1.1.2-3.el6ev.noarch


How reproducible:
100%

Steps to Reproduce:
1.Assemble HE environment.
2.Log in to HE-VM UI and then to snapshots.
3.See that it's possible to "Create" snapshot by clicking with right button of the mouse over active one.

Actual results:
Warning message shown and snapshot unavailable for creation, while action of "create" is available.

Expected results:
Should be consistency here, if hard disk not shown under hard disks, so snapshots tab should be empty as well, without "active" snapshot being shown in UI if not supported for HE, otherwise should work if supported.

Additional info:

Comment 2 Itamar Heim 2014-08-05 14:30:05 UTC
btw, this isn't about "not having disks", rather hosted engine being a special VM.
not sure interesting enough use case to disable the button in the gui, but keeping open.

Comment 3 Sandro Bonazzola 2015-10-26 12:36:17 UTC
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high

Comment 4 Doron Fediuck 2015-11-02 11:44:44 UTC
Please check if relevant in 3.6.0.

Comment 5 Nikolai Sednev 2015-12-13 11:32:01 UTC
"Operation Canceled
Error while executing action:

HostedEngine:

    Cannot create Snapshot. This VM is not managed by the engine."

Works for me on these components:
Hosts:
ovirt-vmconsole-host-1.0.1-0.0.master.20151105234454.git3e5d52e.el7.noarch
ovirt-release36-002-2.noarch
sanlock-3.2.4-1.el7.x86_64
ovirt-hosted-engine-ha-1.3.3.3-1.20151211131547.gitb84582e.el7.noarch
ovirt-setup-lib-1.0.1-0.0.master.20151126203321.git2da7763.el7.centos.noarch
ovirt-engine-sdk-python-3.6.1.1-0.1.20151127.git2400b22.el7.centos.noarch
ovirt-vmconsole-1.0.1-0.0.master.20151105234454.git3e5d52e.el7.noarch
ovirt-release36-snapshot-002-2.noarch
mom-0.5.1-2.el7.noarch
qemu-kvm-rhev-2.3.0-31.el7_2.5.x86_64
ovirt-hosted-engine-setup-1.3.2-0.0.master.20151209094106.gitce16937.el7.centos.noarch
vdsm-4.17.13-1.git5bc7781.el7.centos.noarch
ovirt-host-deploy-1.4.2-0.0.master.20151122153544.gitfc808fc.el7.noarch
libvirt-client-1.2.17-13.el7_2.2.x86_64
Linux version 3.10.0-327.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015

Engine:
ovirt-host-deploy-java-1.4.1-1.el6ev.noarch
ovirt-vmconsole-1.0.0-1.el6ev.noarch
ovirt-host-deploy-1.4.1-1.el6ev.noarch
ovirt-vmconsole-proxy-1.0.0-1.el6ev.noarch
ovirt-engine-extension-aaa-jdbc-1.0.4-1.el6ev.noarch
rhevm-3.6.1.3-0.1.el6.noarch
Linux version 2.6.32-573.8.1.el6.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Fri Sep 25 19:24:22 EDT 2015

Initial deployment of HE was over NFS SD.