[PKG-Openstack-devel] Bug#861199: ceilometer-api systemd service fails to start

Thomas Goirand zigo at debian.org
Thu Apr 27 20:45:09 UTC 2017


On 04/26/2017 06:33 PM, Valentin Vidic wrote:
> On Wed, Apr 26, 2017 at 05:32:22PM +0200, Thomas Goirand wrote:
>> I just tried, and there's no problem for me. It just works as one would
>> expect. I wonder why you have this issue. Could you investigate?
> 
> The service seems to be running for a few seconds after install but
> than fails:
> 
> # systemctl status ceilometer-api.service
> ● ceilometer-api.service - OpenStack Ceilometer API
>    Loaded: loaded (/lib/systemd/system/ceilometer-api.service; enabled; vendor preset: enabled)
>    Active: failed (Result: exit-code) since Wed 2017-04-26 18:29:45 CEST; 39s ago
>   Process: 9509 ExecStart=/etc/init.d/ceilometer-api systemd-start (code=exited, status=2)
>   Process: 9506 ExecStartPre=/bin/chown ceilometer:adm /var/log/ceilometer (code=exited, status=0/SUCCESS)
>   Process: 9503 ExecStartPre=/bin/chown ceilometer:ceilometer /var/lock/ceilometer /var/lib/ceilometer (code=exited, 
>   Process: 9501 ExecStartPre=/bin/mkdir -p /var/lock/ceilometer /var/log/ceilometer /var/lib/ceilometer (code=exited,
>  Main PID: 9509 (code=exited, status=2)
>       CPU: 962ms
> 
> If I try running the failed command manually:
> 
> # /etc/init.d/ceilometer-api systemd-start
> usage: ceilometer-api [-h] [--port PORT] -- [passed options]
> ceilometer-api: error: unrecognized arguments: --config-file=/etc/ceilometer/ceilometer.conf --log-file=/var/log/ceilometer/ceilometer-api.log
> # echo $?
> 2
> 
> So this is totally reproducible on my side :)

Probably. Though that's not helpful for me, the maintainer. *I* need to
reproduce the issue. Otherwise, you need to send a patch.

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list