Public bug reported:
gnocchi-api is a developer wrapper arount a test server.
The Gnocchi documentation (http://gnocchi.xyz/operating.html) suggests using
Apache WSGI to run it. The Ubuntu packages should contain the Apache
configuration like is done for Keystone and Cinder.
Anyway the systemd unit is broken because gnocchi-api is called with the
wrong options:
Jul 31 14:34:00 bfeb systemd[1]: Started OpenStack Gnocchi Api.
Jul 31 14:34:02 bfeb gnocchi-api[10203]: usage: gnocchi-api [-h] [--port PORT]
-- [passed options]
Jul 31 14:34:02 bfeb gnocchi-api[10203]: gnocchi-api: error: unrecognized
arguments: --config-file=/etc/gnocchi/gnocchi.conf
--log-file=/var/log/gnocchi/gnocchi-api.log
Jul 31 14:34:02 bfeb systemd[1]: gnocchi-api.service: Main process exited,
code=exited, status=2/INVALIDARGUMENT
Jul 31 14:34:02 bfeb systemd[1]: gnocchi-api.service: Unit entered failed state.
Jul 31 14:34:02 bfeb systemd[1]: gnocchi-api.service: Failed with result
'exit-code'.
Jul 31 14:34:02 bfeb systemd[1]: gnocchi-api.service: Service hold-off time
over, scheduling restart.
Jul 31 14:34:02 bfeb systemd[1]: Stopped OpenStack Gnocchi Api.
Jul 31 14:34:02 bfeb systemd[1]: gnocchi-api.service: Start request repeated
too quickly.
Jul 31 14:34:02 bfeb systemd[1]: Failed to start OpenStack Gnocchi Api.
This is Ubuntu Xenial with the Ocata cloud archive for openstack.
** Affects: gnocchi (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707642
Title:
Broken systemd unit for gnocchi-api
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnocchi/+bug/1707642/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs