[prev in list] [next in list] [prev in thread] [next in thread]
List: npaci-rocks-discussion
Subject: [Rocks-Discuss]hpc noauto.py
From: "Federico D. Sacerdoti" <federicosacerdoti () gmail ! com>
Date: 2006-03-30 22:55:40
Message-ID: 258166b00603301455y5f50e8e2gde72e606cfd2de4b () mail ! gmail ! com
[Download RAW message or body]
Hi,
When installing a Rocks 4.1 NAS appliance type today, I noticed an
anaconda Exception on ksclass.py line 985: in
initializeRocksPartition()
3 arguments given, 2 expected
it went by fast, so this is an approximation. Then the node reboot
itself. On inspection this was from
hpc/include/installclass/noauto.py. The fix is below, and still seems
applicable to what's in CVS:
[root@drdsvc0 installclass]# diff -u noauto.py
~fds/studies/rocks-patches/noauto.py
--- noauto.py 2005-10-12 14:09:40.000000000 -0400
+++ /u/fds/studies/rocks-patches/noauto.py 2006-03-30
17:47:51.285402000 -0500
@@ -117,7 +117,7 @@
return
- def initializeRocksPartition(self, id):
+ def initializeRocksPartition(self, id, nukeit=3D0):
#
# don't remove non-rocks partitions
#
The nas installed fine with the fix in place.
-Federico
PS. If you see an anaconda exception in 'ksclass.py' line XX and want
to find the python line of the error:
1. make a kickstart file for the node that saw the error:
# dbreport kickstart [nodename] > ks.cfg
2. edit the ks.cfg, search for '%installclass'.
3. Make a new file 'ksclass.py' which is a subset of ks.cfg, starting
the line just after %installclass and going to the end of ks.cfg.
4. Inspect ksclass.py at line XX and you should be at your error!
Enjoy your vacations
--
D. E. Shaw Research LLC
New York NY
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic