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

Gürkan Sengün gurkan at phys.ethz.ch
Wed Aug 31 10:26:12 UTC 2011


** Changed in: ldm (Ubuntu)
       Status: New => Invalid

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

Title:
  LDM runs get_hosts as documented however the logins fail

Status in “ldm” package in Ubuntu:
  Invalid

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.

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




More information about the foundations-bugs mailing list