Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Greg Sheremeta
They all look like the same bug in 3 different places. Please open a bug at
https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
and include your reproducer steps and your logs. Please set the "ovirt
team" to UX. Thanks!


On Sun, Jan 14, 2018 at 1:13 PM, Jayme  wrote:

> I managed to fix the error with HA broker and agent continually crashing.
> I found that it was not a permissions problem on the path mentioned in the
> log:
>
> /var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-
> 4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8
>
> but this folder had wrong permissions:
>
> _exports_hosted__engine/248f46f0-d793-4581-9810-
> c9d965e2f286/images/19f114a1-e1c3-41c5-9fcb-b6099612d012
>
> That seems to have resolved the agent and broker problem.  The UI error
> when clicking network interfaces or snapshots for hosted engine VM still
> appears to exist.  Here is the ui log from that:
>
> Network interfaces tab for hosted engine VM:
>
> 2018-01-14 14:12:06,781-04 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-19) [] Permutation name: C1D1FEFE5DCAE683818762C75C501D92
> 2018-01-14 14:12:06,781-04 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-19) [] Uncaught exception: 
> com.google.gwt.core.client.JavaScriptException:
> (TypeError) : Cannot read property 'a' of null
> at Unknown.new pvp(webadmin-141.js)
> at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.
> SubTabVirtualMachineNetworkInterfaceView.$createListViewItem(
> SubTabVirtualMachineNetworkInterfaceView.java:69)
> at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.
> SubTabVirtualMachineNetworkInterfaceView.createListViewItem(
> SubTabVirtualMachineNetworkInterfaceView.java:69)
> at org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$
> updateInfoPanel(PatternflyListView.java:137)
> at org.ovirt.engine.ui.common.widget.listgroup.
> PatternflyListView.$lambda$1(PatternflyListView.java:63)
> at org.ovirt.engine.ui.common.widget.listgroup.
> PatternflyListView$lambda$1$Type.eventRaised(PatternflyListView.java:63)
> at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
> at org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setItems(
> SearchableListModel.java:739)
> at org.ovirt.engine.ui.uicommonweb.models.vms.
> VmInterfaceListModel.$lambda$2(VmInterfaceListModel.java:143)
> at org.ovirt.engine.ui.uicommonweb.models.vms.
> VmInterfaceListModel$lambda$2$Type.executed(VmInterfaceListModel.java:143)
> at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:319)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:319)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$
> onSuccess(OperationProcessor.java:170) [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.
> onSuccess(OperationProcessor.java:170) [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.
> GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:270)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.
> GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:270)
> [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)
>
>
>
> snapshots tab for hosted engine vm:
>
> 2018-01-14 14:12:55,628-04 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-14) [] Permutation name: C1D1FEFE5DCAE683818762C75C501D92
> 2018-01-14 14:12:55,628-04 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-14) [] Uncaught exception: 
> com.google.gwt.core.client.JavaScriptException:
> (TypeError) : Cannot read property 'a' of null
> at org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListViewItem.$
> createNicsItemContainerPanel(VmSnapshotListViewItem.java:90)
> at org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListViewItem.$
> updateValues(VmSnapshotListViewItem.java:387)
> at Unknown.new Swp(webadmin-143.js)
> at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.
> SubTabVirtualMachineSnapshotView.$createListViewItem(
> SubTabVirtualMachineSnapshotView.java:68)
> at org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.
> 

Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Jayme
I managed to fix the error with HA broker and agent continually crashing.
I found that it was not a permissions problem on the path mentioned in the
log:

/var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-
4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8

but this folder had wrong permissions:

_exports_hosted__engine/248f46f0-d793-4581-9810-c9d965e2f286/images/19f114a1-e1c3-41c5-9fcb-b6099612d012

That seems to have resolved the agent and broker problem.  The UI error
when clicking network interfaces or snapshots for hosted engine VM still
appears to exist.  Here is the ui log from that:

Network interfaces tab for hosted engine VM:

2018-01-14 14:12:06,781-04 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-19) [] Permutation name: C1D1FEFE5DCAE683818762C75C501D92
2018-01-14 14:12:06,781-04 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-19) [] Uncaught exception:
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read
property 'a' of null
at Unknown.new pvp(webadmin-141.js)
at
org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineNetworkInterfaceView.$createListViewItem(SubTabVirtualMachineNetworkInterfaceView.java:69)
at
org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineNetworkInterfaceView.createListViewItem(SubTabVirtualMachineNetworkInterfaceView.java:69)
at
org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$updateInfoPanel(PatternflyListView.java:137)
at
org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$lambda$1(PatternflyListView.java:63)
at
org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView$lambda$1$Type.eventRaised(PatternflyListView.java:63)
at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
at
org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setItems(SearchableListModel.java:739)
at
org.ovirt.engine.ui.uicommonweb.models.vms.VmInterfaceListModel.$lambda$2(VmInterfaceListModel.java:143)
at
org.ovirt.engine.ui.uicommonweb.models.vms.VmInterfaceListModel$lambda$2$Type.executed(VmInterfaceListModel.java:143)
at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:319)
[frontend.jar:]
at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:319)
[frontend.jar:]
at
org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:170)
[frontend.jar:]
at
org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:170)
[frontend.jar:]
at
org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:270)
[frontend.jar:]
at
org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:270)
[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)



