"hv_utils: Shutdown request received - graceful shutdown initiated" is seen a few minutes before a sudden restart

"hv_utils: Shutdown request received - graceful shutdown initiated" is seen a few minutes before a sudden restart

10283
Created On 09/26/22 04:36 AM - Last Modified 07/19/23 02:47 AM


Symptom


  • "hv_utils: Shutdown request received - graceful shutdown initiated" message seen in /var/log/messages
  • This is followed by a sudden restart
mgmt klogd: [3238705.107055] hv_utils: Shutdown request received - graceful shutdown initiated
mgmt shutdown[16276]: shutting down for system halt
mgmt init: Switching to runlevel: 0
mgmt rpc.mountd[2346]: Caught signal 15, un-registering and exiting.
mgmt klogd: [3238757.353134] nfsd: last server has exited, flushing export cache
mgmt xinetd[2303]: Exiting...
mgmt klogd: Kernel logging (proc) stopped.
mgmt klogd: Kernel log daemon terminating.
mgmt exiting on signal 15
mgmt syslogd 1.4.1: restart.
Note: /var/log/messages can be seen in the techsupport file.


Environment


  • VM-Series on Microsoft Azure
  • Supported PAN-OS versions


Cause


The message indicates a graceful shutdown/reboot command has been initiated from hypervisor end. 

Resolution


  1. This is not a firewall isssue as the graceful shutdown/reboot command is initiated from hypervisor
  2. Refer The "Linux and Graceful Shutdowns " official article has been published from Microsoft.


Additional Information


Initiating a graceful shutdown on Azure
<---snip--->
In Hyper-V and Azure environments the signal to perform a graceful shutdown comes from the hypervisor and is handled by the hv_utils driver, part of our Linux Integration Services that are included with the Linux kernel. This feature is known as integrated shutdown. After receiving this signal from the hypervisor the hv_utils driver will initiate a graceful shutdown of the Linux guest and launch essentially the same mechanisms as if the user had run ‘/sbin/shutdown now’ manually. When hv_utils receives this signal from the hypervisor the following message with be sent to the logs (typically in /var/log/messages, or /var/log/syslog on Ubuntu systems) indicating that the Linux system was shut down by the hypervisor: hv_utils: Shutdown request received - graceful shutdown initiated


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000sZFnCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail