Hi Leo,

Please open a new bug for this and someone will take a look.
https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
team = UX

Best wishes,
Greg


On Wed, Dec 26, 2018, 9:54 AM Leo David <leoalex@gmail.com wrote:
Thank you Eitan,
Anybody, any ideea if is any work in progress for fixing this UI issue, or has been already fixed ?
Happy Holidays to everyone !




On Mon, Dec 17, 2018, 20:47 Eitan Raviv <eraviv@redhat.com wrote:
You can use the REST API [1] via any REST client or the python-ovirt-engine-sdk4 [2] to manually or programmaticaly perform any task that can be done via the webadmin UI.
About the UI malfunction I don't have enough information to reply. I will need to have to try to reproduce it. You can open a bug on [3] to track it. Please provide a detailed description
of the shortest flow to reproduce the malfunction and attach any relevant logs.

Thanks a lot


On Mon, Dec 17, 2018 at 5:46 PM Leo David <leoalex@gmail.com> wrote:
Hello Everyone,
Any updates on this fix ? 
Also, is thee any other way that I can attach hosts to gluster network  other than from within engine UI ?
I'm just standing with a ready installed 6 nodes cluster, and I would rather prefer to not start using gluster by passing traffic through default ovirtmgmt network....

Thank you very much !

Leo

On Sun, Dec 16, 2018 at 12:02 PM Eitan Raviv <eraviv@redhat.com> wrote:
The flow that invokes the NPE as described is:
"click on Networks->gluster-Hosts- Unattached, i get the following error:"

This does not invoke 'network update spinner' related code.

On Fri, Dec 14, 2018 at 3:05 PM Greg Sheremeta <gshereme@redhat.com> wrote:
Ales, could this be related to https://bugzilla.redhat.com/show_bug.cgi?id=1655375 ?
Or, Eitan, is it related to the new network updating spinner?

code in question:


        @Override
        public SafeHtml getValue(PairQueryable<VdsNetworkInterface, VDS> object) {
            ImageResource imageResource = InterfaceStatusImage.getResource(object.getFirst().getStatistics().getStatus());
            SafeHtml nicStatus = SafeHtmlUtils.fromTrustedString(AbstractImagePrototype.create(imageResource).getHTML());
            if (object.getFirst() != null && isNetworkUpdating(object)) {
                return templates.networkDeviceStatusImgAndNetworkOperationInProgress(nicStatus, constants.networksUpdating());
            } else if (object.getFirst() != null && !isNetworkUpdating(object)) {
                return templates.networkDeviceStatusImg(nicStatus);
            } else if (object.getFirst() == null && isNetworkUpdating(object)) {
                return templates.networkOperationInProgressDiv(constants.networksUpdating());
            } else {
                return null;
            }
        }

(something in ^ is NPE)

On Thu, Dec 13, 2018 at 12:49 PM Leo David <leoalex@gmail.com> wrote:
Hi,
No errors in the engine logs, only some info's...
2018-12-13 17:40:44,775Z INFO  [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand] (default task-9) [45bb68a9] Running command: CreateUserSessionCommand internal: false.
2018-12-13 17:40:44,794Z INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-9) [45bb68a9] EVENT_ID: USER_VDC_LOGIN(30), User admin@internal-authz connecting from '10.10.2.14' using session 'LXv9Geyp5aKURf0nZ53QLn6DP74cHcl6TMdVtPbbQkudThg9vmmOXj0uFhErNykZ1czs5rmMVd302HfboMMUrQ==' logged in.

Maybe the following,  but I don;t think it has to do with the UI error:

2018-12-13 17:40:46,458Z INFO  [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-9) [] Can't read file '/usr/share/ovirt-engine/files/spice/SpiceVersion.txt' for request '/ovirt-engine/services/files/spice/SpiceVersion.txt' -- 404
2018-12-13 17:41:11,133Z INFO  [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-10) [] Can't read file '/usr/share/ovirt-engine/files/spice/SpiceVersion.txt' for request '/ovirt-engine/services/files/spice/SpiceVersion.txt' -- 404
Wondering, I am the only one getting this UI error ?



On Thu, Dec 13, 2018 at 6:13 PM Gobinda Das <godas@redhat.com> wrote:
Hi Leo,
Is there any error in engine?
Can you please share engine log as well?

On Thu, Dec 13, 2018 at 9:01 PM Leo David <leoalex@gmail.com> wrote:
Thank you very much Eitan !
So on a fresh installation, browser cache cleared, tried different browsers, i still have that error,  and the following error in ui.log:

