-
April 21st, 2009 12:37 PM #1
Installing an LSF kit
Hi folks - I hope this is an appropriate question for this forum.
I'm attempting to add an LSF kit (LSF 7.0.2 Kit) from the Dell Edition onto OCS 5 (/etc/kusu-release is Kusu "Platform OCS" 5 (build1916)" .. possibly too old a release? :-)
Running kitops -a -m LSF\ 7.0.2\ Kit and several variations thereof after the kit installation appears to proceed normally until I consistently get the error:
Kit RPM Installation failed, return code: 3
(nothing appears in /depot/kits)
Interesting, I had no trouble installing Platform MPI (3.13.8) using the same approach. (LSF 7.0.4 kit obtained from my.platform.com fails with the same error)
Does kitops perform logging anywhere or is this is a known issue?
If you think I need to load a later release of OCS I can do that (I just ran into logisitical difficulties with OCS 5.3 Dell Edition because I have RHEL 5.2 media only and the OCS 5.3 install process didn't seem to like my meda) - I was just wondering if there was a quick return code: 3 was a common / known error?
many thanks
-
April 21st, 2009 01:36 PM #2
Python script does not like space in file name ..
Hmmm.. I did find the kitops log under /var/log/kusu.
It was clear from the log file that the kitops script didn't like the space in the path when the LSF Kit ISO was mounted. (I was wondering about that actually!)
I moved the LSF ISO image to another directory, and while kitops clearly ran longer time still trouble ..
[root@master temp]# kitops -m lsf -a
Traceback (most recent call last):
File "/opt/kusu/bin/kitops", line 655, in ?
app.run()
File "/opt/kusu/bin/kitops", line 224, in run
self.runAdd()
File "/opt/kusu/bin/kitops", line 305, in runAdd
self.koinst.addKit(kit)
File "/opt/kusu/lib/python/kusu/kitops/kitops.py", line 250, in addKit
_comp = self.__db.Components.select_by(cname=comp['pkgname'])[0]
IndexError: list index out of range
-
April 21st, 2009 02:10 PM #3
Being stubborn apparently pays off!
So in case anyone is still interested in my little saga here, as a last ditch effort, I tried to install the newer LSF kit (lsf-7.0.4-noarch) not really expecting it to work, while also making sure there was no space in the file name as before, and much to my surprise it worked perfectly!
Also, checking kitops -l and the contents of /depot/kits/lsf, it now appears that both the 7.0.2 and 7.0.4 kits are present. I see that the 7.0.4 kit has been associated with the compute-rhel5.2-5-x86_64 node group and a newly created lsf-master-candidate node group (running kitops to install 7.0.2 must have failed before it could make the node group association since 7.0.2 is not associated with any node groups).
I suspect one best practise might be to avoid having spaces in paths - I'm not sure why the kitops script failed with LSF 7.0.2, but it's pretty clear that kitops did not like the default mount path below.
thx!
/dev/hdc on /media/LSF 7.0.4 Kit type iso9660 (ro,noexec,nosuid,nodev,uid=0)
-
April 22nd, 2009 06:22 PM #4
Gord,
Yes, I can confirm is a bug with kitops that does not escape spaces correctly.
If possible, can you help file a bug on our bug tracker for Kusu: System Dashboard - Open Source Grid Development Center ?
-Liming
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules