[Hyper-V] kdump-tools service does not start at boot on Ubuntu 17.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
makedumpfile (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Artful |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
[Summary]
kdump-tools service does not start automatically at boot on Ubuntu 17.10 (4.13.0-12-generic x86_64 kernel). Because of this, the kernel crash dump is not working.
[Steps]
- Tried enabling it using systemctl. No errors were shown after enabling it, but after reboot the service is still not running.
- "kdump-config show" is reporting "current state: Not ready to kdump"
- "kdump-config load" command worked and the state changed to "ready to kdump". kdump-tools service is still stopped but VM reboots (and a dump is generated) if a crash is triggered.
- Starting the kdump-tools service is also ok. After it is started, a crash dump is generated in case of system crash.
[Additional logs]
root@ubuntu1710:~# service kdump-tools status
● kdump-tools.service - Kernel crash dump capture service
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
root@ubuntu1710:~# dmesg | grep crashkernel
[ 0.000000] Command line: BOOT_IMAGE=
[ 0.000000] Reserving 384MB of memory at 400MB for crashkernel (System RAM: 2047MB)
root@ubuntu1710:~# cat /var/log/syslog | grep kexec
Oct 11 06:30:08 ubuntu1710 systemd[1]: Starting LSB: Execute the kexec -e command to reboot system...
Oct 11 06:30:09 ubuntu1710 systemd[1]: Started LSB: Execute the kexec -e command to reboot system.
Oct 11 06:30:10 ubuntu1710 systemd[1]: Starting LSB: Load kernel image with kexec...
Oct 11 06:30:10 ubuntu1710 systemd[1]: Started LSB: Load kernel image with kexec.
Status changed to 'Confirmed' because the bug affects multiple users.