-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing neurodeskapp in an azure enclave #212
Comments
In an Ubuntu 22 environment, I would suggest not using docker to run Neurodesktop but rather using the Neurocommand Linux install method (https://www.neurodesk.org/docs/getting-started/neurocommand/linux/) or CVMFS if that's possible in your secure environment (https://www.neurodesk.org/docs/getting-started/neurocontainers/cvmfs/) The error in the neurodeskapp you see most likely comes from Docker not working correctly. If you want to continue following this path, then the first step would be testing, if you can actually run the plain docker command:
Alternatively, you could try podman |
It looks like you don't have sudo privileges in this machine? Can you install anything via apt? If yes, apptainer should be easy to install:
Neurodesk should work in such enclave environments - we just need to figure out what's possible and what's not. |
It seems to have trouble with
you can remove that for now. Later it would be good to figure out why there is no gid |
Yes, this now is CVMFS which probably doesn't have fuse mounting privileges. So, I think your best bet is to install apptainer and go the HPC route. |
Can you try if this works? https://www.neurodesk.org/docs/getting-started/neurocontainers/cvmfs/ - maybe they didn't completely restrict fuse mounting. Otherwise, try a plain apptainer and download a container from here (https://www.neurodesk.org/docs/getting-started/neurocontainers/singularity/) to see if that route works |
Could it be that I need to whitelist a domain first? |
That should come at a later step, but you can try:
These are cvmfs domains we use:
http://cvmfs1.neurodesk.org/
http://cvmfs2.neurodesk.org/
http://cvmfs3.neurodesk.org/
Thank you
Steffen
|
you can't whitelist that IP 11.5.0.4 so it could pull the CVMFS repo package? Is there a way we could get access to this environment so we can try a few things on our side? |
Here's an update on things. I gave up on neurodesktop on Ubuntu and tried to get the environment modules system installed. It failed to work normally (I had to manually source /etc/profile to get it to work, but it seemed unavailable in subshell, or at least neurocommand was giving errors about module commands not found). In our enclave, there was also an old CentOS 7.9 system available, which I tried next. I started off with neurocommands and the good news is that I now got it to work, just like that. I don't understand why people are so fond of Ubuntu |
The neurodesktop gives users a nice menu structure to startup a terminal with pre-loaded module, are there other benefits about using this desktop instead of the default XFCE that comes with the CentOS VM? |
Btw, I've seen this |
Ok, it gets even more weird. I went back to Ubuntu and manually sourced the module profile (somehow this seems the only way) and set the modulepath (using |
interesting problem indeed. I unfortunately can't replicate these issues, so it's difficult to troubleshoot on my side. Can you describe in more detail what you did? Maybe the only way to replicate these issues is running it in the secure enclave you are in? Is there a way to get access to this environment? |
Yes, I'll send you a message on Mattermost@brainhack with details |
In the meantime I made some more progress on Ubuntu, because I found out (somewhere in a Stackoverflow comment) that there is a |
Ok, I learned another important thing. I believe the module system under Ubuntu is not initializing properly because in Ubuntu |
@marcelzwiers, so this instruction here does not work? https://www.neurodesk.org/docs/getting-started/neurocontainers/cvmfs/#use-of-containers-in-the-module-system |
Another problem was that apptainer wasn’t running with user namespaces and the setuid was interfering with rrstudio |
Hi there,
I'm not sure if it is possible what I'm trying to accomplish, but here is the situation. I recently got involved in setting up some applications in a secure computing environment (https://andrea-cloud.com/). I set up a Ubuntu22 client that I can connect to with my web-browser (using Bastion -> rdp). The default XFCE environment is very basic and I have to whitelist all connectivity. I managed to install docker and the neurodeskapp, but when I try to launch the app I get:
(sorry for the png, I couldn't get clipboard transfer to work)
Any suggestions? Do you think it should be doable what I'm trying to do?
The text was updated successfully, but these errors were encountered: