[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
This bug was fixed in the package python-pbr - 1.10.0-0ubuntu3 --- python-pbr (1.10.0-0ubuntu3) yakkety; urgency=medium * d/control, d/p/stop-gpg-agent.patch: Use psutil to stop gpg agent only if it's running. -- Corey Bryant Tue, 04 Oct 2016 16:57:28 -0400 ** Changed in: python-pbr (Ubuntu) Status: Triaged => Fix Released -- 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
[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
This bug was fixed in the package ceilometer - 1:7.0.0~rc2-0ubuntu1 --- ceilometer (1:7.0.0~rc2-0ubuntu1) yakkety; urgency=medium * New upstream release candidate for OpenStack Newton. - d/p/bug1624873.patch: Drop, included in new RC. * Fix issues due to switch to wsgi_script for ceilometer-api (LP: #1626006): - d/control: Set minimum version of python-pbr to 1.10.0 to ensure that useful wsgi_scripts are generated for ceilometer-api. - d/ceilometer-api.{service,init}.in: Switch to direct use of systemd unit file instead of relying on openstack-pkg-tools for generation of templated versions to ensure that configuration options are passed correctly to wsgi_script generated ceilometer-api. -- James Page Fri, 23 Sep 2016 10:46:22 +0100 ** Changed in: ceilometer (Ubuntu) Status: Triaged => Fix Released -- 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
[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
Thanks Martin. We've uploaded a new version of python-pbr to yakkety and it's in the review queue. -- 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
[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
** Also affects: python-pbr (Ubuntu) Importance: Undecided Status: New ** Changed in: python-pbr (Ubuntu) Importance: Undecided => High ** Changed in: python-pbr (Ubuntu) Assignee: (unassigned) => Corey Bryant (corey.bryant) ** Changed in: python-pbr (Ubuntu) Status: New => Triaged -- 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
[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
> we are simply aligning version of pbr with upstream openstack. Sounds good, please go ahead. -- 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
[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
This change requires a pbr version > 1.8 (current in yakkety development). Upstream is aligned with 1.10.0 in upper-constraints.txt; we should bump to that revision. As the majority of packages in the archive that depend on pbr are openstack things, this should be low risk, as we are simply aligning version of pbr with upstream openstack. ** Changed in: ceilometer (Ubuntu) Status: New => Triaged -- 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
[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
You can pass them by using --: ceilometer-api -- --config-file=foobar ** Changed in: ceilometer Status: New => Invalid -- 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
[Bug 1626006] Re: wsgi_script based ceilometer-api binary does not support the same CLI arguments as console_script version
Running ceilometer-api from the CLI: $ ceilometer-api Traceback (most recent call last): File "/usr/bin/ceilometer-api", line 20, in 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