[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
James Page
james.page at ubuntu.com
Wed Sep 21 10:58:26 UTC 2016
Running ceilometer-api from the CLI:
$ ceilometer-api
Traceback (most recent call last):
File "/usr/bin/ceilometer-api", line 20, in <module>
server = wss.make_server('', args.port, load_app())
File "/usr/lib/python2.7/dist-packages/ceilometer/api/app.py", line 85, in load_app
cfg_file = CONF.find_file(cfg_path)
File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2580, in find_file
raise NotInitializedError()
oslo_config.cfg.NotInitializedError: call expression on parser has not been invoked
and from the systemd service:
Sep 21 10:55:02 adapted-tahr ceilometer-api[4932]: usage: ceilometer-api [-h] [--port PORT]
Sep 21 10:55:02 adapted-tahr ceilometer-api[4932]: ceilometer-api: error: unrecognized arguments: --config-file=/etc/ceilometer/ceilometer.conf --log-file=/var/log/ceilometer/ceilometer-api.log
Currently we pass in --config-file and --log-file - the new binary does
not support these options.
** Also affects: ceilometer
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceilometer in Ubuntu.
https://bugs.launchpad.net/bugs/1626006
Title:
wsgi_script based ceilometer-api binary does not support the same CLI
arguments as console_script version
Status in Ceilometer:
New
Status in ceilometer package in Ubuntu:
New
Bug description:
For newton rc1, ceilometer switch to providing the ceilometer-api
binary using the new pbr wsgi_script stanza; this new binary is not
directly compatible with the CLI of the previous console script
version.
The daemon fails to start as the only CLI options it recognises are -P
port
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: ceilometer-api 1:7.0.0~rc1-0ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
Uname: Linux 4.4.0-9136-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
Date: Wed Sep 21 07:51:45 2016
PackageArchitecture: all
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
SourcePackage: ceilometer
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1626006/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list