terminating sessions

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/GWJOxyLh3pXQPPitfCk29iiJ3XWMerYdNmOdZyc9ceqD+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 ?

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@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/GWJOxyLh3pXQPPitfCk29iiJ3XWMerYdNmOdZyc9ceqD+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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Adding some people who may be able to answer On Wed, May 17, 2017 at 11:45 AM, Fabrice Bacchella < fabrice.bacchella@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@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/GWJOxyLh3pXQPPitfCk29iiJ3XWMer YdNmOdZyc9ceqD+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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- SANDRO BONAZZOLA ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

--Apple-Mail=_81DBAE10-7857-48FC-95D1-7C0134ED734E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 No one has the answer ?
Le 18 mai 2017 =C3=A0 09:58, Sandro Bonazzola <sbonazzo@redhat.com> a = =C3=A9crit : =20 Adding some people who may be able to answer =20 On Wed, May 17, 2017 at 11:45 AM, Fabrice Bacchella = <fabrice.bacchella@orange.fr <mailto:fabrice.bacchella@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 ? =20
Le 3 mai 2017 =C3=A0 18:52, Fabrice Bacchella = <fabrice.bacchella@orange.fr <mailto:fabrice.bacchella@orange.fr>> a = =C3=A9crit :
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/GWJOxyLh3pXQPPitfCk29iiJ3XWMerYdNmOdZyc9ceqD+oAW/hhhZDXCltK+N4yRo9Tgunh= GR7w7YEELOI5A=3D=3D', 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 ?
--Apple-Mail=_81DBAE10-7857-48FC-95D1-7C0134ED734E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D"">No one has the answer ?<div class=3D""><br = class=3D""><div><blockquote type=3D"cite" class=3D""><div class=3D"">Le = 18 mai 2017 =C3=A0 09:58, Sandro Bonazzola <<a = href=3D"mailto:sbonazzo@redhat.com" class=3D"">sbonazzo@redhat.com</a>>= a =C3=A9crit :</div><br class=3D"Apple-interchange-newline"><div = class=3D""><div dir=3D"ltr" class=3D"">Adding some people who may be = able to answer</div><div class=3D"gmail_extra"><br class=3D""><div = class=3D"gmail_quote">On Wed, May 17, 2017 at 11:45 AM, Fabrice = Bacchella <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:fabrice.bacchella@orange.fr" target=3D"_blank" = class=3D"">fabrice.bacchella@orange.fr</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm back with a long = list of sessions, many of them started since many days. How can I get = informations about them ?<br class=3D""> <div class=3D"HOEnZb"><div class=3D"h5"><br class=3D""> > Le 3 mai 2017 =C3=A0 18:52, Fabrice Bacchella <<a = href=3D"mailto:fabrice.bacchella@orange.fr" = class=3D"">fabrice.bacchella@orange.fr</a>> a =C3=A9crit :<br = class=3D""> ><br class=3D""> > In the UI, I see 73 open sessions, all open by me.<br class=3D""> ><br class=3D""> > In ovirt logs, I see a lot of :<br class=3D""> > 2017-05-03 18:49:31,483+02 INFO = [org.ovirt.engine.core.bll.<wbr class=3D"">aaa.SessionDataContainer] = (DefaultQuartzScheduler3) [dcf02fc4-72c3-4237-8855-<wbr = class=3D"">d4e474766088] Not removing session 'B/<wbr = class=3D"">GWJOxyLh3pXQPPitfCk29iiJ3XWMer<wbr = class=3D"">YdNmOdZyc9ceqD+oAW/hhhZDXCltK+<wbr = class=3D"">N4yRo9TgunhGR7w7YEELOI5A=3D=3D', session has running commands = for user 'XXXX'.<br class=3D""> ><br class=3D""> > And indeed I can't close those sessions in the UI.<br class=3D""> ><br class=3D""> ><br class=3D""> > I have two questions:<br class=3D""> ><br class=3D""> > Are those sessions accessible using the API ?<br class=3D""> > How to know what running command is waiting ?<br class=3D""> ><br = class=3D""></div></div></blockquote></div></div></div></blockquote><br = class=3D""></div><br class=3D""></div></body></html>= --Apple-Mail=_81DBAE10-7857-48FC-95D1-7C0134ED734E--

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@orange.fr> wrote:
No one has the answer ?
Le 18 mai 2017 à 09:58, Sandro Bonazzola <sbonazzo@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@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@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/GWJOxyLh3pXQPPitfCk29iiJ3XWMerYdNmOdZyc9ceqD+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 ?

