Woraround systemd issue on CentOS 9-stream
systemd-252-16.el9 introduced a regression where libvirtd process exits after 120s of inactivity. Add a workaround to unset 120s timeout for libvirtd, the workaround can be removed once the fix is available in systemd rpm. Related-Bug: #2029335 Change-Id: Id6db6c17518b54d5fef7c381c509066a569aff6d
This commit is contained in:
parent
9dba09975d
commit
113689ee46
@ -94,6 +94,11 @@ EOF
|
|||||||
if [[ $os_VENDOR == "CentOSStream" && $os_RELEASE -eq 8 ]]; then
|
if [[ $os_VENDOR == "CentOSStream" && $os_RELEASE -eq 8 ]]; then
|
||||||
sudo sysctl -w net.ipv4.ping_group_range='0 2147483647'
|
sudo sysctl -w net.ipv4.ping_group_range='0 2147483647'
|
||||||
fi
|
fi
|
||||||
|
# TODO(ykarel): Workaround for systemd issue, remove once fix is
|
||||||
|
# included in systemd rpm https://bugs.launchpad.net/devstack/+bug/2029335
|
||||||
|
if [[ $os_VENDOR == "CentOSStream" && $os_RELEASE -eq 9 ]]; then
|
||||||
|
echo 'LIBVIRTD_ARGS=""' | sudo tee /etc/sysconfig/libvirtd
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function fixup_ovn_centos {
|
function fixup_ovn_centos {
|
||||||
|
Loading…
Reference in New Issue
Block a user