open-hpi / openhpi

Other
6 stars 10 forks source link

No events in showevtlog after Server reset through GUI. #1947

Open mohandev2 opened 7 years ago

mohandev2 commented 7 years ago

No events are shown in showevtlog after Server reset through GUI.

Reported by: ShyamalaH

Original Ticket: openhpi/bugs/1947

mohandev2 commented 7 years ago

This happens with the reset (aka hard or warm), where the OS is not shutdown gracefully. The alerts and tasks that come in do not have any powerOff ones. The powerOn event is not handled as the server is already powered on. The tasks and alerts that come in are TASK_RESET (3 times) Trap.cpqSm2ServerReset Trap.cpqSm2ServerPowerOn Since there is no PowerOff alert, the events are not generated.

When the cold reset is issued, the following tasks and alerts come in TASK_RESET (2 times) Trap.cpqSm2ServerPowerOff TASK_RESET Trap.cpqSm2ServerReset Trap.cpqSm2ServerPowerOn Trap.cpqSm2ServerReset Trap.cpqSm2ServerPowerOn The extra alerts are ignored and four events are delivered.

This problem is happening only with the warm reset

Original comment by: mohandev2

mohandev2 commented 7 years ago

Original comment by: mohandev2

mohandev2 commented 6 years ago

Original comment by: mohandev2

mohandev2 commented 6 years ago

Original comment by: mohandev2

mohandev2 commented 6 years ago

This behavior is same in oa_soap also. Since the blade is not getting powered off during warm reset power off event is not coming from one view. Since some sequence during reboot indicates power on, power on event is coming and we are ignoring it as power off never happened (power off event did not come).

Original comment by: mohandev2

mohandev2 commented 6 years ago

Original comment by: mohandev2