Change in vdsm[master]: caps: Collect kdump status
mperina at redhat.com
mperina at redhat.com
Wed May 28 21:27:19 UTC 2014
Martin Peřina has posted comments on this change.
Change subject: caps: Collect kdump status
......................................................................
Patch Set 8:
(1 comment)
http://gerrit.ovirt.org/#/c/25926/8/vdsm/caps.py
File vdsm/caps.py:
Line 413: def _getKdumpStatus():
Line 414: try:
Line 415: # check if kdump service is running
Line 416: with open('/sys/kernel/kexec_crash_loaded', 'r') as f:
Line 417: kdumpStatus = int(f.read().strip('\n'))
> Is this an indication also that the ramdisk was generated ?
This means that kdump is fully operational. But it doesn't tell you if initial ramdisk contains latest updates to /etc/kdump.conf. That's why we need after all updates to /etc/kdump.conf restart kdump service, so initial ramdisk is properly rebuilt.
Line 418:
Line 419: if kdumpStatus == KdumpStatus.ENABLED:
Line 420: # check if fence_kdump is configured
Line 421: kdumpStatus = KdumpStatus.DISABLED
--
To view, visit http://gerrit.ovirt.org/25926
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I68d7a2a24fdaad74255004af0f327197eaee65f2
Gerrit-PatchSet: 8
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr at redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list