OpenStack Telemetry (Ceilometer) Alarming
fa982d1bf5
storage.hbase.utils.timestamp() will return long type object on 32-bits system, which will cause exception in ceilometer/alarm/storage/impl_hbase.py: 'long' object has no attribute 'encode'. Then developers on 32-bits system will never get local test passed. This patch changes type check in prepare_keys() from int to six.integer_types, which will work for both 32-bits and 64-bits system, python2 and python3 environment. Note: no test code is added, because jenkins runs on 64-bits system. Reviewers can download code and verify it on 32-bits system. Change-Id: I57729ff67efe6d6036fe698e3d86491f9ed4600c Closes-Bug: #1388181 |
||
---|---|---|
bin | ||
ceilometer | ||
doc | ||
etc | ||
nova_tests | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
functions.sh | ||
LICENSE | ||
MAINTAINERS | ||
openstack-common.conf | ||
pylintrc | ||
README.rst | ||
ReleaseNotes | ||
requirements-py3.txt | ||
requirements.txt | ||
setup-test-env-mongodb.sh | ||
setup-test-env-mysql.sh | ||
setup-test-env-postgresql.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements-py3.txt | ||
test-requirements.txt | ||
tox.ini |
ceilometer
See the ReleaseNotes document and the project home for more info.