Created attachment 598644[details]
screenshot 1
Description of problem:
In DC/CL 3.0 it is not possible to switch rhevm network from one host interface to another. Following error appears:
Error:
localhost.localdomain:
Previous network name is required.
Version-Release number of selected component (if applicable):
oVirt Engine Version: '3.1.0-6.el6ev'
How reproducible:
always
Steps to Reproduce:
1. add host more than one NIC into 3.0 cluster
2. Hosts -> your host -> Network Interfaces -> rhevm interface -> Edit Management Network
3. Switch Interface: to different NIC click OK
Actual results:
Error message appears
Expected results:
Network should be switched
Additional info:
engine.log
2012-07-17 15:43:22,503 WARN [org.ovirt.engine.core.bll.UpdateNetworkToVdsInterfaceCommand] (ajp-/0.0.0.0:8009-10) [241808ff] CanDoAction of action UpdateNetworkToVdsInterface failed. Reasons:NETWROK_OLD_NETWORK_NOT_SPECIFIED
The backend command checks if the network name on the nic (we want to switch rhevm to) is not null (or empty).
As the network name is null the canDoAction fails.
This is a wrong check cause the network name of the nic will always be null (or empty). If there was a network on the nic we won't be able to move the rhevm network to it.
Created attachment 598644 [details] screenshot 1 Description of problem: In DC/CL 3.0 it is not possible to switch rhevm network from one host interface to another. Following error appears: Error: localhost.localdomain: Previous network name is required. Version-Release number of selected component (if applicable): oVirt Engine Version: '3.1.0-6.el6ev' How reproducible: always Steps to Reproduce: 1. add host more than one NIC into 3.0 cluster 2. Hosts -> your host -> Network Interfaces -> rhevm interface -> Edit Management Network 3. Switch Interface: to different NIC click OK Actual results: Error message appears Expected results: Network should be switched Additional info: engine.log 2012-07-17 15:43:22,503 WARN [org.ovirt.engine.core.bll.UpdateNetworkToVdsInterfaceCommand] (ajp-/0.0.0.0:8009-10) [241808ff] CanDoAction of action UpdateNetworkToVdsInterface failed. Reasons:NETWROK_OLD_NETWORK_NOT_SPECIFIED