Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: openstack-pkg-to...@packages.debian.org
Control: affects -1 + src:openstack-pkg-tools

Hi,

Please unblock package openstack-pkg-tools

This package is used to generate systemd unit for all OpenStack packages.
For Neutron, the service neutron-l3-agent needs a custom directive

killmode=process

otherwise, restarting neutron-l3-agent makes all HA L3 virtual router
failover to the other network node where they are hosted. Indeed, when
stopping or restarting neutron-l3-agent, Systemd kills all of the CGroup
instead of only neutron-l3-agent.

This new version of openstack-pkg-tools adds a simple variable that can
be filled:

CUSTOM_SYSTEMD_SERVICE_DIRECTIVES

The diff for this fix is simply:

--- a/init-template/pkgos-gen-systemd-unit
+++ b/init-template/pkgos-gen-systemd-unit
@@ -120,6 +120,7 @@ $SYSTEMD_RESTART
 LimitNOFILE=65535
 TimeoutStopSec=15
 ${SYSTEMD_NOTIFY_ACCESS}
+${CUSTOM_SYSTEMD_SERVICE_DIRECTIVES}
 
 [Install]
 WantedBy=multi-user.target

When openstack-pkg-tools is unblocked, I'll upload neutron so that it can
use this CUSTOM_SYSTEMD_SERVICE_DIRECTIVES variable.

[ Tests ]
I tested manually, and it fixes the issue.

[ Risks ]
No risk, this is just a new variable that by default will be left unused.

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock openstack-pkg-tools/135

Reply via email to