Description of problem: Our rhevm3.5 instance has two clusters. One with RHEL6.6 hosts, the other 7.1. There are some differences in network configuration, so the clusters don't provide the same vNIC profiles. When changing cluster in this setup, User Portal reports: "Updating VM's Cluster cannot be performed through update VM action, please use Change VM Cluster action instead. Which is weird, as performing the same action in admin portal results in a lot more useful message: "Cannot edit VM Cluster. Selected Cluster is missing one or more networks vm_dynamic that is used by VM." Version-Release number of selected component (if applicable): vt4 (3.5.0-0.13.beta) How reproducible: 100% Steps to Reproduce: 1. Have two clusters with different vNIC profiles 2. Create a VM with NIC in one of them 3. Try changing cluster Actual results: The "wrong" message Expected results: The "correct" message
It looks like the actual message is the same in both cases, but the customer portal invokes one more command which displays the 'wrong message'. Both the admin portal and the user portal display the correct message after invoking: ChangeVMClusterCommand, which shows the correct message. In case of the user portal, the message is immediately replaced by a message from UpdateVmCommand (which is not invoked by the admin portal)
Verified on - 3.6.0-0.16.master.el6 User Portal now report the same error message as the Admin Portal