Bug 1149092 - User portal error message when changing VM cluster inconsistent with webadmin
Summary: User portal error message when changing VM cluster inconsistent with webadmin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Marcin Mirecki
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-03 08:17 UTC by Tomas Jamrisko
Modified: 2016-04-20 01:11 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Error message the user will now see is uniform in both admin and user UI: "Cannot edit VM Cluster. Selected Cluster is missing one or more networks vm_dynamic that is used by VM."
Clone Of:
Environment:
Last Closed: 2016-04-20 01:11:49 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:
ylavi: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 45150 0 master MERGED userportal: User portal error message when changing VM cluster inconsistent with webadmin 2020-07-15 18:11:18 UTC
oVirt gerrit 45861 0 ovirt-engine-3.6 MERGED userportal: User portal error message when changing VM cluster inconsistent with webadmin 2020-07-15 18:11:18 UTC

Description Tomas Jamrisko 2014-10-03 08:17:40 UTC
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

Comment 1 Marcin Mirecki 2015-08-20 13:10:01 UTC
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)

Comment 2 Michael Burman 2015-09-22 06:16:57 UTC
Verified on - 3.6.0-0.16.master.el6

User Portal now report the same error message as the Admin Portal


Note You need to log in before you can comment on or make changes to this bug.