Bug 974043 - ceilometerclient uses suppressed v1 metering API out-of-the-box, so fails with 404
Summary: ceilometerclient uses suppressed v1 metering API out-of-the-box, so fails wit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-ceilometerclient
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 3.0
Assignee: Jakub Ruzicka
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-13 10:48 UTC by Eoghan Glynn
Modified: 2015-06-04 21:52 UTC (History)
5 users (show)

Fixed In Version: python-ceilometerclient-1.0.0-2.el6ost
Doc Type: Bug Fix
Doc Text:
Previously, Ceilometer commands failed with a 404 Error unless the latest metering API was explicitly specified. This has been fixed by using the latest metering API by default, so Ceilometer commands work as expected.
Clone Of:
Environment:
Last Closed: 2013-06-27 17:17:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0968 0 normal SHIPPED_LIVE Red Hat OpenStack 3.0 ("Grizzly") bug fix and enhancement update 2013-06-27 21:14:27 UTC

Description Eoghan Glynn 2013-06-13 10:48:20 UTC
Description of problem:

The ceilometerclient CLI targets the v1 metering API by default out-of-the-box.

However in RHOS, we use enable_v1_api=false in the distribution config to suppress this API (due to the problematic flask dependency).

So all command fails with 404, unless '--ceilometer-api-version 2' is specified explicitly or alternatively 'export CEILOMETER_API_VERSION=2' is set in the environment.


Version-Release number of selected component (if applicable):

python-ceilometerclient-1.0.0-1.el6ost.noarch


How reproducible:

100%


Steps to Reproduce:
1. ceilometer --debug resource-list 2>&1 | grep curl | awk -F/ '{print $(NF-1)}'


Actual results:
v1


Expected results:
v2


Additional info:

Workaround:
  alias ceilometer='ceilometer --ceilometer-api-version 2'
OR
  export CEILOMETER_API_VERSION=2

Comment 4 Ami Jeain 2013-06-17 14:51:12 UTC
#  ceilometer --debug resource-list 2>&1 | grep curl | awk -F/ '{print $(NF-1)}'
v2

Comment 6 Bruce Reeler 2013-06-21 01:46:58 UTC
Edited Doc Text

Comment 8 errata-xmlrpc 2013-06-27 17:17:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0968.html


Note You need to log in before you can comment on or make changes to this bug.