[PKG-Openstack-devel] Bug#861199: Bug#861199: ceilometer-api systemd service fails to start
Ivan Udovichenko
iudovichenko at mirantis.com
Wed Apr 26 16:43:39 UTC 2017
I guess it's because now Ceilometer API works as WSGI script behind Web
server. And ceilometer-api script makes sense to use for developers.
On 04/26/2017 07: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 :)
>
More information about the Openstack-devel
mailing list