Project

General

Profile

Actions

Incident #7122

closed

RprototypingLab: the rstudio istance is not the expected one

Added by Roberto Cirillo about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Application
Target version:
Start date:
Feb 15, 2017
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

For testing, I'm trying to use rstudio on RPrototypingLab. I've notice that the portlet redirect me to the wrong rstudio instance (rstudio.d4science.org) although the resource defined on the related service endpoint is the correct one (rstudio1-proto.d4science.org).
Is it possible we have introduced a bug in the last upgrade?

In attachment the portal log.


Files

PortalLog20170215.log (8.51 KB) PortalLog20170215.log Roberto Cirillo, Feb 15, 2017 05:37 PM
Actions #1

Updated by Massimiliano Assante about 8 years ago

yes the problem is that now the RStudio instance you access first in any VRE is maintained undependelty of the scope. We'll fix this on Monday, if urgent, since the ICES Course is ended we can restore the previous RStudio Wrapper portlet which does not maintain information

Actions #2

Updated by Massimiliano Assante about 8 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Massimiliano Assante about 8 years ago

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

The problem is fixed in production, I just hot deployed the RStudio Wrapper portlet containing the fix.

Now the RStudio instance allocation:

  • takes into account the number of instances available in the given context and assign the RStudio instance balancing the load.
  • keep the assignee instance for that context until this instance exists in the context. If a problem occurs with that instance a new instance is assigned by looking at the one available.
  • If no instances are available the default instance (rstudio.d4science.org) is assigned.
  • maintains retro-compatibility with the previous version (that did not take into account the scope), meaning that if user foo had rstudio2 instance set on scope X, then in scope X foo is still assigned to rstudio2 (if valid)
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)