From gerrit at ovirt.org Wed Mar 15 23:24:43 2017 From: gerrit at ovirt.org (Code Review) Date: Wed, 15 Mar 2017 19:24:43 -0400 Subject: [node-patches] Change in ovirt-node[master]: migrate: Make sure base-score from agent.conf is set to 3400 Message-ID: >From Douglas Schilling Landgraf : 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 --- 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 From gerrit at ovirt.org Thu Mar 16 00:06:12 2017 From: gerrit at ovirt.org (Code Review) Date: Wed, 15 Mar 2017 20:06:12 -0400 Subject: [node-patches] Change in ovirt-node[master]: migrate: Make sure base-score from agent.conf is set to 3400 In-Reply-To: References: Message-ID: <201703160006.v2G06Ceo031772@gerrit.ovirt.org> >From Douglas Schilling Landgraf : Douglas Schilling Landgraf has posted comments on this change. Change subject: migrate: Make sure base-score from agent.conf is set to 3400 ...................................................................... Patch Set 1: Code-Review-2 it's not only agent.conf affected by this, looks like more files are involved. -- To view, visit https://gerrit.ovirt.org/74161 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I666a809520ca0e2dec08dc9729ae529b2b1c2adc Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf Gerrit-Reviewer: Douglas Schilling Landgraf Gerrit-Reviewer: Ryan Barry Gerrit-Reviewer: gerrit-hooks Gerrit-HasComments: No From gerrit at ovirt.org Thu Mar 23 14:16:18 2017 From: gerrit at ovirt.org (Code Review) Date: Thu, 23 Mar 2017 10:16:18 -0400 Subject: [node-patches] Change in ovirt-node[master]: migrate: Make sure base-score from agent.conf is set to 3400 In-Reply-To: References: Message-ID: <201703231416.v2NEGI5A019937@gerrit.ovirt.org> >From Douglas Schilling Landgraf : Douglas Schilling Landgraf has abandoned this change. Change subject: migrate: Make sure base-score from agent.conf is set to 3400 ...................................................................... Abandoned -- To view, visit https://gerrit.ovirt.org/74161 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: abandon Gerrit-Change-Id: I666a809520ca0e2dec08dc9729ae529b2b1c2adc Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Douglas Schilling Landgraf Gerrit-Reviewer: Douglas Schilling Landgraf Gerrit-Reviewer: Ryan Barry Gerrit-Reviewer: gerrit-hooks