Bug 1537464
| Summary: | [UI] Unexpected exception: 'b is null' appears in Events window, when using "Host -> Management -> Configure Local Storage" window | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Mor <mkalfon> | ||||||
| Component: | Frontend.WebAdmin | Assignee: | Ahmad Khiet <akhiet> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | samuel macko <smacko> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 4.2.1.2 | CC: | akhiet, benjamin.beier, bugs, danken, debec.arnaud, gshereme, lleistne, tnisan | ||||||
| Target Milestone: | ovirt-4.3.5 | Flags: | rule-engine:
ovirt-4.3+
|
||||||
| Target Release: | 4.3.5.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | ovirt-engine-4.3.5.1 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-07-30 14:08:37 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | UX | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Mor
2018-01-23 09:31:25 UTC
This bugs seems to appear when job which should be displayed has null instead of proper 'startTime'. I have started using oVirt and wanted to setup my first oVirt node with local storage. I am hitting the error mentioned above every single time I am trying to use the "Host -> Management -> Configure Local Storage" window. So far I wasn't able to find a solution or workaround yet. The bug makes it impossible for me to use the local storage feature.
/var/log/ovirt-engine/ui.log:
(replaced our domain with DOMAIN in the logs)
2018-03-28 16:25:46,077+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-15) [] Permutation name: E0FB18866439B9B5D133F6CCB8D77350
2018-03-28 16:25:46,078+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-15) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : b is null
at org.ovirt.engine.ui.uicommonweb.Linq$ServerCpuPredicate.$test(Linq.java:139)
at org.ovirt.engine.ui.uicommonweb.Linq$ServerCpuPredicate.test(Linq.java:139)
at java.util.stream.Stream$FilterSpliterator.$lambda$0(Stream.java:632) [:1.8.0_161]
at java.util.stream.Stream$FilterSpliterator$lambda$0$Type.accept(Stream.java:632) [:1.8.0_161]
at java.util.Spliterators$IteratorSpliterator.$tryAdvance(Spliterators.java:459) [rt.jar:1.8.0_161]
at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:459) [rt.jar:1.8.0_161]
at java.util.stream.Stream$FilterSpliterator.tryAdvance(Stream.java:628) [:1.8.0_161]
at java.util.stream.Stream$StreamSource.$findFirst(Stream.java:799) [:1.8.0_161]
at org.ovirt.engine.ui.uicommonweb.Linq.firstOrNull(Linq.java:75)
at org.ovirt.engine.ui.uicommonweb.models.hosts.ConfigureLocalStorageModel.$setDefaultNames8(ConfigureLocalStorageModel.java:179)
at org.ovirt.engine.ui.uicommonweb.models.hosts.ConfigureLocalStorageModel.$lambda$0(ConfigureLocalStorageModel.java:366)
at org.ovirt.engine.ui.uicommonweb.models.hosts.ConfigureLocalStorageModel$lambda$0$Type.onSuccess(ConfigureLocalStorageModel.java:366)
at org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:227) [frontend.jar:]
at org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:227) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.$onSuccess(OperationProcessor.java:133) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.onSuccess(OperationProcessor.java:133) [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.onSuccess(GWTRPCCommunicationProvider.java:161) [frontend.jar:]
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198) [gwt-servlet.jar:]
at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233) [gwt-servlet.jar:]
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:]
at Unknown.onreadystatechange<(https://engine1.DOMAIN.net/ovirt-engine/webadmin/?locale=de_DE)
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.Ju/<(https://engine1.DOMAIN.net/ovirt-engine/webadmin/?locale=de_DE)
at Unknown.anonymous(Unknown)
2018-03-28 17:04:08,929+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-6) [] Permutation name: 9C125A7B3CBB18192131D290F2DA71D7
2018-03-28 17:04:08,939+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-6) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'b' of null
at org.ovirt.engine.ui.uicommonweb.Linq$ServerCpuPredicate.$test(Linq.java:139)
at org.ovirt.engine.ui.uicommonweb.Linq$ServerCpuPredicate.test(Linq.java:139)
at java.util.stream.Stream$FilterSpliterator.$lambda$0(Stream.java:632) [:1.8.0_161]
at java.util.stream.Stream$FilterSpliterator$lambda$0$Type.accept(Stream.java:632) [:1.8.0_161]
at java.util.Spliterators$IteratorSpliterator.$tryAdvance(Spliterators.java:459) [rt.jar:1.8.0_161]
at java.util.Spliterators$IteratorSpliterator.tryAdvance(Spliterators.java:459) [rt.jar:1.8.0_161]
at java.util.stream.Stream$FilterSpliterator.tryAdvance(Stream.java:628) [:1.8.0_161]
at java.util.stream.Stream$StreamSource.$findFirst(Stream.java:799) [:1.8.0_161]
at org.ovirt.engine.ui.uicommonweb.Linq.firstOrNull(Linq.java:75)
at org.ovirt.engine.ui.uicommonweb.models.hosts.ConfigureLocalStorageModel.$setDefaultNames8(ConfigureLocalStorageModel.java:179)
at org.ovirt.engine.ui.uicommonweb.models.hosts.ConfigureLocalStorageModel.$lambda$0(ConfigureLocalStorageModel.java:366)
at org.ovirt.engine.ui.uicommonweb.models.hosts.ConfigureLocalStorageModel$lambda$0$Type.onSuccess(ConfigureLocalStorageModel.java:366)
at org.ovirt.engine.ui.frontend.Frontend$1.$onSuccess(Frontend.java:227) [frontend.jar:]
at org.ovirt.engine.ui.frontend.Frontend$1.onSuccess(Frontend.java:227) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.$onSuccess(OperationProcessor.java:133) [frontend.jar:]
at org.ovirt.engine.ui.frontend.communication.OperationProcessor$1.onSuccess(OperationProcessor.java:133) [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.onSuccess(GWTRPCCommunicationProvider.java:161) [frontend.jar:]
at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:198) [gwt-servlet.jar:]
at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:233) [gwt-servlet.jar:]
at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:]
at Unknown.eval(webadmin-0.js)
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)
Created attachment 1414304 [details]
Dashboard Local Storage Exception
Exact same issue with a fresh install of oVirt Engine 4.2.2.6 and oVirt Node 4.2-2018041306. By trying to create a local storage via the CLI, I realized that my Datacenter was configured as 'Shared Storage'. The error via the CLI was pretty explicit: 'Data Center must be “Local Storage”'. So first of all check this via the GUI Compute > Data Centers > 'select your DC' > Edit > Storage Type : Local Try doing it via the ovirt-shell installed on your engine. You will have to configure your .ovirtshellrc according the documentation https://ovirt.org/develop/release-management/features/infra/cli/ en then: add storagedomain --host-name ‘hostname’ --type ‘data’ --storage-path ‘/data/images’ --storage-type ‘localfs’ --name ‘storagename’ It appears the the error Benjamin is hitting is in the Linq::ServerCpuPredicate, not the same as the original issue (although the exception is the same), moving to the UX team for help in inspection The original issue is UX team, but yes the issue in Comment 2 is completely different and needs its own bug. @Benjamin please open a separate bug if you are still having that issue. This bug has not been marked as blocker for oVirt 4.3.0. Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1. Could you please specify verification steps? I have no verification steps. the exception in this bug is the same as the bug https://bugzilla.redhat.com/show_bug.cgi?id=1679867 I tried to reproduce it, even no reproducing steps mentioned in the bug. but after investigating it more, I found a similar bug! Verified on ovirt-engine 4.3.5.1-0.1.el7. I ran webadmin sanity tests and checked for exceptions, no ui exception was thrown. This bugzilla is included in oVirt 4.3.5 release, published on July 30th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.5 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |