← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 837924] [NEW] LDM runs get_hosts as documented however the logins fail

 

Public bug reported:

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.

** Affects: ldm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ldm in Ubuntu.
https://bugs.launchpad.net/bugs/837924

Title:
  LDM runs get_hosts as documented however the logins fail

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldm/+bug/837924/+subscriptions


Follow ups

References