snapshots tab for hosted engine vm:

2018-01-14 14:12:55,628-04 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-14) [] Permutation name: C1D1FEFE5DCAE683818762C75C501D92
2018-01-14 14:12:55,628-04 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-14) [] Uncaught exception:
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read
property 'a' of null
at
org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListViewItem.$createNicsItemContainerPanel(VmSnapshotListViewItem.java:90)
at
org.ovirt.engine.ui.common.widget.uicommon.vm.VmSnapshotListViewItem.$updateValues(VmSnapshotListViewItem.java:387)
at Unknown.new Swp(webadmin-143.js)
at
org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineSnapshotView.$createListViewItem(SubTabVirtualMachineSnapshotView.java:68)
at
org.ovirt.engine.ui.webadmin.section.main.view.tab.virtualMachine.SubTabVirtualMachineSnapshotView.createListViewItem(SubTabVirtualMachineSnapshotView.java:68)
at
org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$updateInfoPanel(PatternflyListView.java:137)
at
org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView.$lambda$1(PatternflyListView.java:63)
at
org.ovirt.engine.ui.common.widget.listgroup.PatternflyListView$lambda$1$Type.eventRaised(PatternflyListView.java:63)
at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
at

Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Jayme
I managed to fix the error with HA broker and agent continually crashing.
I found that it was not a permissions problem on the path mentioned in the
log:


On Sun, Jan 14, 2018 at 2:07 PM, Greg Sheremeta  wrote:

