Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 830156

Summary: [RHEVM] [webadmin] Fields in Edit Logical Networks dialog become editable after unsuccessful use of Detach ALL Clusters button
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engine-webadmin-portalAssignee: lpeer <lpeer>
Status: CLOSED CURRENTRELEASE QA Contact: yeylon <yeylon>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, ecohen, gklein, iheim, lpeer, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-17 08:09:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot 1
none
screenshot 2 none

Description Martin Pavlik 2012-06-08 12:04:28 UTC
Description of problem:
When user tries to perform Detach ALL Clusters on network which is connected to host and in use by VMs (see screenshot 1), UI will allow to edit fields which are not supposed to be editable at the moment. (see screenshot 2)

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. Add logical network -> attach the network to host and to VM
2. Go to Data Centers -> your DC -> Logical Networks -> your network -> Edit (screenshot 1)
   a) Click on "Detach ALL Clusters" button
   b) check approve operation, click OK, click Close (screenshot 2)
  
Actual results:
UI will allow to edit fields which are not supposed to be editable at the moment

Expected results:
UI will display fields in same state as the were before detach attempt

Additional info:
- bug reproduces for DC 3.0 and cluster 3.0 as well as for DC 3.1 and cluster 3.1

- only log produced in engine.log follows
2012-06-08 13:44:15,089 WARN  [org.ovirt.engine.core.bll.DetachNetworkToVdsGroupCommand] (ajp--0.0.0.0-8009-10) CanDoAction of action DetachNetworkToVdsGroup failed. Reasons:NETWORK_CANNOT_REMOVE_NETWORK_IN_USE_BY_VM,$NetworkName NET1
2012-06-08 13:44:29,865 INFO  [org.ovirt.engine.core.bll.MultipleActionsRunner] (ajp--0.0.0.0-8009-9) MultipleActionsRunner of type DetachNetworkToVdsGroup invoked with no actions

Comment 1 Martin Pavlik 2012-06-08 12:05:02 UTC
Created attachment 590414 [details]
screenshot 1

Comment 2 Martin Pavlik 2012-06-08 12:05:22 UTC
Created attachment 590415 [details]
screenshot 2

Comment 3 lpeer 2012-06-14 12:22:12 UTC
Martin can you please retest this bug after Alona's last change to this dialog.
It should be available upstream and should be in the next build (IS-7)

Comment 4 Martin Pavlik 2012-06-20 06:07:11 UTC
Note to self: retest on si7

Comment 5 Martin Pavlik 2012-06-22 13:29:26 UTC
Verified on SI7 after dialog redesign problem no longer appears