Support #11810

VRE #10195: FAO Training VRE on Stock monitoring tools

Deploy new version of the StockMonitoringTools Shiny App

Added by Enrico Anello 11 months ago. Updated 11 months ago.

Status:ClosedStart date:May 21, 2018
Priority:UrgentDue date:
Assignee:_InfraScience Systems Engineer% Done:

100%

Category:Default
Sprint:Algorithms Integration
Infrastructure:Production
Milestones:
Duration:

Description

Dear all,
We need to deploy the latest, and possible the final, release of the Stock Monitoring Tools to be made available within the SDG-Indicator 14.4.1 VRE.
The Source code of the shiny application can be found on github here: https://github.com/pink-sh/StockMonitoringTool (master branch). On the repository root you can find the Dockerfile needed to build the application for your shinyproxy.

Thanks,
Enrico

History

#1 Updated by Enrico Anello 11 months ago

  • Priority changed from High to Urgent

Hi, any news about this?

#2 Updated by Massimiliano Assante 11 months ago

Hi Enrico, Andrea is on holiday, will return next week.

#3 Updated by Andrea Dell'Amico 11 months ago

  • Assignee changed from Andrea Dell'Amico to _InfraScience Systems Engineer

Massimiliano Assante wrote:

Hi Enrico, Andrea is on holiday, will return next week.

If only it were true :-). I'm back, I'll do the build ASAP.

#4 Updated by Andrea Dell'Amico 11 months ago

  • Status changed from New to In Progress

#5 Updated by Andrea Dell'Amico 11 months ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Feedback

I just pulled the new container image on the shinyproxy server. Can you check that it's working?

#6 Updated by Enrico Anello 11 months ago

Hi @andrea.dellamico@isti.cnr.it
The shiny app works even if the CMSY method seems quite unstable; it fails 4 times on 5.
Since the CMSY method relies on the Dataminer algorithm I am not sure if the problem is on the Dataminer or somewhere else even though in my local machine everything works fine. Do you perhaps have access to the logs of the shiny app? There might be some timeout issue.

Also, how many concurrent connections the shiny app does currently support?

Thank you,
Enrico

#7 Updated by Andrea Dell'Amico 11 months ago

Enrico Anello wrote:

Hi @andrea.dellamico@isti.cnr.it
The shiny app works even if the CMSY method seems quite unstable; it fails 4 times on 5.
Since the CMSY method relies on the Dataminer algorithm I am not sure if the problem is on the Dataminer or somewhere else even though in my local machine everything works fine. Do you perhaps have access to the logs of the shiny app? There might be some timeout issue.

There are errors on the shinyproxy app but they seem not to be related to the algorithm failure:

2018-05-30 11:04:16.057 ERROR 885 --- [XNIO-2 I/O-8] io.undertow.proxy                        : UT005028: Proxy request to /stoic_bohr/shared/ionrangeslider/css/ion.rangeSlider.skinShiny.css failed

java.io.IOException: UT001000: Connection closed
        at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:544) ~[undertow-core-1.4.11.Final.jar!/:1.4.11.Final]
        at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:487) ~[undertow-core-1.4.11.Final.jar!/:1.4.11.Final]
        at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) ~[xnio-api-3.3.6.Final.jar!/:3.3.6.Final]
        at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [xnio-api-3.3.6.Final.jar!/:3.3.6.Final]
        at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88) [xnio-nio-3.3.6.Final.jar!/:3.3.6.Final]
        at org.xnio.nio.WorkerThread.run(WorkerThread.java:559) [xnio-nio-3.3.6.Final.jar!/:3.3.6.Final]

I tried a couple of runs and they completed, if you manage to get another failure can you tell us immediately so that we can check the container logs? when a container is stopped, we lose its logs.

Also, how many concurrent connections the shiny app does currently support?

The shinyproxy server has 12 vCPUs, so 12 concurrent instances are allowed.

Thank you,
Enrico

#8 Updated by Enrico Anello 11 months ago

Now seems working fine.
I will share the application with the users for a preliminary check and we will see how it goes.
Thanks @andrea.dellamico@isti.cnr.it

Enrico

#9 Updated by Pasquale Pagano 11 months ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF