Bug 1372270

Summary: Gluster host has a dialog to create a VM
Product: [oVirt] ovirt-engine Reporter: Andrei Stepanov <astepano>
Component: BLL.GlusterAssignee: Sahina Bose <sabose>
Status: CLOSED DEFERRED QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: bugs, pzhukov, sabose, tjelinek
Target Milestone: ---Keywords: Reopened
Target Release: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-01 14:03:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
"Virtual Machines" tab on a host from Gluster cluster
none
vm tab none

Description Andrei Stepanov 2016-09-01 09:55:13 UTC
Created attachment 1196675 [details]
"Virtual Machines" tab on a host from Gluster cluster

Gluster host has a dialog to create a VM, but there should not be such dialog.


ovirt-engine-4.0.4-0.1.el7ev.noarch


https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/administration-guide/#sect-Cluster_Tasks

Section

⁠4.2.2. Explanation of Settings and Controls in the New Cluster and Edit Cluster Windows


⁠4.2.2.1. General Cluster Settings Explained

Enable Gluster Service
If this radio button is selected, hosts in this cluster will be used as Red Hat Gluster Storage Server nodes, and not for running virtual machines. You cannot add a Red Hat Virtualization Host to a cluster with this option enabled.

It s clear from documentation, that Gluster cluster is supposed to server solitary for gluster needs. Hosts from Gluster cluster cannot be used to run any VM.

But, if you select a host from Gluster cluster there will appear "Virtual Machines" tab. Where it is possible to start creation of a new VM.

There should not be any ability to create a VM on Gluster hosts.

See attached screenshot.

Comment 1 Sahina Bose 2016-12-21 09:13:20 UTC
Virtual machine tabs are hidden in "Gluster only mode", that is, when you choose this during installation.
We don't plan to hide/show these tabs for "Both" mode deployment as in this case, the engine is used to run Virtual machines too and has the capability of deciding which hosts to run on.

Comment 2 Andrei Stepanov 2017-01-02 10:03:03 UTC
Sahina Bose:

Documentation: https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/single/administration-guide/#sect-Cluster_Tasks

doesn't mention about "Gluster only mode".

Please clarify what do you mean under: "Gluster only mode". If there is a such thing than we should update the documentation.

On the attached screenshot you can see that the host is a part of Data Center.

Data center cannot run any VM. There should not be "Virtual Machines" tab.

Comment 3 Sahina Bose 2017-01-02 10:15:20 UTC
While installing the engine, there is a prompt if the installation is to manage Gluster, Virt or Both. This is what I was referring to.

Comment 5 Andrei Stepanov 2017-01-02 10:34:58 UTC
Engine is configured to manage both: Gluster + Virt hosts. This is fine.

Any host has a role. It can be Virt host or Gluster host.

Host cannot simultaneously serve for Virt & Gluster needs.

Any host can run VMs or GlusterFS.

So, why Gluster host does have a "Virtual Machines" tab?

Comment 6 Sahina Bose 2017-01-03 05:51:26 UTC
The main tab "Virtual Machines" is not related to the host selected. The sub-tabs on the bottom are.

While we could hide the non-relevant tabs based on the cluster selected on the left tree view, we did not want to spend effort on this, as there's not much functional impact and mixed clusters are possible. Instead we chose to hide it based on the mode the engine is installed in.

Also, in hyperconverged use cases, a host can server both virt & gluster needs.

Comment 7 Andrei Stepanov 2017-01-03 09:24:22 UTC

> The main tab "Virtual Machines" is not related to the host selected. The sub-tabs on the bottom are.

I think, that the main tab "Virtual Machines" is related to the host selected.

See next attachment.

Comment 8 Andrei Stepanov 2017-01-03 09:24:47 UTC
Created attachment 1236806 [details]
vm tab

Comment 9 Sahina Bose 2017-01-04 13:15:30 UTC
Are you able to create a VM when clicking on the new VM link?
Why is this a high severity bug?

Comment 10 Sahina Bose 2017-05-01 14:03:59 UTC
Though the Virtual machines tab is present, a VM cannot be run on a gluster only host.

Closing this deferred, as we do not plan to introduce hiding/unhiding of VM tab any time soon.