[Hyper-V] kdump-tools service does not start at boot on Ubuntu 17.10

Bug #1722806 reported by Adrian Suhov
22
This bug affects 4 people
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/system/kdump-tools.service; enabled; vendor preset: ena
   Active: inactive (dead)

root@ubuntu1710:~# dmesg | grep crashkernel
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.13.0-12-generic root=/dev/mapper/ubuntu1710--vg-root ro console=tty0 console=ttyS1 crashkernel=384M
[ 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in makedumpfile (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.