Red Hat Bugzilla – Bug 1029339
[RHEVM][webadmin] check if network profile exists on DC before creating VM
Last modified: 2016-04-18 02:59:30 EDT
Created attachment 822780 [details]
Description of problem:
In New Virtual Machine dialog:
If user assigns profile to NIC and switches DC of new VM on General tab. Profile is removed from the NIC -> that is OK
If user assigns profile to NIC and switches DC of new VM in New Virtual Machine dialog on OTHER than General TAB in advanced options (e.g. Host tab) profile is not removed and error is shown:
Error while executing action:
The specified Logical Network doesn't exist in the current Cluster.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Manager Version: 3.3.0-0.32.beta1.el6ev
Steps to Reproduce:
1. Have two active DCs with cluster in each
2. Virtual Machines -> New VM -> Fill in VM name, assign rhevm profile to nic1
3. Click on Show Advanced Options
4. Go to Host tab -> switch Cluster -> Click OK
Error appears after confirmation of Create new VM dialog
Red rectangle pointing on General tab -> in general tab user is pointed to select empty profile or profile that actually exists
suggestion: in case default rhevm profile is selected, it might be just silently replaced with default rhevm profile of appropriate DC
Fixed the bug that enabled choosing a vNIC profile from a different DC than that picked. Did not meddle with the general behavior, so when changing DC the choice of profiles might still change in an unexpected manner, a different bug may be opened for that (but it would be much more minor).
The network profile become empty as Lior suggested.
Closing - RHEV 3.3 Released