Bug 1012106

Summary: [RFE] WebAdmin: can change host cluster only from certain places in the UI and not others
Product: [oVirt] ovirt-engine Reporter: mrao
Component: Frontend.WebAdminAssignee: Nobody <nobody>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, ehildesh, nbarcet, oourfali, plightfoot, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ---Keywords: FutureFeature, Improvement, UserExperience
Target Release: ---Flags: ylavi: ovirt-future?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-15 06:33:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Itamar Heim 2013-09-26 14:29:40 UTC
Description of problem:
Select a host node on tree and try to edit and change the host cluster, and you can't since this option is disabled in the properties. But if you choose the System Node on the tree, and then navigate to the host tab and edit, you can change the host cluster

Comment 2 Itamar Heim 2013-09-26 14:31:53 UTC
einav, iirc, this is because we always disable in dialogs fields affecting the location of the entity.
i.e., if user changes the cluster, while standing on a the host under the cluster tree node, the host should disappear from the tree to the newly chosen cluster

Comment 3 Einav Cohen 2013-10-03 00:42:05 UTC
(In reply to Itamar Heim from comment #2)
> einav, iirc, this is because we always disable in dialogs fields affecting
> the location of the entity.
> i.e., if user changes the cluster, while standing on a the host under the
> cluster tree node, the host should disappear from the tree to the newly
> chosen cluster

correct.
while a specific tree-node is selected, the main-tabs panel is in a specific context determined by that tree-node; e.g. when standing on a certain cluster in the tree, the Hosts main tab is displaying only Hosts within that cluster. Selecting one of these Hosts *in this context* and changing its cluster will result in removing the Host from the current context, i.e. it will disappear from the main tab, its location within the left-pane tree will have to change, etc.

I suggest to either close this bug, or come up with a comprehensive solution that will allow us to do out-of-context changes to business entities.

Comment 4 Arthur Berezin 2013-10-07 09:43:49 UTC
Einav, I think Elan had some ideas around this.

Comment 6 Arthur Berezin 2014-02-02 15:59:42 UTC
Einav, is it problematic to select a cluster and move it's hosts to another cluster? It seems like the desired behaviour here. If we take filesystem management as an analogy, it would be similar to "right click > move to..." which would remove the object from current view.

Comment 7 Einav Cohen 2014-02-02 17:14:49 UTC
(In reply to Arthur Berezin from comment #6)
> Einav, is it problematic to select a cluster and move it's hosts to another
> cluster? It seems like the desired behaviour here. If we take filesystem
> management as an analogy, it would be similar to "right click > move to..."
> which would remove the object from current view.

if it is OK from the user's perspective that the Host that he just saw in the grid is disappearing from the grid all of a sudden (since the grid shows only Hosts in Cluster X and the Host is now in Cluster Y) - no problem. IMO - it is not OK.

Comment 9 Oved Ourfali 2017-05-15 06:33:40 UTC
in 4.2 we're removing the system tree, so this will no longer be relevant.