- 2018-12-13 15:21:34,625Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-2) [] Permutation name:                                         F7D51C60208EA84178ACC5B48326252F
2018-12-13 15:21:34,626Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-2) [] Uncaught exception                                        : com.google.gwt.core.client.JavaScriptException: (TypeError) : M9(...) is null
        at org.ovirt.engine.ui.webadmin.section.main.view.tab.network.SubTabNetworkHostView$6.$getValue(SubTabNetworkHostView.java:125)
        at org.ovirt.engine.ui.webadmin.section.main.view.tab.network.SubTabNetworkHostView$6.getValue(SubTabNetworkHostView.java:125)
        at com.google.gwt.user.cellview.client.Column.render(Column.java:164) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$renderCell(AbstractCellTableBuilder.java:188) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.DefaultCellTableBuilder.$buildRowImpl(DefaultCellTableBuilder.java:62) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$buildRow(AbstractCellTableBuilder.java:85) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractCellTable.$buildRowValues(AbstractCellTable.java:2350) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractCellTable.replaceAllChildren(AbstractCellTable.java:2149) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractHasData$View.replaceAllChildren(AbstractHasData.java:265) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.HasDataPresenter.$resolvePendingState(HasDataPresenter.java:1062) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.HasDataPresenter$2.execute(HasDataPresenter.java:981) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyCommands(SchedulerImpl.java:272) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.exit(Impl.java:313) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
        at Unknown.Qu/<(https://ovirt-engine.main.lab/ovirt-engine/webadmin/?locale=en_US)
        at Unknown.anonymous(Unknown)
2018-12-13 15:21:34,660Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-7) [] Permutation name:                                         F7D51C60208EA84178ACC5B48326252F
2018-12-13 15:21:34,662Z ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-7) [] Uncaught exception                                        : com.google.gwt.core.client.JavaScriptException: (TypeError) : M9(...) is null
        at org.ovirt.engine.ui.webadmin.section.main.view.tab.network.SubTabNetworkHostView$6.$getValue(SubTabNetworkHostView.java:125)
        at org.ovirt.engine.ui.webadmin.section.main.view.tab.network.SubTabNetworkHostView$6.getValue(SubTabNetworkHostView.java:125)
        at com.google.gwt.user.cellview.client.Column.render(Column.java:164) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$renderCell(AbstractCellTableBuilder.java:188) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.DefaultCellTableBuilder.$buildRowImpl(DefaultCellTableBuilder.java:62) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractCellTableBuilder.$buildRow(AbstractCellTableBuilder.java:85) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractCellTable.$buildRowValues(AbstractCellTable.java:2350) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractCellTable.replaceAllChildren(AbstractCellTable.java:2149) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.AbstractHasData$View.replaceAllChildren(AbstractHasData.java:265) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.HasDataPresenter.$resolvePendingState(HasDataPresenter.java:1062) [gwt-servlet.jar:]
        at com.google.gwt.user.cellview.client.HasDataPresenter$2.execute(HasDataPresenter.java:981) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyCommands(SchedulerImpl.java:272) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.exit(Impl.java:313) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
        at Unknown.Qu/<(https://ovirt-engine.main.lab/ovirt-engine/webadmin/?locale=en_US)
        at Unknown.d(https://ovirt-engine.main.lab/ovirt-engine/webadmin/?locale=en_US)
        at Unknown.anonymous(Unknown)

Any suggestions ?  I just do not know how could I add the hosts to the gluster network for gluster/replication traffic ....

Thank you !

Leo


On Wed, Dec 12, 2018 at 7:16 AM Eitan Raviv <eraviv@redhat.com> wrote:
Can you clear the browser cache and try again?
Can you share the contents of /var/log/ovirt-engine/ui.log?

On Tue, Dec 11, 2018 at 2:54 PM Leo David <leoalex@gmail.com> wrote:
Hello,
Any thoughts on these ? Any ideea on how could I fix that bug ?
Thank you !

On Fri, Dec 7, 2018, 15:06 Leo David <leoalex@gmail.com wrote:
Hi Everyone,
Using self hosted-engine 4.2.7.5-1.el7 running on ovirt-node 4.2.7,  i am trying to attache hosts to a newlly created network for gluster/migration traffic.
Oncei click on Networks->gluster-Hosts- Unattached, i get the following error:

Uncaught exception occurred. Please try reloading the page. Details: (TypeError) : M9(...) is null
Please have your administrator check the UI logs
 
So to make the cluster installation possible,  i had to use ovirt 4.2.2 and manually install ovirt-engine-appliance-4.2-20180626.1.el7 on the nodes before deploying self-hosted engine ( version that has other problems,  like not being able to get dasboards in cloudforms/manageiq - ovirt-engine-dwh is missing ).

Is it possible to:
1. upgrade actual hosted-engine version to the latest that has this module properly installed ?
2. fix the latest ( upgraded ) version so i can attach hosts to networks ?
Thank you very much !

Leo

--
Best regards, Leo David
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FHCVNTGNZTDRSO7OIFGFSZZR5OEBR74M/


--
Best regards, Leo David
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/M43Z4DANI35U723AKFM4MD52MP2S2ILL/


--
Thanks,
Gobinda


--
Best regards, Leo David
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/HD37LP3JKWLIDJVDS23CAL6XZZTIARTM/


--

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

gshereme@redhat.com    IRC: gshereme



--
Best regards, Leo David