Closed openhpi2 closed 8 years ago
Original comment by: dr_mohan
Original comment by: dr_mohan
The following situations exist too. When a user is logged in, depending on the OS, the shutdown request may send a message to the user and wait for x seconds (60 seconds by default) before shutting down the system. If there are no users logged in then the shutdown is immediate. It is observed that when virtualbox is running on centos 6.4 it waited for the user input when shutdown was issued. This was infinite wait. In the above cases the saHpiResourcePowerStateSet could return INVALID_STATE after the timeout period as the request was not carried out.
Original comment by: dr_mohan
Original comment by: dr_mohan
Fixed with checkin #7625
Original comment by: dr_mohan
saHpiResourcePowerStateSet returns success to power down a server. But the server is actually not powered down in some circumstances. OA sends the command and returns success, but sometimes server does not execute the command (power down) One way to test it is to turn of acpid daemon. There are other situations too.
Reported by: dr_mohan