LDM runs get_hosts as documented however the logins fail

Bug #837924 reported by Lenin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ldm (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

We run two LTSP servers on Ubuntu Natty on hostnames plimpy and plompy. ldminfod is running on both, and as documented here:
http://surfnet.dl.sourceforge.net/project/ltsp/Docs-Admin-Guide/LTSPManual.pdf (page 65)
we use a get_hosts file as this one:

#!/bin/bash
# Takes a list of servers from the /var/lib/tftpboot/ltsp/i386/lts.conf
# and sorts that list based on the output of the nc rating of that server.
#MY_SERVER_LIST="plimpy plompy"
MY_SERVER_LIST="192.33.97.211"
TMP_LIST=""
GOOD_LIST=""

for i in $MY_SERVER_LIST; do
     rank=`nc $i 9571 | grep ratin`
     TMP_LIST="$TMP_LIST\n${rank}_$i"
done
for SERVER in `echo -e $TMP_LIST | sort -r | cut -d_ -f2`; do
     GOOD_LIST="$GOOD_LIST $SERVER"
done
echo $GOOD_LIST

LTSP clients booting on plompy, can not login with this script to plimpy. Having a server slection of plompy works.

Revision history for this message
Lenin (gagarin) wrote :

Oh I'm so sorry, I was only missing the trust of the clients to the 2nd ltsp server using /etc/ltsp/ssh_known_hosts.*
then running ltsp-update-sshkeys... works now.

the keys are generated easily with
ltsp-update-sshkeys --export ssh_known_hosts.ltspserver1
ltsp-update-sshkeys --export ssh_known_hosts.ltspserver2

Lenin (gagarin)
Changed in ldm (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.