>
>
> On Sun, Jan 14, 2018 at 8:50 AM, Yedidyah Bar David 
> wrote:
>
>> On Sun, Jan 14, 2018 at 3:46 PM, Yedidyah Bar David 
>> wrote:
>> > On Sun, Jan 14, 2018 at 3:37 PM, Jayme  wrote:
>> >> First, apologies for all the posts to this list lately, I've been
>> having a
>> >> heck of a time after 4.2 upgrade and you've been helpful, I appreciate
>> that.
>> >>
>> >> Since 4.2 upgrade I'm experiencing a few problems that I'm trying to
>> debug.
>> >>
>> >> Current status is engine and all hosts are upgraded to 4.2, and
>> cluster and
>> >> domain set to 4.2 compatibility.  Hosted Engine VM is running and ui
>> >> accessible etc, all VMs on hosts are running but no HA service.  Web
>> UI is
>> >> giving a few errors when checking network and snapshots on the hosted
>> engine
>> >> VM only, it doesn't give errors on any of the others VMs that I spot
>> >> checked.
>> >>
>> >> 1. HA-agent and HA-broker are continually crashing on all three hosts
>> over
>> >> and over every few seconds.  I sent an email to users list with more
>> details
>> >> on this problem but unfortunately haven't heard anything back yet.  The
>> >> general error in the logs seems to be:
>> >> VolumeDoesNotExist(leafUUID)#012VolumeDoesNotExist: Volume does not
>> exist:
>> >> (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',) --  What?  Volume doesn't
>> exist,
>> >> why not?
>> >
>> > If agent/broker logs do not reveal this, the next step is usually
>> checking
>> > vdsm logs and/or system logs. Can you please check/share these? Thanks.
>> >
>> >>
>> >> 2. Error when clicking "network interfaces" in the web gui for the
>> hosted VM
>> >> engine.
>> >>
>> >> 3. Similar to #2 above an error is given when clicking "snapshots" in
>> the
>> >> web gui for the hosted engine VM.
>> >>
>> >> The errors for #2 and #3 are generic "cannot read property 'a' of
>> null".
>> >> I've read previous postings on ovirt-mailing list that suggest you can
>> >> install debug-info package to get a human readable error.. but this
>> package
>> >> does not seem to be compatible with 4.2, it expects 4.1:  Requires:
>> >> "ovirt-engine-webadmin-portal = 4.1.2.2-1.el7.centos" -- Perhaps this
>> >> package is no longer required?
>>
>> Indeed: https://bugzilla.redhat.com/show_bug.cgi?id=1431545
>>
>>
> Right. ui.log will include the same stack trace that it gives in the
> browser -- just deobfuscated (automatically now).
>
>
>> >>  I do see some additional details in the
>> >> ui.log that I can post if helpful.
>>
>
> So, yes, please share it.
>
>
>> >>
>> >> There is obviously something odd going on here with the hosted engine
>> VM.
>> >> All three errors appear to related to a problem with it, although it is
>> >> indeed up and running.   I'd really like to get HA broker and agent
>> back up
>> >> and running, and fix these GUI errors related to hosted engine VM.  All
>> >> three problems may be connected to one common issue?
>> >>
>> >> Thanks in advance!
>> >>
>> >>
>> >>
>> >> ___
>> >> Users mailing list
>> >> Users@ovirt.org
>> >> http://lists.ovirt.org/mailman/listinfo/users
>> >>
>> >
>> >
>> >
>> > --
>> > Didi
>>
>>
>>
>> --
>> Didi
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
>
> GREG SHEREMETA
>
> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>
> Red Hat NA
>
> 
>
> gsher...@redhat.comIRC: gshereme
> 
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Greg Sheremeta
On Sun, Jan 14, 2018 at 8:50 AM, Yedidyah Bar David  wrote:

> On Sun, Jan 14, 2018 at 3:46 PM, Yedidyah Bar David 
> wrote:
> > On Sun, Jan 14, 2018 at 3:37 PM, Jayme  wrote:
> >> First, apologies for all the posts to this list lately, I've been
> having a
> >> heck of a time after 4.2 upgrade and you've been helpful, I appreciate
> that.
> >>
> >> Since 4.2 upgrade I'm experiencing a few problems that I'm trying to
> debug.
> >>
> >> Current status is engine and all hosts are upgraded to 4.2, and cluster
> and
> >> domain set to 4.2 compatibility.  Hosted Engine VM is running and ui
> >> accessible etc, all VMs on hosts are running but no HA service.  Web UI
> is
> >> giving a few errors when checking network and snapshots on the hosted
> engine
> >> VM only, it doesn't give errors on any of the others VMs that I spot
> >> checked.
> >>
> >> 1. HA-agent and HA-broker are continually crashing on all three hosts
> over
> >> and over every few seconds.  I sent an email to users list with more
> details
> >> on this problem but unfortunately haven't heard anything back yet.  The
> >> general error in the logs seems to be:
> >> VolumeDoesNotExist(leafUUID)#012VolumeDoesNotExist: Volume does not
> exist:
> >> (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',) --  What?  Volume doesn't
> exist,
> >> why not?
> >
> > If agent/broker logs do not reveal this, the next step is usually
> checking
> > vdsm logs and/or system logs. Can you please check/share these? Thanks.
> >
> >>
> >> 2. Error when clicking "network interfaces" in the web gui for the
> hosted VM
> >> engine.
> >>
> >> 3. Similar to #2 above an error is given when clicking "snapshots" in
> the
> >> web gui for the hosted engine VM.
> >>
> >> The errors for #2 and #3 are generic "cannot read property 'a' of null".
> >> I've read previous postings on ovirt-mailing list that suggest you can
> >> install debug-info package to get a human readable error.. but this
> package
> >> does not seem to be compatible with 4.2, it expects 4.1:  Requires:
> >> "ovirt-engine-webadmin-portal = 4.1.2.2-1.el7.centos" -- Perhaps this
> >> package is no longer required?
>
> Indeed: https://bugzilla.redhat.com/show_bug.cgi?id=1431545
>
>
Right. ui.log will include the same stack trace that it gives in the
browser -- just deobfuscated (automatically now).


> >>  I do see some additional details in the
> >> ui.log that I can post if helpful.
>

So, yes, please share it.


> >>
> >> There is obviously something odd going on here with the hosted engine
> VM.
> >> All three errors appear to related to a problem with it, although it is
> >> indeed up and running.   I'd really like to get HA broker and agent
> back up
> >> and running, and fix these GUI errors related to hosted engine VM.  All
> >> three problems may be connected to one common issue?
> >>
> >> Thanks in advance!
> >>
> >>
> >>
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >
> >
> >
> > --
> > Didi
>
>
>
> --
> Didi
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA



gsher...@redhat.comIRC: gshereme

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Yedidyah Bar David
On Sun, Jan 14, 2018 at 4:34 PM, Yedidyah Bar David  wrote:
> On Sun, Jan 14, 2018 at 3:57 PM, Jayme  wrote:
>> Sure not a problem.  For the first issue regarding agent and broker
>> crashing.  Again the hosted engine VM is up and running at this time, I have
>> no idea why the logs are saying volume doesn't exist and why file
>> /var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8
>> does not exist when the file actually does exist in that path.
>
> Perhaps not enough permissions?
>
> Can you try reading it as user 'vdsm'? E.g.
>
> su - vdsm

su - vdsm -s /bin/bash

> cp 
> /var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8
> /dev/null
>
>>
>> I assume this problem is most likely also related or causing my other
>> problems when accessing hosted vm snapshot section of web gui as well.
>>
>> vdsm log:
>>
>> jsonrpc/0::ERROR::2018-01-14
>> 09:48:09,302::task::875::storage.TaskManager.Task::(_setError)
>> (Task='37eba553-9c13-4e69-90f7-d0c987cc694c') Unexpected error
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in
>> _run
>> return fn(*args, **kargs)
>>   File "", line 2, in prepareImage
>>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in
>> method
>> ret = func(*args, **kwargs)
>>   File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 3162, in
>> prepareImage
>> raise se.VolumeDoesNotExist(leafUUID)
>> VolumeDoesNotExist: Volume does not exist:
>> (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',)
>> jsonrpc/0::ERROR::2018-01-14
>> 09:48:09,303::dispatcher::82::storage.Dispatcher::(wrapper) FINISH
>> prepareImage error=Volume does not exist:
>> (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',)
>>
>> agent log:
>>
>> MainThread::ERROR::2018-01-14
>> 09:49:26,546::agent::145::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
>> Trying to restart agent
>> MainThread::ERROR::2018-01-14
>> 09:49:37,782::hosted_engine::538::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
>> Failed to start necessary monitors
>> MainThread::ERROR::2018-01-14
>> 09:49:37,783::agent::144::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
>> Traceback (most recent call last):
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
>> line 131, in _run_agent
>> return action(he)
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
>> line 55, in action_proper
>> return he.start_monitoring()
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
>> line 416, in start_monitoring
>> self._initialize_broker()
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
>> line 535, in _initialize_broker
>> m.get('options', {}))
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
>> line 83, in start_monitor
>> .format(type, options, e))
>> RequestError: Failed to start monitor ping, options {'addr': '192.168.0.1'}:
>> [Errno 2] No such file or directory
>>
>> MainThread::ERROR::2018-01-14
>> 09:49:37,783::agent::145::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
>> Trying to restart agent
>>
>>
>> broker log:
>>
>> StatusStorageThread::ERROR::2018-01-12
>> 14:03:57,629::status_broker::85::ovirt_hosted_engine_ha.broker.status_broker.StatusBroker.Update::(run)
>> Failed to update state.
>> Traceback (most recent call last):
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/status_broker.py",
>> line 81, in run
>> entry.data
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
>> line 212, in put_stats
>> .format(str(e)))
>> RequestError: failed to write metadata: [Errno 2] No such file or directory:
>> '/var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8'
>> StatusStorageThread::ERROR::2018-01-12
>> 14:03:57,629::storage_broker::160::ovirt_hosted_engine_ha.broker.storage_broker.StorageBroker::(get_raw_stats)
>> Failed to read metadata from
>> /var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8
>> Traceback (most recent call last):
>>   File
>> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
>> line 151, in get_raw_stats
>> f = os.open(path, direct_flag | os.O_RDONLY | os.O_SYNC)
>> OSError: [Errno 2] No such file or directory:
>> '/var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8'
>> StatusStorageThread::ERROR::2018-01-12
>> 

Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Yedidyah Bar David
On Sun, Jan 14, 2018 at 3:57 PM, Jayme  wrote:
> Sure not a problem.  For the first issue regarding agent and broker
> crashing.  Again the hosted engine VM is up and running at this time, I have
> no idea why the logs are saying volume doesn't exist and why file
> /var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8
> does not exist when the file actually does exist in that path.

Perhaps not enough permissions?

Can you try reading it as user 'vdsm'? E.g.

su - vdsm
cp 
/var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8
/dev/null

>
> I assume this problem is most likely also related or causing my other
> problems when accessing hosted vm snapshot section of web gui as well.
>
> vdsm log:
>
> jsonrpc/0::ERROR::2018-01-14
> 09:48:09,302::task::875::storage.TaskManager.Task::(_setError)
> (Task='37eba553-9c13-4e69-90f7-d0c987cc694c') Unexpected error
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in
> _run
> return fn(*args, **kargs)
>   File "", line 2, in prepareImage
>   File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in
> method
> ret = func(*args, **kwargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 3162, in
> prepareImage
> raise se.VolumeDoesNotExist(leafUUID)
> VolumeDoesNotExist: Volume does not exist:
> (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',)
> jsonrpc/0::ERROR::2018-01-14
> 09:48:09,303::dispatcher::82::storage.Dispatcher::(wrapper) FINISH
> prepareImage error=Volume does not exist:
> (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',)
>
> agent log:
>
> MainThread::ERROR::2018-01-14
> 09:49:26,546::agent::145::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
> Trying to restart agent
> MainThread::ERROR::2018-01-14
> 09:49:37,782::hosted_engine::538::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker)
> Failed to start necessary monitors
> MainThread::ERROR::2018-01-14
> 09:49:37,783::agent::144::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
> line 131, in _run_agent
> return action(he)
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py",
> line 55, in action_proper
> return he.start_monitoring()
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
> line 416, in start_monitoring
> self._initialize_broker()
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py",
> line 535, in _initialize_broker
> m.get('options', {}))
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py",
> line 83, in start_monitor
> .format(type, options, e))
> RequestError: Failed to start monitor ping, options {'addr': '192.168.0.1'}:
> [Errno 2] No such file or directory
>
> MainThread::ERROR::2018-01-14
> 09:49:37,783::agent::145::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent)
> Trying to restart agent
>
>
> broker log:
>
> StatusStorageThread::ERROR::2018-01-12
> 14:03:57,629::status_broker::85::ovirt_hosted_engine_ha.broker.status_broker.StatusBroker.Update::(run)
> Failed to update state.
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/status_broker.py",
> line 81, in run
> entry.data
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
> line 212, in put_stats
> .format(str(e)))
> RequestError: failed to write metadata: [Errno 2] No such file or directory:
> '/var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8'
> StatusStorageThread::ERROR::2018-01-12
> 14:03:57,629::storage_broker::160::ovirt_hosted_engine_ha.broker.storage_broker.StorageBroker::(get_raw_stats)
> Failed to read metadata from
> /var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py",
> line 151, in get_raw_stats
> f = os.open(path, direct_flag | os.O_RDONLY | os.O_SYNC)
> OSError: [Errno 2] No such file or directory:
> '/var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8'
> StatusStorageThread::ERROR::2018-01-12
> 14:03:57,630::status_broker::92::ovirt_hosted_engine_ha.broker.status_broker.StatusBroker.Update::(run)
> Failed to read state.
> Traceback (most recent call last):
>   File
> 

Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Karli Sjöberg
Den 14 jan. 2018 14:58 skrev Jayme :Sure not a problem.  For the first issue regarding agent and broker crashing.  Again the hosted engine VM is up and running at this time, I have no idea why the logs are saying volume doesn't exist and why file /var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8 does not exist when the file actually does exist in that path.  This is a shot in the dark, but have you checked selinux? Every time I've had a problem where all looks fine but isn't, it's been that:)/KI assume this problem is most likely also related or causing my other problems when accessing hosted vm snapshot section of web gui as well. vdsm log:jsonrpc/0::ERROR::2018-01-14 09:48:09,302::task::875::storage.TaskManager.Task::(_setError) (Task='37eba553-9c13-4e69-90f7-d0c987cc694c') Unexpected errorTraceback (most recent call last):  File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 882, in _run    return fn(*args, **kargs)  File "", line 2, in prepareImage  File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 48, in method    ret = func(*args, **kwargs)  File "/usr/lib/python2.7/site-packages/vdsm/storage/hsm.py", line 3162, in prepareImage    raise se.VolumeDoesNotExist(leafUUID)VolumeDoesNotExist: Volume does not exist: (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',)jsonrpc/0::ERROR::2018-01-14 09:48:09,303::dispatcher::82::storage.Dispatcher::(wrapper) FINISH prepareImage error=Volume does not exist: (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',)agent log:MainThread::ERROR::2018-01-14 09:49:26,546::agent::145::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Trying to restart agentMainThread::ERROR::2018-01-14 09:49:37,782::hosted_engine::538::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_initialize_broker) Failed to start necessary monitorsMainThread::ERROR::2018-01-14 09:49:37,783::agent::144::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Traceback (most recent call last):  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 131, in _run_agent    return action(he)  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/agent.py", line 55, in action_proper    return he.start_monitoring()  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 416, in start_monitoring    self._initialize_broker()  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/hosted_engine.py", line 535, in _initialize_broker    m.get('options', {}))  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 83, in start_monitor    .format(type, options, e))RequestError: Failed to start monitor ping, options {'addr': '192.168.0.1'}: [Errno 2] No such file or directoryMainThread::ERROR::2018-01-14 09:49:37,783::agent::145::ovirt_hosted_engine_ha.agent.agent.Agent::(_run_agent) Trying to restart agentbroker log:StatusStorageThread::ERROR::2018-01-12 14:03:57,629::status_broker::85::ovirt_hosted_engine_ha.broker.status_broker.StatusBroker.Update::(run) Failed to update state.Traceback (most recent call last):  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/status_broker.py", line 81, in run    entry.data  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py", line 212, in put_stats    .format(str(e)))RequestError: failed to write metadata: [Errno 2] No such file or directory: '/var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8'StatusStorageThread::ERROR::2018-01-12 14:03:57,629::storage_broker::160::ovirt_hosted_engine_ha.broker.storage_broker.StorageBroker::(get_raw_stats) Failed to read metadata from /var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8Traceback (most recent call last):  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py", line 151, in get_raw_stats    f = os.open(path, direct_flag | os.O_RDONLY | os.O_SYNC)OSError: [Errno 2] No such file or directory: '/var/run/vdsm/storage/248f46f0-d793-4581-9810-c9d965e2f286/14a20941-1b84-4b82-be8f-ace38d7c037a/8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8'StatusStorageThread::ERROR::2018-01-12 14:03:57,630::status_broker::92::ovirt_hosted_engine_ha.broker.status_broker.StatusBroker.Update::(run) Failed to read state.Traceback (most recent call last):  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/status_broker.py", line 88, in run    self._storage_broker.get_raw_stats()  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py", line 162, in get_raw_stats    .format(str(e)))RequestError: failed to read metadata: [Errno 2] No such file or directory: 

Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Yedidyah Bar David
On Sun, Jan 14, 2018 at 3:46 PM, Yedidyah Bar David  wrote:
> On Sun, Jan 14, 2018 at 3:37 PM, Jayme  wrote:
>> First, apologies for all the posts to this list lately, I've been having a
>> heck of a time after 4.2 upgrade and you've been helpful, I appreciate that.
>>
>> Since 4.2 upgrade I'm experiencing a few problems that I'm trying to debug.
>>
>> Current status is engine and all hosts are upgraded to 4.2, and cluster and
>> domain set to 4.2 compatibility.  Hosted Engine VM is running and ui
>> accessible etc, all VMs on hosts are running but no HA service.  Web UI is
>> giving a few errors when checking network and snapshots on the hosted engine
>> VM only, it doesn't give errors on any of the others VMs that I spot
>> checked.
>>
>> 1. HA-agent and HA-broker are continually crashing on all three hosts over
>> and over every few seconds.  I sent an email to users list with more details
>> on this problem but unfortunately haven't heard anything back yet.  The
>> general error in the logs seems to be:
>> VolumeDoesNotExist(leafUUID)#012VolumeDoesNotExist: Volume does not exist:
>> (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',) --  What?  Volume doesn't exist,
>> why not?
>
> If agent/broker logs do not reveal this, the next step is usually checking
> vdsm logs and/or system logs. Can you please check/share these? Thanks.
>
>>
>> 2. Error when clicking "network interfaces" in the web gui for the hosted VM
>> engine.
>>
>> 3. Similar to #2 above an error is given when clicking "snapshots" in the
>> web gui for the hosted engine VM.
>>
>> The errors for #2 and #3 are generic "cannot read property 'a' of null".
>> I've read previous postings on ovirt-mailing list that suggest you can
>> install debug-info package to get a human readable error.. but this package
>> does not seem to be compatible with 4.2, it expects 4.1:  Requires:
>> "ovirt-engine-webadmin-portal = 4.1.2.2-1.el7.centos" -- Perhaps this
>> package is no longer required?

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

>>  I do see some additional details in the
>> ui.log that I can post if helpful.
>>
>> There is obviously something odd going on here with the hosted engine VM.
>> All three errors appear to related to a problem with it, although it is
>> indeed up and running.   I'd really like to get HA broker and agent back up
>> and running, and fix these GUI errors related to hosted engine VM.  All
>> three problems may be connected to one common issue?
>>
>> Thanks in advance!
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
> Didi



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Yedidyah Bar David
On Sun, Jan 14, 2018 at 3:37 PM, Jayme  wrote:
> First, apologies for all the posts to this list lately, I've been having a
> heck of a time after 4.2 upgrade and you've been helpful, I appreciate that.
>
> Since 4.2 upgrade I'm experiencing a few problems that I'm trying to debug.
>
> Current status is engine and all hosts are upgraded to 4.2, and cluster and
> domain set to 4.2 compatibility.  Hosted Engine VM is running and ui
> accessible etc, all VMs on hosts are running but no HA service.  Web UI is
> giving a few errors when checking network and snapshots on the hosted engine
> VM only, it doesn't give errors on any of the others VMs that I spot
> checked.
>
> 1. HA-agent and HA-broker are continually crashing on all three hosts over
> and over every few seconds.  I sent an email to users list with more details
> on this problem but unfortunately haven't heard anything back yet.  The
> general error in the logs seems to be:
> VolumeDoesNotExist(leafUUID)#012VolumeDoesNotExist: Volume does not exist:
> (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',) --  What?  Volume doesn't exist,
> why not?

If agent/broker logs do not reveal this, the next step is usually checking
vdsm logs and/or system logs. Can you please check/share these? Thanks.

>
> 2. Error when clicking "network interfaces" in the web gui for the hosted VM
> engine.
>
> 3. Similar to #2 above an error is given when clicking "snapshots" in the
> web gui for the hosted engine VM.
>
> The errors for #2 and #3 are generic "cannot read property 'a' of null".
> I've read previous postings on ovirt-mailing list that suggest you can
> install debug-info package to get a human readable error.. but this package
> does not seem to be compatible with 4.2, it expects 4.1:  Requires:
> "ovirt-engine-webadmin-portal = 4.1.2.2-1.el7.centos" -- Perhaps this
> package is no longer required?  I do see some additional details in the
> ui.log that I can post if helpful.
>
> There is obviously something odd going on here with the hosted engine VM.
> All three errors appear to related to a problem with it, although it is
> indeed up and running.   I'd really like to get HA broker and agent back up
> and running, and fix these GUI errors related to hosted engine VM.  All
> three problems may be connected to one common issue?
>
> Thanks in advance!
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-engine-webadmin-portal-debuginfo package for 4.2?

2018-01-14 Thread Jayme
First, apologies for all the posts to this list lately, I've been having a
heck of a time after 4.2 upgrade and you've been helpful, I appreciate
that.

Since 4.2 upgrade I'm experiencing a few problems that I'm trying to debug.

Current status is engine and all hosts are upgraded to 4.2, and cluster and
domain set to 4.2 compatibility.  Hosted Engine VM is running and ui
accessible etc, all VMs on hosts are running but no HA service.  Web UI is
giving a few errors when checking network and snapshots on the hosted
engine VM only, it doesn't give errors on any of the others VMs that I spot
checked.

1. HA-agent and HA-broker are continually crashing on all three hosts over
and over every few seconds.  I sent an email to users list with more
details on this problem but unfortunately haven't heard anything back yet.
The general error in the logs seems to be:
VolumeDoesNotExist(leafUUID)#012VolumeDoesNotExist:
Volume does not exist: (u'8582bdfc-ef54-47af-9f1e-f5b7ec1f1cf8',) --
What?  Volume doesn't exist, why not?

2. Error when clicking "network interfaces" in the web gui for the
hosted VM engine.

3. Similar to #2 above an error is given when clicking "snapshots" in the
web gui for the hosted engine VM.

The errors for #2 and #3 are generic "cannot read property 'a' of null".
I've read previous postings on ovirt-mailing list that suggest you can
install debug-info package to get a human readable error.. but this package
does not seem to be compatible with 4.2, it expects 4.1:  Requires:
"ovirt-engine-webadmin-portal = 4.1.2.2-1.el7.centos" -- Perhaps this
package is no longer required?  I do see some additional details in the
ui.log that I can post if helpful.

There is obviously something odd going on here with the hosted engine VM.
All three errors appear to related to a problem with it, although it is
indeed up and running.   I'd really like to get HA broker and agent back up
and running, and fix these GUI errors related to hosted engine VM.  All
three problems may be connected to one common issue?

Thanks in advance!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo

2017-02-06 Thread Yedidyah Bar David
On Tue, Feb 7, 2017 at 1:22 AM, Edward Clay  wrote:
> Looks like I originally had a newer version of the debuginfo packages
> installed that didn't work.  So the log output I provided did lead to the
> answer I needed.  Evidently yum install ovirt-engine*debuginfo seems to
> install the latest version available instead of the one that matches the
> currently installed ovirt-engine.

Indeed. We have a related bug, still didn't decide what to do with it:

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

>
> On Mon, Feb 6, 2017 at 2:47 PM, Edward Clay 
> wrote:
>>
>> Hello,  I've run into a situation where I'm getting an uncaught exception
>> error and it seems like the log entries are obfuscated and one needs to
>> install the ovirt-engine-weba-portal-debuginfo rpm to decipher whats really
>> going on.  I've installed this package and restarted the ovirt-engine but
>> I'm still not getting useful info in the ui.log.  Any ideas what how I can
>> resolve this?
>>
>>
>> # rpm -qa|grep ovirt.*debuginfo
>> ovirt-engine-userportal-debuginfo-4.0.5.5-1.el7.centos.noarch
>> ovirt-engine-webadmin-portal-debuginfo-4.0.5.5-1.el7.centos.noarch
>>
>> This is an example of the log entry when attempting to create a vm using a
>> template that contains a disk.
>> 2017-02-06 14:42:15,538 ERROR
>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default
>> task-67) [] Permutation name: 587E534EAE351BE2F229E0B865EFB2D3
>> 2017-02-06 14:42:15,539 ERROR
>> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default
>> task-67) [] Uncaught exception:
>> com.google.gwt.core.client.JavaScriptException: (TypeError)
>>  __gwt$exception: : Cannot read property 'f' of undefined
>> at
>> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$updateImageToDestinationDomainMap(DisksAllocationModel.java:307)
>> at
>> org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$getImageToDestinationDomainMap(DisksAllocationModel.java:133)
>> at
>> org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalListModel.$postVmNameUniqueCheck(UserPortalListModel.java:975)
>> at
>> org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalListModel$10.onSuccess(UserPortalListModel.java:921)
>> at
>> org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:238)
>> [frontend.jar:]
>> at
>> org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:238)
>> [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$3$1.$onSuccess(GWTRPCCommunicationProvider.java:160)
>> [frontend.jar:]
>> at
>> org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.onSuccess(GWTRPCCommunicationProvider.java:160)
>> [frontend.jar:]
>> at
>> com.google.gwt.rpc.client.impl.RpcCallbackAdapter.onResponseReceived(RpcCallbackAdapter.java:72)
>> [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.eval(userportal-0.js@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.eval(userportal-0.js@54)
>>
>> Is this as clear as the ui.log will get?
>> --
>> Best regards,
>> Edward Clay
>> Systems Administrator
>> UK2 Group - US Operations
>> Phone: 1-800-222-2165
>> FAX: 435-755-3449
>> E-mail: edward.c...@uk2group.com
>>
>> Believe in Better Hosting
>> http://www.westhost.com
>
>
>
>
> --
> Best regards,
> Edward Clay
> Systems Administrator
> UK2 Group - US Operations
> Phone: 1-800-222-2165
> FAX: 435-755-3449
> E-mail: edward.c...@uk2group.com
>
> Believe in Better Hosting
> http://www.westhost.com
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine-webadmin-portal-debuginfo

2017-02-06 Thread Edward Clay
Looks like I originally had a newer version of the debuginfo packages
installed that didn't work.  So the log output I provided did lead to the
answer I needed.  Evidently yum install ovirt-engine*debuginfo seems to
install the latest version available instead of the one that matches the
currently installed ovirt-engine.

On Mon, Feb 6, 2017 at 2:47 PM, Edward Clay 
wrote:

> Hello,  I've run into a situation where I'm getting an uncaught exception
> error and it seems like the log entries are obfuscated and one needs to
> install the ovirt-engine-weba-portal-debuginfo rpm to decipher whats
> really going on.  I've installed this package and restarted the
> ovirt-engine but I'm still not getting useful info in the ui.log.  Any
> ideas what how I can resolve this?
>
>
> # rpm -qa|grep ovirt.*debuginfo
> ovirt-engine-userportal-debuginfo-4.0.5.5-1.el7.centos.noarch
> ovirt-engine-webadmin-portal-debuginfo-4.0.5.5-1.el7.centos.noarch
>
> This is an example of the log entry when attempting to create a vm using a
> template that contains a disk.
> 2017-02-06 14:42:15,538 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-67) [] Permutation name: 587E534EAE351BE2F229E0B865EFB2D3
> 2017-02-06 14:42:15,539 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-67) [] Uncaught exception: 
> com.google.gwt.core.client.JavaScriptException:
> (TypeError)
>  __gwt$exception: : Cannot read property 'f' of undefined
> at org.ovirt.engine.ui.uicommonweb.models.storage.
> DisksAllocationModel.$updateImageToDestinationDomain
> Map(DisksAllocationModel.java:307)
> at org.ovirt.engine.ui.uicommonweb.models.storage.
> DisksAllocationModel.$getImageToDestinationDomainMap
> (DisksAllocationModel.java:133)
> at org.ovirt.engine.ui.uicommonweb.models.userportal.
> UserPortalListModel.$postVmNameUniqueCheck(UserPortalListModel.java:975)
> at org.ovirt.engine.ui.uicommonweb.models.userportal.
> UserPortalListModel$10.onSuccess(UserPortalListModel.java:921)
> at 
> org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:238)
> [frontend.jar:]
> at 
> org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:238)
> [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$3$1.$onSuccess(GWTRPCCommunicationProvider.java:160)
> [frontend.jar:]
> at org.ovirt.engine.ui.frontend.communication.
> GWTRPCCommunicationProvider$3$1.onSuccess(GWTRPCCommunicationProvider.java:160)
> [frontend.jar:]
> at com.google.gwt.rpc.client.impl.RpcCallbackAdapter.
> onResponseReceived(RpcCallbackAdapter.java:72) [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.eval(userportal-0.js@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.eval(userportal-0.js@54)
>
> Is this as clear as the ui.log will get?
> --
> Best regards,
> Edward Clay
> Systems Administrator
> UK2 Group - US Operations
> Phone: 1-800-222-2165
> FAX: 435-755-3449
> E-mail: edward.c...@uk2group.com
>
> Believe in Better Hosting
> http://www.westhost.com
>



-- 
Best regards,
Edward Clay
Systems Administrator
UK2 Group - US Operations
Phone: 1-800-222-2165
FAX: 435-755-3449
E-mail: edward.c...@uk2group.com

Believe in Better Hosting
http://www.westhost.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt-engine-webadmin-portal-debuginfo

2017-02-06 Thread Edward Clay
Hello,  I've run into a situation where I'm getting an uncaught exception
error and it seems like the log entries are obfuscated and one needs to
install the ovirt-engine-weba-portal-debuginfo rpm to decipher whats really
going on.  I've installed this package and restarted the ovirt-engine but
I'm still not getting useful info in the ui.log.  Any ideas what how I can
resolve this?


# rpm -qa|grep ovirt.*debuginfo
ovirt-engine-userportal-debuginfo-4.0.5.5-1.el7.centos.noarch
ovirt-engine-webadmin-portal-debuginfo-4.0.5.5-1.el7.centos.noarch

This is an example of the log entry when attempting to create a vm using a
template that contains a disk.
2017-02-06 14:42:15,538 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-67) [] Permutation name: 587E534EAE351BE2F229E0B865EFB2D3
2017-02-06 14:42:15,539 ERROR
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
(default task-67) [] Uncaught exception:
com.google.gwt.core.client.JavaScriptException: (TypeError)
 __gwt$exception: : Cannot read property 'f' of undefined
at
org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$updateImageToDestinationDomainMap(DisksAllocationModel.java:307)
at
org.ovirt.engine.ui.uicommonweb.models.storage.DisksAllocationModel.$getImageToDestinationDomainMap(DisksAllocationModel.java:133)
at
org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalListModel.$postVmNameUniqueCheck(UserPortalListModel.java:975)
at
org.ovirt.engine.ui.uicommonweb.models.userportal.UserPortalListModel$10.onSuccess(UserPortalListModel.java:921)
at
org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:238)
[frontend.jar:]
at
org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:238)
[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$3$1.$onSuccess(GWTRPCCommunicationProvider.java:160)
[frontend.jar:]
at
org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$3$1.onSuccess(GWTRPCCommunicationProvider.java:160)
[frontend.jar:]
at
com.google.gwt.rpc.client.impl.RpcCallbackAdapter.onResponseReceived(RpcCallbackAdapter.java:72)
[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.eval(userportal-0.js@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.eval(userportal-0.js@54)

Is this as clear as the ui.log will get?
-- 
Best regards,
Edward Clay
Systems Administrator
UK2 Group - US Operations
Phone: 1-800-222-2165
FAX: 435-755-3449
E-mail: edward.c...@uk2group.com

Believe in Better Hosting
http://www.westhost.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users