Bug 160240

Summary: removing /etc/cluster out from under the GUI will cause a traceback when saving
Product: [Retired] Red Hat Cluster Suite Reporter: Corey Marthaler <cmarthal>
Component: redhat-config-clusterAssignee: Jim Parsons <jparsons>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint, kupcevic
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2005-753 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-07 16:47:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2005-06-13 19:20:16 UTC
Description of problem:
Start GUI with a valid config, make change, remove the dirrectory /etc/cluster
and then attempt to save that file.

Traceback (most recent call last):
  File "/usr/sbin/system-config-cluster", line 276, in save
    if self.model_builder.exportModel() == TRUE:
  File "/usr/share/system-config-cluster/ModelBuilder.py", line 371, in exportModel
    self.backup_configfile()
  File "/usr/share/system-config-cluster/ModelBuilder.py", line 761, in
backup_configfile
    dir = os.listdir(CLUSTER_CONF_DIR_PATH)
OSError: [Errno 2] No such file or directory: '/etc/cluster/'

Version-Release number of selected component (if applicable):
system-config-cluster-1.0.12-1.0

Comment 1 Stanko Kupcevic 2005-08-03 16:58:59 UTC
Fixed in Errata Candidate

Comment 2 Corey Marthaler 2005-09-07 14:43:41 UTC
fix verified in 1.0.15

Comment 3 Red Hat Bugzilla 2005-10-07 16:47:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-753.html