Bug 826861 - [RHEVM] [GUI] Assign/Detach Networks dialog shows incorrect flags on networks
Summary: [RHEVM] [GUI] Assign/Detach Networks dialog shows incorrect flags on networks
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: lpeer
QA Contact: yeylon@redhat.com
URL:
Whiteboard: network
Depends On:
Blocks: 810675 830836 833648
TreeView+ depends on / blocked
 
Reported: 2012-05-31 07:19 UTC by Martin Pavlik
Modified: 2016-04-18 06:58 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 08:37:45 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (26.19 KB, application/x-gzip)
2012-05-31 07:20 UTC, Martin Pavlik
no flags Details
engine.log (700 bytes, application/x-gzip)
2012-05-31 07:20 UTC, Martin Pavlik
no flags Details
Screenshot 1 - new network settings (155.57 KB, image/png)
2012-05-31 07:22 UTC, Martin Pavlik
no flags Details
Screenshot 2 - detached network (empty flags) (154.83 KB, image/png)
2012-05-31 07:23 UTC, Martin Pavlik
no flags Details
Screenshot 3 - network before reattach (155.12 KB, image/png)
2012-05-31 07:24 UTC, Martin Pavlik
no flags Details
Screenshot 4 - network after reattach (157.09 KB, image/png)
2012-05-31 07:25 UTC, Martin Pavlik
no flags Details

Description Martin Pavlik 2012-05-31 07:19:09 UTC
Description of problem:
Assign/Detach Networks dialog shows incorrect flags on networks when network is attached/detached to cluster. 

Problems 

a) when network is detached from cluster no flags are shown (see screenshot 2)
b) when you try to reattach network which was marked as required before to cluster, required flag is missing, VM flag is not shown (see screenshot 3)


Version-Release number of selected component (if applicable):
oVirt Enterprise Virtualization Engine Manager Version: 3.1.0_0001-11.el6ev 

How reproducible:
100%

Steps to Reproduce:
1) Webadmin -> Clusters -> your cluster -> Logical  Networks -> Add Network
   a) fill in name -> click OK

2) Select new network -> Assign/Detach Networks
   a) uncheck attached on your network -> click OK

3) Click Assign/Detach Networks (all checkboxes empty) -> check Attached on your network (required flag missing, VM flag not shown) -> check Required -> click OK

4) Click Assign/Detach Networks (VM flag is filled again)

 
Actual results:
flags in Assign/Detach networks dialog are NOT shown/filled correctly

Expected results:
flags in Assign/Detach networks dialog are shown/filled correctly

Additional info:

Comment 1 Martin Pavlik 2012-05-31 07:20:25 UTC
Created attachment 587957 [details]
engine.log

Comment 2 Martin Pavlik 2012-05-31 07:20:56 UTC
Created attachment 587958 [details]
engine.log

Comment 3 Martin Pavlik 2012-05-31 07:22:50 UTC
Created attachment 587959 [details]
Screenshot 1 - new network settings

Comment 4 Martin Pavlik 2012-05-31 07:23:34 UTC
Created attachment 587960 [details]
Screenshot 2 - detached network (empty flags)

Comment 5 Martin Pavlik 2012-05-31 07:24:36 UTC
Created attachment 587961 [details]
Screenshot 3 - network before reattach

Comment 6 Martin Pavlik 2012-05-31 07:25:08 UTC
Created attachment 587962 [details]
Screenshot 4 - network after reattach

Comment 7 Einav Cohen 2012-06-12 04:21:20 UTC
After clicking "OK" in the Assign/Detach Network dialog, the non-attached networks are not being saved. This is why their flags after re-opening the dialog seem to not match. It is not a bug, generally, but the GUI dialog behavior is confusing.
Maybe for non-attached networks, the columns can be hidden or something similar - need to consult graphic designer about that.


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