Red Hat Bugzilla – Bug 106232
Cluster Status Service member dialog doesn't display 'Login' for network powercontroller
Last modified: 2009-04-16 15:36:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225
Description of problem:
In Cluster Status, for a member that has a network powercontroller with a login
"user", when you double-click the member to display the Member Information
dialog, that dialog does NOT display the login user under the "Login" column -
that column is blank.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add a cluster member
2. Select that member, and add a "child" powercontroller to
- make that powercontroller a "network" powercontroller, and
enter a login "user".
3. In Cluster Configuration, save changes by clicking File => Save.
4. In Cluster Status, double click on that member - the Member
Information dialog will be displayed. Notice that the "Login"
column has no value.
Expected Results: Login column should have the network powercontroller "user"
Problem was in redhat-config-cluster.py - in class Powercontroller, the getLogin
function was doing a DOM(XML) getAttribute on 'login', but the actual XML
'powercontroller' tag in configuration file /etc/cluster.xml has attribute
'user'. So I changed the getLogin function to getUser, and change that
functions getAttribute from getting 'login' to getting 'user'. Also changed the
Member Information dialog (memberDialog) 'Login' column to 'User'.
Checked these changes into CVS.