Bug#861264: unblock: ceilometer/7.0.1-4
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Dear release team,
The current .service files for ceilometer-agent-{central,compute}
packages are wrong, and fail to start the daemon correctly. It'd
be long to explain the internals of openstack-pkg-tools, but shortly,
the .service files are calling the sysv-rc init scripts with
"systemd-start" as argument, and the way it was written, the path
to the sysv-rc script was wrong. The last upload fixes the issue.
The change is only 2 lines for both daemons in the init template.
I checked the resulting packages, and daemons were able to start.
Debdiff attached.
Note that this happened because upstream decided to rename the daemon,
and a previous patch addressed it in a wrong way.
Please unblock ceilometer/7.0.1-4,
Cheers,
Thomas Goirand (zigo)
diff -Nru ceilometer-7.0.1/debian/ceilometer-agent-central.init.in ceilometer-7.0.1/debian/ceilometer-agent-central.init.in
--- ceilometer-7.0.1/debian/ceilometer-agent-central.init.in 2017-04-03 15:53:05.000000000 +0000
+++ ceilometer-7.0.1/debian/ceilometer-agent-central.init.in 2017-04-26 15:36:56.000000000 +0000
@@ -14,5 +14,6 @@
# Author: Thomas Goirand <zigo@debian.org>
DESC="OpenStack Ceilometer Agent Central"
PROJECT_NAME=ceilometer
-NAME=${PROJECT_NAME}-polling
+NAME=${PROJECT_NAME}-agent-central
+DAEMON=/usr/bin/${PROJECT_NAME}-polling
DAEMON_ARGS=" --polling-namespaces central"
diff -Nru ceilometer-7.0.1/debian/ceilometer-agent-compute.init.in ceilometer-7.0.1/debian/ceilometer-agent-compute.init.in
--- ceilometer-7.0.1/debian/ceilometer-agent-compute.init.in 2017-04-03 15:53:05.000000000 +0000
+++ ceilometer-7.0.1/debian/ceilometer-agent-compute.init.in 2017-04-26 15:36:56.000000000 +0000
@@ -14,5 +14,6 @@
# Author: Thomas Goirand <zigo@debian.org>
DESC="OpenStack Ceilometer Agent Compute"
PROJECT_NAME=ceilometer
-NAME=${PROJECT_NAME}-polling
+NAME=${PROJECT_NAME}-agent-compute
+DAEMON=/usr/bin/${PROJECT_NAME}-polling
DAEMON_ARGS=" --polling-namespaces compute"
diff -Nru ceilometer-7.0.1/debian/changelog ceilometer-7.0.1/debian/changelog
--- ceilometer-7.0.1/debian/changelog 2017-04-03 15:53:05.000000000 +0000
+++ ceilometer-7.0.1/debian/changelog 2017-04-26 15:36:56.000000000 +0000
@@ -1,3 +1,10 @@
+ceilometer (1:7.0.1-4) unstable; urgency=medium
+
+ * Fix ceilometer-agent-central .service file (Closes: #861202).
+ * Fix ceilometer-agent-compute .service file (Closes: #861203).
+
+ -- Thomas Goirand <zigo@debian.org> Wed, 26 Apr 2017 15:36:56 +0000
+
ceilometer (1:7.0.1-3) unstable; urgency=medium
* Re-integrate NMU from Piotr fixing SQLAlchemy << 1.1 dependency.
Reply to: