SCIENTIFIC-LINUX-USERS Archives

March 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Morgan <[log in to unmask]>
Reply To:
Michael Morgan <[log in to unmask]>
Date:
Wed, 12 Mar 2014 13:24:01 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Hello,

 The luci package distributed with at least SL6.5 is missing some necessary
options in /usr/lib64/python2.6/site-packages/luci/lib/ricci_communicator.py.
Specifically around:

def resolve_cluster_version(uname_str):
    if 'Santiago' in uname_str:
        return (3, 'RHEL', uname_str[uname_str.find('6.'):].split(' ')[0])
    elif 'Tikanga' in uname_str:
        return (2, 'RHEL', uname_str[uname_str.find('5.'):].split(' ')[0])
    elif 'Nahant' in uname_str:
        return (1, 'RHEL', uname_str[uname_str.find('4.'):].split(' ')[0])

 It can't currently determine SL's cluster version from /etc/redhat-release.
This causes problems with the web interface since certain options require the
cluster version to be set properly (ie. available fencing device types). 

 Let me know if any other info is needed. Thanks.

-Mike

ATOM RSS1 RSS2