Martin is right, I should rephrase what I said
We do not display the "session id" information on running tasks or command
in the UI.
On Thu, May 25, 2017 at 10:13 AM, Martin Perina <mperina(a)redhat.com> wrote:
On Thu, May 25, 2017 at 3:55 PM, Ravi Nori <rnori(a)redhat.com> wrote:
> We do not display the information on running tasks or command in the UI.
>
AFAIK we do, you can see execution progress of commands, which are marked
as monitored, in Tasks tab in bottom right corner of webadmin. And such
commands are exposed under /ovirt-engine/api/jobs
> The information is used internally by engine to keep session alive if
> there are commands running for a session. The list of sessions and the
> associated commands can be retrieved by running the following sql
>
> su - postgres -c 'psql engine -c "select engine_session_id, command_id,
> command_type, command_params_class from command_entities, engine_sessions,
> status where command_entities.engine_session_seq_id = engine_sessions.id
> ;"'
>
>
> On Wed, May 24, 2017 at 6:29 AM, Martin Perina <mperina(a)redhat.com>
> wrote:
>
>> AFAIK content of Tasks tab in webadmin should be available under
>>
>> /ovirt-engine/api/jobs , but sessions are not exposed to API.
>>
>> On Wed, May 24, 2017 at 11:58 AM, Fabrice Bacchella <
>> fabrice.bacchella(a)orange.fr> wrote:
>>
>>> And tasks are not available through the REST API, I think.
>>>
>>> Le 24 mai 2017 à 11:07, Martin Perina <mperina(a)redhat.com> a écrit :
>>>
>>> Hi,
>>>
>>> there is no direct link between sessions and commands executed by them
>>> in UI. You can take a look into Tasks tab in bottom right corner, if there
>>> are any long running tasks.
>>>
>>> Ravi, would it be possible to display sessionId inside Tasks to be able
>>> to identify which command belongs to which session?
>>>
>>>
>>> Martin Perina
>>>
>>>
>>> On Wed, May 24, 2017 at 9:21 AM, Fabrice Bacchella <
>>> fabrice.bacchella(a)orange.fr> wrote:
>>>
>>>> No one has the answer ?
>>>>
>>>> Le 18 mai 2017 à 09:58, Sandro Bonazzola <sbonazzo(a)redhat.com> a
>>>> écrit :
>>>>
>>>> Adding some people who may be able to answer
>>>>
>>>> On Wed, May 17, 2017 at 11:45 AM, Fabrice Bacchella <
>>>> fabrice.bacchella(a)orange.fr> wrote:
>>>>
>>>>> I'm back with a long list of sessions, many of them started
since
>>>>> many days. How can I get informations about them ?
>>>>>
>>>>> > Le 3 mai 2017 à 18:52, Fabrice Bacchella <
>>>>> fabrice.bacchella(a)orange.fr> a écrit :
>>>>> >
>>>>> > In the UI, I see 73 open sessions, all open by me.
>>>>> >
>>>>> > In ovirt logs, I see a lot of :
>>>>> > 2017-05-03 18:49:31,483+02 INFO
[org.ovirt.engine.core.bll.aaa.SessionDataContainer]
>>>>> (DefaultQuartzScheduler3) [dcf02fc4-72c3-4237-8855-d4e474766088] Not
>>>>> removing session 'B/GWJOxyLh3pXQPPitfCk29iiJ3XW
>>>>> MerYdNmOdZyc9ceqD+oAW/hhhZDXCltK+N4yRo9TgunhGR7w7YEELOI5A==',
>>>>> session has running commands for user 'XXXX'.
>>>>> >
>>>>> > And indeed I can't close those sessions in the UI.
>>>>> >
>>>>> >
>>>>> > I have two questions:
>>>>> >
>>>>> > Are those sessions accessible using the API ?
>>>>> > How to know what running command is waiting ?
>>>>> >
>>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>>
>>
>