Rate this page del.icio.us  Digg slashdot StumbleUpon

Tips and tricks: Why does system-config-cluster fail to run in Red Hat Cluster Suite 4 update 6?

by the editorial team

Release Found:Red Hat Cluster Suite 4 update 6

In Red Hat Cluster Suite 4 update 6, the running of system-config-cluster will abort with following error messages or similar:

[root@dhcp-1-170 ~]# system-config-cluster
Traceback (most recent call last):
File "/usr/sbin/system-config-cluster", line 52, in ?
from ConfigTab import ConfigTab
File "/usr/share/system-config-cluster/ConfigTab.py", line 27, in ?
from ConfigTabController import ConfigTabController
File "/usr/share/system-config-cluster/ConfigTabController.py", line 35, in ?
from FaildomController import FaildomController
File "/usr/share/system-config-cluster/FaildomController.py", line 213
if val == "Yes" or val == "yes" or val="1":
^
SyntaxError: invalid syntax

This is a known issue. At the time this article is written, this bug is under QA process, it will be fixed in next version of Red Hat Cluster Suite.

To work around this issue, please open the file /usr/share/system-config-cluster/FaildomController.py with an editing tool( such as vi, gedit, or similar ), and find line 213 of this file. This line should be read as follows:

if val == "Yes" or val == "yes" or val="1":

Modify the line to:

if val == "Yes" or val == "yes" or val == "1":

Save the modified file and re-execute the system-config-cluster and it will work.

Red Hat’s customer service and support teams receive technical support questions from users all over the world. Red Hat technicians add the questions and answers to Red Hat Knowledgebase on a daily basis. Access to Red Hat Knowledgebase is free. Red Hat Magazine offers a preview into the Red Hat Knowledgebase by highlighting some of the most recent entries. The information provided in this article is for your information only. The origin of this information may be internal or external to Red Hat. While Red Hat attempts to verify the validity of this information before it is posted, Red Hat makes no express or implied claims to its validity.

Leave a reply