Git Product home page Git Product logo

Comments (13)

johrstrom avatar johrstrom commented on July 30, 2024

I think the second link is about right - though since it's old it's likely a bit out of date. In any case, since you setup Jupyter, RStudio is going to be similar to it.

That said - you can always take a look at our production Rstudio app - https://github.com/OSC/bc_osc_rstudio_server. This is the Rstudio app we use in production at OSC.

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

Hi,

Before we add R I believe we need to make sure that OoD works fine.

  1. We are currently use OoD to launch Jupyter app and although it works in principle, there are issues with Proxies.

  2. When we try to connect to the jupyter session it gives:

image
image

What is the reason for the delay in the DNS resolution?
Any settings we should check?

  1. If I add
    IP FQDN
    to the /etc/hosts filr on the machine where OoD works it is able to connect to Jupyter

image

  1. If I try to connect to the Terminal

image

We get:
image

Any reason for this?

Settings we can check?

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

any advice is appreciated
Kind regards
Roberto

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

Hi there,

With some help we were able to add Rstudio to OoD.
The app appears in the list of the interactive apps:
image

We are using a singularity image that we are loading from the file script.sh.erb in
/var/www/ood/apps/sys/rstudio/template

It is possible to submit a job. However, it terminates immediately meaning that something stops in using the singularity image

In trying to run the script directly on the login node we get:
image

Is it a matter of permissions/users IDs etc?

Please advice
Roberto

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

While running as root .... gives
image

Many thanks
Roberto

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

That is after loading the proper environment:

image

Please advice

Roberto

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

image

Regards
Roberto

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

After adding
image
the error disappeared ....however, the session still terminates ...immediately...

in

image

looking at output.log we get
image

no errors in

image

Any idea?

Many thanks
Roberto

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

I tried submitting the job with Open on Demand invoking a session of Rstudio
I got in the output log in my home directory
image

used script is:
image
image

====================================================

I suppose it is a network/authentication issue?

Any advice?
Many thanks
Roberto

from ood-documentation.

johrstrom avatar johrstrom commented on July 30, 2024

You should look at our production application. One thing to note is that we reconfigure where the output logs should go. Inside the container, you're logging to /var/log

You can see from this configuration - we are logging to the staged_root instead of /var/lib. This log file will tell you what's going on/why it's crashing.

https://github.com/OSC/bc_osc_rstudio_server/blob/master/template/etc/logging.conf.erb

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

Now ...we are trying using a different repo and NOT the singularity container.
We got the error
image
after connecting to the "running" session.

depending on what we use for --auth-none

With
--auth-none 1
we get a caching error

With
--auth-none 0
we get a login session and we cannot get anywhere ... (csf errors and so on...)

..still investigating
Roberto

from ood-documentation.

AMK13 avatar AMK13 commented on July 30, 2024

The repo we are using is

https://github.com/mcw-rcc/bc_rcc_rstudio_server

from ood-documentation.

robertosussex avatar robertosussex commented on July 30, 2024

We are using Almalinux s our operating system. Would this create issues?
Kind regards
Roberto

from ood-documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.