Problem Information
Table 1 Basic information about the problem
Applicable to Server Series | Rack server |
Applicable to Server Versions | V3 |
Applicable to Component Classification | OS |
OS_L2 | LinuxLinux |
OS_L3 | Faults |
| Keyword | Power-off failed. |
Problem Description
Hardware configuration:
| Product information | RH2288H V3 |
| Product serial number | |
| Product asset tag | |
| iBMC firmware version | 3.34(U25) |
| BIOS Version | 5.03(U47) |
CPLD version | 2.01(U46) |
iBMC active U-boot version | 1.1.58(Jan 12 2018-14:29:10) |
iBMC standby U-boot version | 1.1.58(Jan 12 2018-14:29:10) |
PCB Version | .B |
Indicates the board ID. | 0x000d |
| Mainboard vendor | Huawei |
| Mainboard Model | BC11HGSA |
| Mainboard SN | 022HLVCNFC008128 |
| Part No. | 02310YJW |
Symptom:
1.Change the power policy to power off.

2.Restart the server. The OS login page is displayed.
3.Click Power Off (the OS is suspended and cannot be powered off).

4.Click Power Off again (revert to the OS login page).

6.Enter the user name and password to log in to the OS.
7.Click Power Off (the server is powered off normally).
Root cause analysis:
Default policy of the OS GDM module. The suspend to idle operation is executed when the user has not logged in.
Solution:
Perform the following steps to prevent this problem:
1. Log in as user root.
2. Run the following command:
gsettings set org.gnome.settings-daemon.plugins.power power-button-action 'shutdown'
3. Replace the default GDM policy with the root policy.
mv /var/lib/gdm/.config/dconf/user /var/lib/gdm/.config/user.backup
cp /root/.config/dconf/user /var/lib/gdm/.config/dconf/user
4. Restart the system or desktop service.
systemctl restart display-manager
