Change in ovirt-engine[master]: packaging: setup: preserve shmmax config on cleanup

sbonazzo at redhat.com sbonazzo at redhat.com
Thu Nov 14 16:00:11 UTC 2013


Sandro Bonazzola has submitted this change and it was merged.

Change subject: packaging: setup: preserve shmmax config on cleanup
......................................................................


packaging: setup: preserve shmmax config on cleanup

Previously if you ran engine-setup; engine-cleanup; engine-setup
the final engine-setup may not properly store a persistent
configuration for shmmax in sysctl, so that a subsequent
reboot will cause postgresql to fail to come up so oVirt
is non-operational.

Now cleanup won't remove the configuration for shmmax in sysctl
just telling the user where it's placed and how to restore
default value manually. This will ensure that a working postgresql
will work also after reboot.

Change-Id: I4a95d5d9c678da80ee3f1e0a9de511309dfd4b51
Bug-Url: https://bugzilla.redhat.com/1026926
Bug-Url: https://bugzilla.redhat.com/1027605
Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
---
A packaging/setup/plugins/ovirt-engine-remove/system/__init__.py
A packaging/setup/plugins/ovirt-engine-remove/system/sysctl.py
M packaging/setup/plugins/ovirt-engine-setup/system/sysctl.py
3 files changed, 119 insertions(+), 0 deletions(-)

Approvals:
  Sandro Bonazzola: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/21139
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4a95d5d9c678da80ee3f1e0a9de511309dfd4b51
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list