Created attachment 1205267 [details] stacktrace.txt Description of problem: FE exception is thrown when "Remove" button is clicked on a host. Version-Release number of selected component (if applicable): 4.1 master, commit 0e71dd7 How reproducible: 100% Steps to Reproduce: 1. Make sure there is a cluster with only one host in maintenance state. 2. Select the host in webadmin 3. Click "Remove" in toolbar Actual results: FE exception is thrown (pink box on upstream, message in browser console) Expected results: Host is removed Additional info:
The problem relates to patch https://gerrit.ovirt.org/#/c/59102/. Method HostListModel.remote() creates confirmation model as instance of `ConfirmationModel` however HostModule.getHostListProvider() declares that confirmation will be processed by HostMaintenanceConfirmationPopupPresenterWidget that expects instance of HostMaintenanceConfirmationModel. Assigning to author of the patch.
The root cause is indeed that patch but Ramesh is from the Gluster team, not storage :)
(In reply to jniederm from comment #1) > The problem relates to patch https://gerrit.ovirt.org/#/c/59102/. Method > HostListModel.remote() creates confirmation model as instance of > `ConfirmationModel` however HostModule.getHostListProvider() declares that > confirmation will be processed by > HostMaintenanceConfirmationPopupPresenterWidget that expects instance of > HostMaintenanceConfirmationModel. > > Assigning to author of the patch. Sorry for the regression. Let me send a patch to fix it ASAP.
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.
Tested with RHV 4.1.1-6. When the hosts is already in maintenance, trying to remove the host doesn't generate any FE exception