alces-software / forge-packages

Package descriptors for Alces Flight Forge
0 stars 0 forks source link

Can't setup ssh keys in tcsh #34

Open WilliamMcCumstie opened 5 years ago

WilliamMcCumstie commented 5 years ago

The following error is being issued when using tsch:

/opt/flight-direct/libexec/share/setup-sshkey: line 36: kernel_load: command not found

This looks to be an issue with the clusterware/clusterware-ssh package.

Possible the runtime environment isn't being sourced correctly? In which case the bug may lie in the flight-direct repo.

mjtko commented 5 years ago

As requested:

[root@infra02(cluster) ~]# flight version && cat /opt/flight-direct/var/forge/registers/local.yml
2018.3 (2.1.3)
---
:packages:
- alces/postgres/9.6.9+flight0
- alces/flight-cache/0.0.4
- alces/flight-syncer/1.0.1
- alces/modules/4.0.0
- alces/xxd/1.10.0+clusterware0
- alces/genders/1.22.0+flight1
- alces/gridware-common/2.1.2-dev
- alces/pdsh/2.33.0+flight0
- alces/flight-completion/0.0.0
- alces/clusterware-gridware/2.1.2
- alces/clusterware-storage/2.1.2
- alces/tigervnc/1.6.90+clusterware1
- alces/websockify/0.7.0+clusterware0
- alces/xwd/1.0.6+clusterware0
- alces/pluginhook/0.0.1+clusterware0
- alces/flight-compute/2018.1.0
- alces/clusterware-docs/2.1.1
- alces/clusterware-ssh/3.0.0-dev
- alces/clusterware-sessions/2.1.3
- alces/flight-login/2018.1.0
- alces/s3cmd/2.0.1+clusterware0
mjtko commented 5 years ago

It seems that adding a sprinkling of flight bash to /opt/flight-direct/etc/profile.d/80-sshkey.csh does the trick (i.e. make it work similarly to 80-sskhkey.sh).