Webinterface

Questions and answers on how to get the most out of FFAStrans
emcodem
Posts: 1752
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

@ArsenioV
Hmmm sorry i might have misread your problem description.
You say you reinstalled the service but you don't mention if you set the needed credentials of the service that allows the service to browse UNC paths. (i guess you dont have "everyone read" permissions on your UNC locations?)

Easy test: don't start the webinterface as service but as local application. Is it able to browse your configured UNC paths? If yes, you just need to equip the windows service with some username that can list files on the UNC paths.
One more level deep: log on to windows using the exact same username that you want your service to run as in the final configuration and try to open a windows explorer to the configured UNC path. It must open without asking for password.
emcodem, wrapping since 2009 you got the rhyme?
ArsenioV
Posts: 20
Joined: Thu May 14, 2020 2:13 pm

Re: Webinterface

Post by ArsenioV »

deleted
Last edited by ArsenioV on Sat Mar 30, 2024 10:32 pm, edited 1 time in total.
emcodem
Posts: 1752
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

@ArsenioV
so it also does not work when you run server.exe as application (with your current credentials) instead of service?
I really need to see whats going on, could you do me the favour and run as application, attempt to open the file browser webpage in your browser, wait for the error to appear and PM me the last 50-100 lines from the console where server.exe is running?
emcodem, wrapping since 2009 you got the rhyme?
emcodem
Posts: 1752
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

@Silicon
Fixed Version is out, let me know if you face anymore troubles. (don't worry about the size of the exe, it will get bigger again later :D)

@ArsenioV
I tested the browsing on UNC again, didnt find any issues... need the requested log!
emcodem, wrapping since 2009 you got the rhyme?
User avatar
Silicon
Posts: 98
Joined: Fri Sep 04, 2020 6:34 am

Re: Webinterface

Post by Silicon »

@emcodem
I've installed version 1.2.0.1 and I can confirm that both reported issues are fixed.
Thanks a lot!
BR,
Silicon
--------
FFAStrans 1.3.0.2; WebInterface 1.3.0.0
Manager: VM: 2x Xeon E5-2630v3@2.4GHz, 8GB RAM
Workers: 3x HP DL360 G9 (2x Xeon E5-2643v3@3.4GHz,16GB RAM, nVidia M2000)+ 2x Lenovo SR665 (2x AMD EPYC730216C@3.0GHz,128GB RAM, nVidia P2200)
User avatar
Silicon
Posts: 98
Joined: Fri Sep 04, 2020 6:34 am

Re: Webinterface

Post by Silicon »

Hi emcodem
Unfortunatelly I have found another bug in Webinterface 1.2.0.1: after a while (I don't know how long it takes) the list of Finished jobs in bottom part of page becames unsorted ... it should be sorted based on End time (correct?), but it is not.
Attachments
Webinterface - Job history sorted inproperly.PNG
Webinterface - Job history sorted inproperly.PNG (76.46 KiB) Viewed 7712 times
BR,
Silicon
--------
FFAStrans 1.3.0.2; WebInterface 1.3.0.0
Manager: VM: 2x Xeon E5-2630v3@2.4GHz, 8GB RAM
Workers: 3x HP DL360 G9 (2x Xeon E5-2643v3@3.4GHz,16GB RAM, nVidia M2000)+ 2x Lenovo SR665 (2x AMD EPYC730216C@3.0GHz,128GB RAM, nVidia P2200)
emcodem
Posts: 1752
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

Uhhh... lemme see if i can reproduce that.
The worst issues are the ones that take "time" to be visible ^^
emcodem, wrapping since 2009 you got the rhyme?
User avatar
Silicon
Posts: 98
Joined: Fri Sep 04, 2020 6:34 am

Re: Webinterface

Post by Silicon »

Hi,
I've been watching the Webinterface page live now and it took aprox. 20 min. (and aprox. 30+ jobs) to get the list of Finished jobs wrongly sorted. Number of jobs processed seems to be more important that time elapsed.
I have forgotten to mention, that F5 fixes it ... but this is obvious ;-)
BR,
Silicon
--------
FFAStrans 1.3.0.2; WebInterface 1.3.0.0
Manager: VM: 2x Xeon E5-2630v3@2.4GHz, 8GB RAM
Workers: 3x HP DL360 G9 (2x Xeon E5-2643v3@3.4GHz,16GB RAM, nVidia M2000)+ 2x Lenovo SR665 (2x AMD EPYC730216C@3.0GHz,128GB RAM, nVidia P2200)
emcodem
Posts: 1752
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

Hey @Silicon

i am really greatful that you submit all the anomalies you find to us, thanks a lot for it!
It was really easy to reproduce by just submitting lots of jobs for about 10 minutes, pretty obvious. I fear it will still take some time because each "test" costs again about 10 minutes but i will for sure solve this, no worries! (it's totally disturbing from user perspective^^)
emcodem, wrapping since 2009 you got the rhyme?
emcodem
Posts: 1752
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

@Silicon @ernie1901
Fixed, sorry for the delay. Please check out release 1.2.0.2

On my way on adding sophisticated monitoring, some metrics can now be polled for Prometheus/Influxdb or similar systems.
Users that have such a system already in place might want to try it out. All others need to wait until i finished the prometheus integration in webinterface :D

http://localhost:3003/metrics

Always reported:
ffas_jobs_incoming_count COUNT
ffas_jobs_queue_count COUNT
ffas_jobs_running_count COUNT

while a job is running, it's runtime in seconds along with wf_name and hostname is reported
ffas_running_job {job_id=JOBID,wf_name=WFNAME,hostname=HOST} seconds

As soon as a job ended with error, it should be reported ONCE too but this is currently buggy as ALL job finished are reported as error
ffas_jobs_error_job_info {job_id=JOBID,wf_name=WFNAME,file=FILENAME,status=MESSAGE} 1

Using those metrics, when configured correctly, the job/branch runtime can be displayed on grafana or similar systems like this:
grafana.png
grafana.png (60.84 KiB) Viewed 7329 times
emcodem, wrapping since 2009 you got the rhyme?
Post Reply