Bug 106232

Summary: Cluster Status Service member dialog doesn't display 'Login' for network powercontroller
Product: Red Hat Enterprise Linux 3 Reporter: Hardy Merrill <hmerrill>
Component: redhat-config-clusterAssignee: Jim Parsons <jparsons>
Status: CLOSED NEXTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-03 21:03:47 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 Hardy Merrill 2003-10-03 20:09:41 UTC
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):
redhat-config-cluster-1.0.0-5

How reproducible:
Always

Steps to Reproduce:
1. Add a cluster member
2. Select that member, and add a "child" powercontroller to
   that member.
   - 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"
value.

Additional info:

Comment 1 Hardy Merrill 2003-10-03 21:03:47 UTC
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.