Skip to content
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

[NERSC] ssh doesn't work for me in desc-stack-weekly #111

Open
1 of 10 tasks
wmwv opened this issue Jul 26, 2024 · 3 comments
Open
1 of 10 tasks

[NERSC] ssh doesn't work for me in desc-stack-weekly #111

wmwv opened this issue Jul 26, 2024 · 3 comments
Assignees
Labels
nersc Questions pertaining to NERSC

Comments

@wmwv
Copy link
Contributor

wmwv commented Jul 26, 2024

Description
A clear and concise description of what the issue is.

ssh doesn't work for me in the desc-stack-weekly environment loaded from command line.

If I use start-kernel-cli.py to load desc-stack-weekly, and then try to ssh to another node (to, e.g., monitor load, GPU usage...), I get

[login25 ~] start-kernel-cli.py desc-stack-weekly
Starting an environment for desc-stack-weekly now...
This may take a while. Be patient...
ssh lUnable to find an acceptable version of lsst_sims
[login25 ~] ssh login28
ssh: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /opt/udiImage/modules/mpich/dep/libgssapi_krb5.so.2)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libgssapi_krb5.so.2)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libkrb5.so.3)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libk5crypto.so.3)
ssh: /lib64/libselinux.so.1: no version information available (required by /opt/udiImage/modules/mpich/dep/libkrb5support.so.0)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libkrb5support.so.0)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libcrypto.so.1.1)

Choose all applicable topics by placing an 'X' between the [ ]:

  • jupyter
  • jupyter terminal
  • Cori interactive command line
  • Batch jobs
  • python
  • CSCRATCH
  • Community File System
  • HPSS (tape)
  • Data transfer and Globus
  • New User Account or account access problems

To Reproduce

[login25 ~] start-kernel-cli.py desc-stack-weekly
Starting an environment for desc-stack-weekly now...
This may take a while. Be patient...
ssh lUnable to find an acceptable version of lsst_sims
[login25 ~] ssh login28
ssh: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /opt/udiImage/modules/mpich/dep/libgssapi_krb5.so.2)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libgssapi_krb5.so.2)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libkrb5.so.3)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libk5crypto.so.3)
ssh: /lib64/libselinux.so.1: no version information available (required by /opt/udiImage/modules/mpich/dep/libkrb5support.so.0)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libkrb5support.so.0)
ssh: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/udiImage/modules/mpich/dep/libcrypto.so.1.1)
@wmwv wmwv added the nersc Questions pertaining to NERSC label Jul 26, 2024
@heather999
Copy link
Collaborator

Hi @wmwv
desc-stack-weekly is a shifter container without ssh. The primary purpose of the containers has been to provide a runtime environment rather than a full featured virtual machine. I'm not sure we need ssh from within the containers themselves (but could be coaxed into considering it). Can you just ssh to a NERSC login node from another terminal? I usually use NX when I connect to NERSC, where it's not a big deal to just open another terminal.
Take care,
Heather

@wmwv
Copy link
Contributor Author

wmwv commented Jul 29, 2024

Sure. Won't fix is a fine answer in practice.

I think it was confusing that it triggered a GLIBC version mismatch. I thought loading the image with shifter would completely override existing paths.

@wmwv
Copy link
Contributor Author

wmwv commented Jul 29, 2024

FWIW, the image does have ssh.

[login22 ~] start-kernel-cli.py desc-stack-weekly
[login22 ~] whereis ssh
ssh: /usr/bin/ssh /etc/ssh /opt/udiImage/bin/ssh

So /usr/bin/ssh remains in the path, but the GLIBC is no longer for correct for it. Here's the tail of the path (after all of the /opt/lsst) entries:

/opt/udiImage/modules/gpu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/udiImage/bin

If you explicitly run /opt/udiImage/bin/ssh, that works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nersc Questions pertaining to NERSC
Projects
None yet
Development

No branches or pull requests

2 participants