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
https://github.com/redhat-openstack/python-ceilometerclient/pull/1
# ceilometer --debug resource-list 2>&1 | grep curl | awk -F/ '{print $(NF-1)}' v2
Edited Doc Text
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