Description of problem:
When kdump configuration is updated using UI, the whole file is overwritten, so custom changes, which are impossible to change using UI, are lost. This behavior breaks kdump integration feature in oVirt 3.5, which sets those custom options during host deploy.
Version-Release number of selected component (if applicable):
ovirt-node-iso-3.5.0.ovirt35.20140707.el6
How reproducible:
100%
Steps to Reproduce:
1. Login as root, add custom changes to /etc/kdump.conf and restart kdump service so these changes are applied:
default reboot
ext4 /dev/HostVG/Data
path /core
fence_kdump_nodes mperina.brq.redhat.com
fence_kdump_args -p 7410 -i 5
2. Login as admin and change settings kdump settings using UI (for example change kdump target to NFS)
3. Login as root and check content of /etc/kdump.conf
Actual results:
Content of /etc/kdump.conf after step 3.:
default reboot
nfs str-02.rhev.lab.eng.brq.redhat.com:/mnt/export/nfs/170/nfs04
Expected results:
Content of /etc/kdump.conf after step 3. when bug fixed:
default reboot
nfs str-02.rhev.lab.eng.brq.redhat.com:/mnt/export/nfs/170/nfs04
fence_kdump_nodes mperina.brq.redhat.com
fence_kdump_args -p 7410 -i 5
Additional info: