>From Douglas Schilling Landgraf <[email protected]>: Douglas Schilling Landgraf has uploaded a new change for review.
Change subject: migrate: Make sure base-score from agent.conf is set to 3400 ...................................................................... migrate: Make sure base-score from agent.conf is set to 3400 base-score from agent.conf should be updated to 3400, unfortunately the file is not being updated during upgrades. Change-Id: I666a809520ca0e2dec08dc9729ae529b2b1c2adc Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1415561 Signed-off-by: Douglas Schilling Landgraf <[email protected]> --- M src/ovirt/node/config/migrate.py 1 file changed, 5 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/61/74161/1 diff --git a/src/ovirt/node/config/migrate.py b/src/ovirt/node/config/migrate.py index e23e247..2e41f80 100644 --- a/src/ovirt/node/config/migrate.py +++ b/src/ovirt/node/config/migrate.py @@ -19,7 +19,7 @@ # MA 02110-1301, USA. A copy of the GNU General Public License is # also available at http://www.gnu.org/copyleft/gpl.html. from ovirt.node import base -from ovirt.node.utils.fs import Config +from ovirt.node.utils.fs import Config, File from augeas import Augeas import os @@ -198,6 +198,10 @@ self.aug.set("/files/etc/default/ovirt/OVIRT_KDUMP_LOCAL", "true") + def translate_hosted_engine_ha(self): + f = File("/etc/ovirt-hosted-engine-ha/agent.conf") + f.sed("s/.*base-score.*/base-score=3400/") + def translate_snmp(self): if self.__is_persisted("/etc/snmp/snmpd.conf"): self.aug.set("/files/etc/default/ovirt/OVIRT_SNMP_ENABLED", -- To view, visit https://gerrit.ovirt.org/74161 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I666a809520ca0e2dec08dc9729ae529b2b1c2adc Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
