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
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1626006/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to