Bug 1418660
| Summary: | creating VM from template on storage in maintenance causes UI error | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Lucie Leistnerova <lleistne> |
| Component: | Frontend.Core | Assignee: | jniederm |
| Status: | CLOSED DUPLICATE | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.1.0.3 | CC: | bugs, mgoldboi, tjelinek |
| Target Milestone: | ovirt-4.2.0 | Flags: | tjelinek:
ovirt-4.2?
tjelinek: planning_ack? tjelinek: devel_ack? tjelinek: testing_ack? |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-31 13:56:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1406572 *** |
Description of problem: Trying to create VM or pool from template that is on storage in maintenance causes UI error in both user and admin portal. Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) __gwt$exception: <skipped>: f is undefined Version-Release number of selected component (if applicable): ovirt-engine-webadmin-portal-4.1.0.3-0.1.el7.noarch ovirt-engine-userportal-4.1.0.3-0.1.el7.noarch How reproducible: always Steps to Reproduce: 1. in admin portal have at least 2 active storages in DC, create template 2. put the storage where the template is located to Maintenance 3. try to create new VM or pool from this template Actual results: UI error occurs Expected results: proper error is shown or don't show such templates in the select box Additional info: by removing the template proper error is shown - Cannot remove Template. The relevant Storage Domain's status is Maintenance. ui.log 2017-02-02 12:27:19,628+01 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-6) [] Permutation name: 7A9F3E72833E7B23A22BB4D11B47AC48 2017-02-02 12:27:19,629+01 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-6) [] Uncaught exception: com.google.gwt.core.client.JavaScriptException: (TypeError) __gwt$exception: <skipped>: f is undefined at org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$updateImageToDestinationDomainMap(DisksAllocationModel.java:315) at org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$getImageToDestinationDomainMap(DisksAllocationModel.java:140) at org.ovirt.engine.ui.uicommonweb.models.pools.PoolListModel.$savePoolPostValidation(PoolListModel.java:427) at org.ovirt.engine.ui.uicommonweb.models.pools.PoolListModel$3.$onSuccess(PoolListModel.java:380) at org.ovirt.engine.ui.uicommonweb.models.pools.PoolListModel$3.onSuccess(PoolListModel.java:380) at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:233) [frontend.jar:] at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:233) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:139) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:139) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:269) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:269) [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:237) [gwt-servlet.jar:] at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:] at Unknown.EHf/c.onreadystatechange<(Unknown Source) 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.Qx/<(Unknown Source) at Unknown.anonymous(Unknown Source)