Description of problem: When you have the RHS nodes and the Hypervisors in the same DC, the server selection lists for creating a VM or adding a storage domain list both types of servers. We should not display RHS nodes in server selection list while create new vms. Version-Release number of selected component (if applicable): RHEVM version: SI24.5 Gluster version: glusterfs-server-3.3.0rhsvirt1-8.el6rhs.x86_64 Beta - RHS ISO: RHS-2.0-20121110.0-RHS-x86_64-DVD1.iso Beta - Hypervisor build: rhevh-6.3-20121112.0.iso
how do we find out which not to list? We need to cover installs where the node servers both functions...
only show hosts which come from a cluster which has the virt flag set?
When I want to create a cluster, I can check: - Enable Virt Service - Enable Gluster Service Enable Virt Service is selected for Default cluster in Default DC (data center) and cannot be changed. When I create new VM, I can specify DS and then one of its clusters, eventually target host to run on. It means, the new VM or edit VM dialog should provide - just DC with at least one cluster with enabled Virt Service - and only clusters with enabled Virt Service ?
i don't understand this bug for VMs. list of hosts for VM should be limited to the cluster the VM is in. if that cluster is a virt cluster, all hosts in it are virt hosts as well. if it is a gluster cluster, it can't contain VMs.
Yes, but e.g. when you create VM when no datacenter (DC) or cluster is selected (System view), then a DC must be selected first, and then one of its clusters. This patch just limits displayed DCs and its clusters to virt types and ignores Gluster types.
Created attachment 703362 [details] Screenshot of UI which shows "gluster cluster" durinc create VM, in "Systems" view
Created attachment 703370 [details] Screenshot of UI which shows RHS nodes during add "New Storage" domain
While creating New Server VM's, "Gluster Cluster" no longer appears in the drop down list of "Host Cluster". So that part seems to be fixed and verified. However, RHS nodes are still displayed under the "Use Host" list, while creating new Storage Domain. This also needs to be fixed as reported earlier in the bug. Hence moving it back to "Assigned".