Description of problem: When trying to add VMware as an external provider from web admin, the "Add" page -> "ok" and "test" buttons are not functioning at all. Version-Release number of selected component (if applicable): ovirt-engine-dashboard-1.2.4-1.el7ev.noarch ovirt-engine-4.2.7.4-0.1.el7ev.noarch How reproducible: Always 100% Steps to Reproduce: 1. Try to add an external provider. (tried with VMWare) 2. After entering all the details, press OK or test. 3. Exception caught: undefined Actual results: Error and unable to add an external provider. Expected results: Should be able to add an external provider VMWare without any error. Additional info: ui.log ~~~ 2018-11-26 15:55:41,999+05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-31) [] Permutation name: 8E06E97A9C294F973EFA8B881B42B45F 2018-11-26 15:55:42,000+05 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-31) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: undefined at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_191] at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_191] at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64) [gwt-servlet.jar:] at Unknown.new Q0(webadmin-0.js) at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) [gwt-servlet.jar:] at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) [gwt-servlet.jar:] at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) [gwt-servlet.jar:] at com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110) [gwt-servlet.jar:] at com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163) [gwt-servlet.jar:] at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:163) [gwt-servlet.jar:] at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1415) [gwt-servlet.jar:] at com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:312) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:] at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:] at Unknown.eval(webadmin-0.js) Caused by: java.lang.ClassCastException at java.lang.Throwable.Throwable(Throwable.java:59) [rt.jar:1.8.0_191] at java.lang.Exception.Exception(Exception.java:25) [rt.jar:1.8.0_191] at java.lang.RuntimeException.RuntimeException(RuntimeException.java:25) [rt.jar:1.8.0_191] at Unknown.new PHf(webadmin-0.js) at javaemul.internal.InternalPreconditions.checkCriticalType(InternalPreconditions.java:139) [gwt-servlet.jar:] at com.google.gwt.lang.Cast.castTo(Cast.java:74) at org.ovirt.engine.ui.uicommonweb.models.providers.ProviderModel.$getOpenStackProviderProperties(ProviderModel.java:668) at org.ovirt.engine.ui.uicommonweb.models.providers.ProviderModel.$flush(ProviderModel.java:605) at org.ovirt.engine.ui.uicommonweb.models.providers.ProviderModel.$onTest(ProviderModel.java:699) at org.ovirt.engine.ui.uicommonweb.models.providers.EditProviderModel.executeCommand(EditProviderModel.java:161) at org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand.java:163) at org.ovirt.engine.ui.webadmin.section.main.presenter.popup.provider.ProviderPopupPresenterWidget$lambda$0$Type.onClick(ProviderPopupPresenterWidget.java:30) at com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:55) [gwt-servlet.jar:] at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) [gwt-servlet.jar:] at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173) [gwt-servlet.jar:] ... 11 more ~~~
I tested this. One needs to uncheck the "Verify server's SSL certificate" and then it works as per the entries from the screen shot. Which means SSL certificate is not configured on the server, so the checkbox should not be checked.
I checked this issue with the current master (RHV 4.3), RHV 4.2.8 and RHV 4.2.7.6. RHV 4.2.7.6 does display the Tenant Name Label and Text Box when vmware is set along with other issues, but not in the later versions. Please test this with RHV 4.2.8 which seems to have fixed this issue as per my checking.
Verified: ovirt-engine-4.2.8.1-0.1.el7ev vdsm-4.20.45-1.el7ev.x86_64 qemu-kvm-rhev-2.12.0-18.el7_6.3.x86_64 libvirt-client-4.5.0-10.el7_6.3.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0121
sync2jira