Le 24 mai 2017 =C3=A0 11:07, Martin Perina <mperina@redhat.com> a = =C3=A9crit : =20 Hi, =20 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 =
--Apple-Mail=_26AFBF05-79A9-4BF8-A7A3-7EEEA0CA04ED Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 And tasks are not available through the REST API, I think. there are any long running tasks.=20
=20 Ravi, would it be possible to display sessionId inside Tasks to be = able to identify which command belongs to which session? =20 =20 Martin Perina =20 =20 On Wed, May 24, 2017 at 9:21 AM, Fabrice Bacchella = <fabrice.bacchella@orange.fr <mailto:fabrice.bacchella@orange.fr>> = wrote: No one has the answer ? =20
Le 18 mai 2017 =C3=A0 09:58, Sandro Bonazzola <sbonazzo@redhat.com = <mailto:sbonazzo@redhat.com>> a =C3=A9crit : =20 Adding some people who may be able to answer =20 On Wed, May 17, 2017 at 11:45 AM, Fabrice Bacchella = <fabrice.bacchella@orange.fr <mailto:fabrice.bacchella@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 ? =20
Le 3 mai 2017 =C3=A0 18:52, Fabrice Bacchella = <fabrice.bacchella@orange.fr <mailto:fabrice.bacchella@orange.fr>> a = =C3=A9crit :
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/GWJOxyLh3pXQPPitfCk29iiJ3XWMerYdNmOdZyc9ceqD+oAW/hhhZDXCltK+N4yRo9Tgunh= GR7w7YEELOI5A=3D=3D', 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 ?
=20 =20 =20
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_26AFBF05-79A9-4BF8-A7A3-7EEEA0CA04ED Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" = class=3D""><div class=3D"">And tasks are not available through the REST = API, I think.</div><br class=3D""><div><blockquote type=3D"cite" = class=3D""><div class=3D"">Le 24 mai 2017 =C3=A0 11:07, Martin Perina = <<a href=3D"mailto:mperina@redhat.com" = class=3D"">mperina@redhat.com</a>> a =C3=A9crit :</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D""><div class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif">Hi,<br class=3D""><br = class=3D""></div><div class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif">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. <br class=3D""><br class=3D""></div><div = class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif">Ravi, would it be = possible to display sessionId inside Tasks to be able to identify which = command belongs to which session?<br class=3D""><br class=3D""></div><div = class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif"><br class=3D""></div><div= class=3D"gmail_default" = style=3D"font-family:arial,helvetica,sans-serif">Martin Perina<br = class=3D""><br class=3D""></div></div><div class=3D"gmail_extra"><br = class=3D""><div class=3D"gmail_quote">On Wed, May 24, 2017 at 9:21 AM, = Fabrice Bacchella <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:fabrice.bacchella@orange.fr" target=3D"_blank" = class=3D"">fabrice.bacchella@orange.fr</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"><div = style=3D"word-wrap:break-word" class=3D"">No one has the answer ?<div = class=3D""><br class=3D""><div class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D"">Le 18 mai 2017 =C3=A0 09:58, Sandro Bonazzola = <<a href=3D"mailto:sbonazzo@redhat.com" target=3D"_blank" = class=3D"">sbonazzo@redhat.com</a>> a =C3=A9crit :</div><br = class=3D"m_-2297225100152747599Apple-interchange-newline"><div = class=3D""><div dir=3D"ltr" class=3D"">Adding some people who may be = able to answer</div><div class=3D"gmail_extra"><br class=3D""><div = class=3D"gmail_quote">On Wed, May 17, 2017 at 11:45 AM, Fabrice = Bacchella <span dir=3D"ltr" class=3D""><<a = href=3D"mailto:fabrice.bacchella@orange.fr" target=3D"_blank" = class=3D"">fabrice.bacchella@orange.fr</a>></span> wrote:<br = class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm back with a long = list of sessions, many of them started since many days. How can I get = informations about them ?<br class=3D""> <div class=3D"m_-2297225100152747599HOEnZb"><div = class=3D"m_-2297225100152747599h5"><br class=3D""> > Le 3 mai 2017 =C3=A0 18:52, Fabrice Bacchella <<a = href=3D"mailto:fabrice.bacchella@orange.fr" target=3D"_blank" = class=3D"">fabrice.bacchella@orange.fr</a>> a =C3=A9crit :<br = class=3D""> ><br class=3D""> > In the UI, I see 73 open sessions, all open by me.<br class=3D""> ><br class=3D""> > In ovirt logs, I see a lot of :<br class=3D""> > 2017-05-03 18:49:31,483+02 INFO = [org.ovirt.engine.core.bll.aaa<wbr class=3D"">.SessionDataContainer] = (DefaultQuartzScheduler3) [dcf02fc4-72c3-4237-8855-d4e47<wbr = class=3D"">4766088] Not removing session = 'B/GWJOxyLh3pXQPPitfCk29iiJ3XW<wbr class=3D"">MerYdNmOdZyc9ceqD+oAW/<wbr = class=3D"">hhhZDXCltK+N4yRo9TgunhGR7w7YEE<wbr class=3D"">LOI5A=3D=3D', = session has running commands for user 'XXXX'.<br class=3D""> ><br class=3D""> > And indeed I can't close those sessions in the UI.<br class=3D""> ><br class=3D""> ><br class=3D""> > I have two questions:<br class=3D""> ><br class=3D""> > Are those sessions accessible using the API ?<br class=3D""> > How to know what running command is waiting ?<br class=3D""> ><br = class=3D""></div></div></blockquote></div></div></div></blockquote><br = class=3D""></div><br class=3D""></div></div></blockquote></div><br = class=3D""></div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_26AFBF05-79A9-4BF8-A7A3-7EEEA0CA04ED--

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@orange.fr> wrote:
And tasks are not available through the REST API, I think.
Le 24 mai 2017 à 11:07, Martin Perina <mperina@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@orange.fr> wrote:
No one has the answer ?
Le 18 mai 2017 à 09:58, Sandro Bonazzola <sbonazzo@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

We do not display the information on running tasks or command in the UI. 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@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@orange.fr> wrote:
And tasks are not available through the REST API, I think.
Le 24 mai 2017 à 11:07, Martin Perina <mperina@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@orange.fr> wrote:
No one has the answer ?
Le 18 mai 2017 à 09:58, Sandro Bonazzola <sbonazzo@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On Thu, May 25, 2017 at 3:55 PM, Ravi Nori <rnori@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@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@orange.fr> wrote:
And tasks are not available through the REST API, I think.
Le 24 mai 2017 à 11:07, Martin Perina <mperina@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@orange.fr> wrote:
No one has the answer ?
Le 18 mai 2017 à 09:58, Sandro Bonazzola <sbonazzo@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@redhat.com> wrote:
On Thu, May 25, 2017 at 3:55 PM, Ravi Nori <rnori@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@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@orange.fr> wrote:
And tasks are not available through the REST API, I think.
Le 24 mai 2017 à 11:07, Martin Perina <mperina@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@orange.fr> wrote:
No one has the answer ?
Le 18 mai 2017 à 09:58, Sandro Bonazzola <sbonazzo@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (4)
-
Fabrice Bacchella
-
Martin Perina
-
Ravi Nori
-
Sandro Bonazzola