OpenStack Telemetry (Ceilometer) Alarming
Go to file
ZhiQiang Fan fa982d1bf5 Fix storage.hbase.util.prepare_key() for 32-bits system
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
2014-11-01 14:43:29 +08:00
bin Remove (c) and remove unnecessary encoding lines 2014-05-31 13:02:21 +02:00
ceilometer Fix storage.hbase.util.prepare_key() for 32-bits system 2014-11-01 14:43:29 +08:00
doc Improve manual.rst file 2014-10-29 10:22:53 +02:00
etc support request-id 2014-10-22 13:38:25 -04:00
nova_tests Switch to oslo.utils 2014-08-22 14:52:13 +02:00
tools Fix columns migrating for PostgreSQL 2014-10-27 12:35:17 -04:00
.coveragerc test code should be excluded from test coverage summary 2013-12-11 11:40:51 -05:00
.gitignore Adds pylint check for critical error in new patches 2014-10-07 17:27:30 +03:00
.gitreview Update .gitreview for openstack. 2012-11-11 19:13:08 +00:00
.mailmap add mailmap to avoid dup of authors 2014-10-09 10:31:23 +03:00
.testr.conf Eliminate unnecessary search for test cases 2014-09-16 14:21:37 +08:00
babel.cfg Ground work for transifex-ify ceilometer. 2012-12-18 10:14:03 +08:00
CONTRIBUTING.rst Fix the section name in CONTRIBUTING.rst 2014-07-01 14:56:49 +08:00
functions.sh Run unit tests against MySQL 2014-10-01 10:26:27 +02:00
LICENSE include a copy of the ASL 2.0 2013-03-15 14:25:48 +00:00
MAINTAINERS Fix some spelling mistakes and a incorrect url 2014-03-06 11:28:50 +08:00
openstack-common.conf switch to oslo-config-generator 2014-10-12 16:05:10 -04:00
pylintrc Adds pylint check for critical error in new patches 2014-10-07 17:27:30 +03:00
README.rst Rename README.md to README.rst 2013-07-14 21:09:38 +02:00
ReleaseNotes Update documentation URL 2012-12-05 10:22:43 +01:00
requirements-py3.txt Updated from global requirements 2014-10-27 12:14:54 +00:00
requirements.txt remove ordereddict requirement 2014-10-29 09:34:25 -04:00
setup-test-env-mongodb.sh Run unit tests against MySQL 2014-10-01 10:26:27 +02:00
setup-test-env-mysql.sh Creates one database per sql test 2014-10-07 16:40:59 +02:00
setup-test-env-postgresql.sh Sets default encoding for PostgreSQL testing 2014-10-09 18:36:04 +02:00
setup.cfg switch to oslo-config-generator 2014-10-12 16:05:10 -04:00
setup.py Updated from global requirements 2014-05-20 12:59:42 -04:00
test-requirements-py3.txt Updated from global requirements 2014-10-22 19:10:09 +00:00
test-requirements.txt Updated from global requirements 2014-10-22 19:10:09 +00:00
tox.ini Fix hacking rule H305 imports not grouped correctly 2014-10-30 01:31:43 +08:00

ceilometer

See the ReleaseNotes document and the project home for more info.

http://launchpad.net/ceilometer