Hello,

nothing like this is in the roadmap.


Rgds

Le mer. 15 avr. 2020 à 15:26, Larry Shen <larry.shen@nxp.com> a écrit :

OK, so if possible some audit log feature later in a long roadmap? So we can exactly know what happened to the system.

 

Yes, I see some history for device change, e.g. change tag, online, offline etc. But for others, when guys asked me what happened. Sometimes I answered: yes, I found this history for you, so it’s easy to debug something, while sometimes I had to answer: sorry, I don’t know.

 

From: Remi Duraffort <remi.duraffort@linaro.org>
Sent: Wednesday, April 15, 2020 4:59 PM
To: Larry Shen <larry.shen@nxp.com>
Cc: lava-users@lists.lavasoftware.org
Subject: Re: [EXT] Re: [Lava-users] Audit log for user action?

 

Caution: EXT Email

When called by lavacli, you will at least guess the lavacli version by looking at the user-agent.

 

Le mer. 15 avr. 2020 à 10:50, Larry Shen <larry.shen@nxp.com> a écrit :

Hi, Remi,

 

I checked gunicorn log:

 

YES, if user cancel it by manual, we could see the url like next:

gunicorn.log:[2020-04-08 18:26:12 +0200] [24700] [DEBUG] GET /scheduler/job/55985/cancel

Unfortunately, no visited IP here.

If by lavacli, we can get nothing.

 

But still we could not see the user, neither in lava-master.log nor Django.log.

 

But if it was not persisted in database as you suggested, I guess we really cant get it.

Thats fine, I just ask this question in case lava have this mechanism which I dont know. Thanks.

 

From: Remi Duraffort <remi.duraffort@linaro.org>
Sent: Wednesday, April 15, 2020 4:14 PM
To: Larry Shen <larry.shen@nxp.com>
Cc: lava-users@lists.lavasoftware.org
Subject: [EXT] Re: [Lava-users] Audit log for user action?

 

Caution: EXT Email

Hello,

 

the information is not stored in the database.

 

But you might have some information in the logs: /var/log/apache2/lava-server.log or /var/log/lava-server/gunicorn.log

 

 

Rgds

 

Le mer. 15 avr. 2020 à 09:28, Larry Shen <larry.shen@nxp.com> a écrit :

Hi, there,

 

If lava in some place possible to find who cancel a job? Or use lavacli or manual cancel a job?

Or for which detail reason, the job was canceled?

 

We are struggling to find why my job canceled sometimes, not sure someone not carefully do it or our external program by chance do it, especially when there are many people used the same master.

 

Regards,

Lary

_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


 

--

Rémi Duraffort

LAVA Architect

Linaro


 

--

Rémi Duraffort

LAVA Architect

Linaro



--
Rémi Duraffort
LAVA Architect
Linaro