[PKG-Openstack-devel] Bug#861199: ceilometer-api systemd service fails to start
Valentin Vidic
Valentin.Vidic at CARNet.hr
Tue Apr 25 19:22:35 UTC 2017
Package: ceilometer-api
Version: 1:7.0.1-3
Severity: important
Dear Maintainer,
The ceilometer-api.service does not start properly after
installation. The following error is reported in syslog:
Apr 25 21:15:27 srv systemd[1]: Starting OpenStack Ceilometer API...
Apr 25 21:15:27 srv systemd[1]: Started OpenStack Ceilometer API.
Apr 25 21:15:29 srv ceilometer-api[18277]: usage: ceilometer-api [-h] [--port PORT] -- [passed options]
Apr 25 21:15:29 srv ceilometer-api[18277]: ceilometer-api: error: unrecognized arguments: --config-file=/etc/ceilometer/ceilometer.conf --log-file=/var/log/ceilometer/ceilometer-api.log
Apr 25 21:15:29 srv systemd[1]: ceilometer-api.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 25 21:15:29 srv systemd[1]: ceilometer-api.service: Unit entered failed state.
Apr 25 21:15:29 srv systemd[1]: ceilometer-api.service: Failed with result 'exit-code'.
It seems that -- is missing before the arguments for the service.
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages ceilometer-api depends on:
ii adduser 3.115
ii ceilometer-common 1:7.0.1-3
ii debconf [debconf-2.0] 1.5.60
ii init-system-helpers 1.47
ii lsb-base 9.20161125
ii python-openstackclient 3.2.1-1
ii python-q-text-as-data [q-text-as-data] 1.4.0-1
pn python2.7:any <none>
ceilometer-api recommends no packages.
Versions of packages ceilometer-api suggests:
pn mongodb <none>
-- Configuration Files:
/etc/init.d/ceilometer-api changed [not included]
-- debconf information:
ceilometer/endpoint-ip:
ceilometer/keystone-project-name: admin
* ceilometer/register-endpoint: false
ceilometer/region-name: regionOne
ceilometer/keystone-admin-name: admin
ceilometer/keystone-ip:
-------------- next part --------------
--- ceilometer-api.dist 2017-04-25 21:15:51.266598558 +0200
+++ ceilometer-api 2017-04-25 21:16:04.122546393 +0200
@@ -91,7 +91,7 @@
}
do_systemd_start() {
- exec $DAEMON $DAEMON_ARGS
+ exec $DAEMON -- $DAEMON_ARGS
}
case "$1" in
More information about the Openstack-devel
mailing list