On Mon, Jul 25, 2016 at 3:48 PM, Alexander Wels <awels@redhat.com> wrote:
On Monday, July 25, 2016 01:49:32 PM David Gossage wrote:
> On Mon, Jul 25, 2016 at 1:39 PM, Alexander Wels <awels@redhat.com> wrote:
> > On Monday, July 25, 2016 01:37:47 PM David Gossage wrote:
> > > > > My test install of ovirt 3.6.7 and gluster 3.7.13 with 3 bricks on a
> > > >
> > > > locak
> > > >
> > > > > disk right now isn't allowing me to add the gluster storage at all.
> > > > >
> > > > >
> > > > >
> > > > > Keep getting some type of UI error
> > > >
> > > > Yes that is definitely a UI error. To get a better stack trace can you
> > > > install the debuginfo
> > > >
> > > >
> > > >
> > > >
> > > > yum install ovirt-engine-webadmin-portal-debuginfo
> > > > ovirt-engine-userportal-debuginfo
> > > >
> > > >
> > > >
> > > > And recreate the exception, that should give a better stack trace.
> > >
> > > Do I need to restart engine?
> >
> > Yes, you will need to restart engine before the log starts showing a
> > better
> > stack trace.
>
> Hopefully more informative.
>
>
> 2016-07-25 13:46:54,701 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-33) [] Permutation name: 430985F23DFC1C8BE1C7FDD91EDAA785
> 2016-07-25 13:46:54,702 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-33) [] Uncaught exception: : java.lang.ClassCastException
>         at java.lang.Throwable.fillInStackTrace(Throwable.java:114)
> [rt.jar:1.8.0_101]
>         at java.lang.Exception.Exception(Exception.java:25)
> [rt.jar:1.8.0_101]
>         at
> java.lang.RuntimeException.RuntimeException(RuntimeException.java:25)
> [rt.jar:1.8.0_101]
>         at
> java.lang.ClassCastException.ClassCastException(ClassCastException.java:23)
> [rt.jar:1.8.0_101]
>         at com.google.gwt.lang.Cast.dynamicCast(Cast.java:53)
>         at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel.run(
> DataCenterGuideModel.java:1679) at
> org.ovirt.engine.ui.uicompat.Task.$run(Task.java:19)
>         at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel.$sav
> eSanStorage(DataCenterGuideModel.java:955) at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel.$pos
> tOnAddStorage(DataCenterGuideModel.java:667) at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel$9$1.
> onSuccess(DataCenterGuideModel.java:646) at
> org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.$getConfigFro
> mCache(AsyncDataProvider.java:2853) at
> org.ovirt.engine.ui.uicommonweb.dataprovider.AsyncDataProvider.$getStorageDo
> mainMaxNameLength(AsyncDataProvider.java:2267) at
> org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel$9.on
> Success(DataCenterGuideModel.java:629) at
> org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:244)
> [frontend.jar:]
>         at
> org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:244)
> [frontend.jar:]
>         at
> org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(O
> perationProcessor.java:141) [frontend.jar:]
>         at
> org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(Op
> erationProcessor.java:141) [frontend.jar:]
>         at
> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.$
> onSuccess(GWTRPCCommunicationProvider.java:161) [frontend.jar:]
>         at
> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.o
> nSuccess(GWTRPCCommunicationProvider.java:161) [frontend.jar:]
>         at
> com.google.gwt.rpc.client.impl.RpcCallbackAdapter.onResponseReceived(RpcCall
> backAdapter.java:72) [gwt-servlet.jar:]
>         at
> org.ovirt.engine.ui.common.gin.BaseSystemModule$1$1.onResponseReceived(BaseS
> ystemModule.java:140) at
> com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:237)
> [gwt-servlet.jar:]
>         at
> com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilde
> r.java:409) [gwt-servlet.jar:]
>         at Unknown.<anonymous>(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@65) at
> com.google.gwt.core.client.impl.Impl.apply(Impl.java:296)
> [gwt-servlet.jar:]
>         at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335)
> [gwt-servlet.jar:]
>         at Unknown.<anonymous>(
> https://ccengine2.carouselchecks.local/ovirt-engine/webadmin/430985F23DFC1C8
> BE1C7FDD91EDAA785.cache.html@54 )

Looks like a bug in the code to me, there are a couple of casts in
org.ovirt.engine.ui.uicommonweb.models.datacenters.DataCenterGuideModel.run(DataCenterGuideModel.java:1679)
that could be the culprit, can you open a bugzilla against the webadmin?

https://bugzilla.redhat.com/show_bug.cgi?id=1359943