Revision f01738fc

b/NEWS
69 69
- Changed the instance memory modifications to only check out-of-memory
70 70
  conditions on memory increases, and turned the secondary node warnings
71 71
  into errors (they can still be overridden via ``--force``)
72
- Fixed the handling of a corner case when the Python installation gets
73
  corrupted (e.g. a bad disk) while ganeti-noded is running and we try
74
  to execute a command that doesn't exist
72 75

  
73 76
And as usual, various improvements to the error messages, documentation
74 77
and man pages.
b/lib/server/noded.py
33 33
import sys
34 34
import logging
35 35
import signal
36
import codecs
36 37

  
37 38
from optparse import OptionParser
38 39

  
......
964 965
    print >> sys.stderr, ("Usage: %s [-f] [-d] [-p port] [-b ADDRESS]" %
965 966
                          sys.argv[0])
966 967
    sys.exit(constants.EXIT_FAILURE)
968
  try:
969
    codecs.lookup("string-escape")
970
  except LookupError:
971
    print >> sys.stderr, ("Can't load the string-escape code which is part"
972
                          " of the Python installation. Is your installation"
973
                          " complete/correct? Aborting.")
974
    sys.exit(constants.EXIT_FAILURE)
967 975

  
968 976

  
969 977
def PrepNoded(options, _):

Also available in: Unified diff