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...
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-ceilometerclient (Show other bugs)
(Show other bugs)
Version: 3.0
Hardware: Unspecified Unspecified
unspecified
unspecified
Target Milestone: rc
: 3.0
Assignee: Jakub Ruzicka
QA Contact: Ami Jeain
URL:
Whiteboard:
Keywords:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-27 17:17:45 UTC
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0968 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.