Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1659961

Summary: kdump always started in rhel 7.5
Product: [oVirt] ovirt-distribution Reporter: Fabrice Bacchella <fabrice.bacchella>
Component: ovirt-hostAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.7CC: bugs, didi, mperina, sradco
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-17 09:50:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fabrice Bacchella 2018-12-17 09:36:47 UTC
I disabled kdump on an host:

    <kdump_status>disabled</kdump_status>

I also disable the service in systemd:

    systemctl status kdump
    ...
    Loaded: loaded (/usr/lib/systemd/system/kdump.service; disabled; vendor preset: enabled)
    ...

But's it's required by vdsmd:

    systemctl show vdsmd.service | grep Wants
Wants=dev-hugepages1G.mount mom-vdsm.service abrtd.service ovirt-imageio-daemon.service libvirt-guests.service system.slice kdump.service

So it's started anyway. Is there a way to prevent that ?

Comment 1 Yedidyah Bar David 2018-12-17 09:50:07 UTC
(In reply to Fabrice Bacchella from comment #0)
> I disabled kdump on an host:
> 
>     <kdump_status>disabled</kdump_status>
> 
> I also disable the service in systemd:
> 
>     systemctl status kdump
>     ...
>     Loaded: loaded (/usr/lib/systemd/system/kdump.service; disabled; vendor
> preset: enabled)
>     ...
> 
> But's it's required by vdsmd:
> 
>     systemctl show vdsmd.service | grep Wants
> Wants=dev-hugepages1G.mount mom-vdsm.service abrtd.service
> ovirt-imageio-daemon.service libvirt-guests.service system.slice
> kdump.service
> 
> So it's started anyway. Is there a way to prevent that ?

bugzilla isn't a support forum/service, please ask such questions on systemd-related forums/lists/etc. Thanks.

I think you can try 'systemctl mask', didn't try it, no idea what this will cause to vdsm if it works.