No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Error Message "invalid role" Is Displayed When an ipmitool Command Is Executed

Publication Date:  2015-06-24 Views:  157 Downloads:  0
Issue Description
Hardware configuration:
RH2285 V2

Symptom:

The administrator user name galaxbmc and password A3UjChOi3b are created on the iMana.

When ipmitool -I lanplus -H 192.168.60.200 -U galaxbmc -P A3UjChOi3b chassis power status is run to query the power status of servers, an error message "invalid role" is displayed, as shown in Figure 1.

Figure 1 invalid role

Handling Process
1.  Determine that an incorrect user name or password is used based on error message "invalid role".

2.  Use user name galaxbmc and password A3UjChOi3b in the ipmitool command to log in to the iMana web user interface (WebUI). The iMana prompts that user galaxbmc has been locked, as shown in Figure 2.

Figure 2 Logging in to the iMana WebUI



3.  Use the default user name root and password root of the iMana administrator to log in to the iMana. The iMana can be logged in.

4.  A new feature is added to the iMana of V2 servers and the baseboard management controller (BMC) of R1 servers (for details about BMC versions, see the note). The feature is that when a user accesses the iMana (through the CLI, WebUI, or ipmitool) by entering an incorrect password for consecutive five times, an error message is displayed indicating that the user name or password is incorrect. When the user accesses the iMana by entering an incorrect password for the sixth time, the iMana regards the user invalid and locks the user. The user is automatically unlocked after 5 minutes (counted from the last time when an incorrect password is entered).

5.  Stop sending the ipmitool command. Change the password of user galaxbmc on the iMana, and change the password of user galaxbmc in the ipmitool command after 5 minutes. Then the power status can be displayed after the ipmitool command is run.
Root Cause
An incorrect password is used in the ipmitool command, so error message "invalid role" is displayed.

Solution
Access the iMana using a correct user name and password.

Suggestions
Note:
In the following BMC versions of R1 servers, users are locked when an incorrect password is used:
RH2285 BMC 2.16 or later
E6000 BMC 2.17 or later
T6000 BMC 2.13 or later

END