a88269820e
In PY3, all strings are sequences of unicode characters. In PY2,
a string may be of type str or of type unicode. Six provides
simple utilities for wrapping over differences between Python 2
and Python 3.[1] So using six.text_type instead of str to be more
compatible.
Python 2.x automatically encode the unicode with sys.getdefaultencoding(),
which is usually 'ascii'. If there are some non-ASCII characters, it can
raise UnicodeeEncodeError. Add a unit test that use unicode string to test
PartitionCoordinator to check if there have the same error in the bug.
[1] https://pythonhosted.org/six/#six.text_type
Change-Id: Ic52c805b81e53a632a61ddcd3e8652b5849d913d
Closes-Bug: #1621305
(cherry picked from commit
|
||
---|---|---|
api-ref/source | ||
ceilometer | ||
devstack | ||
doc | ||
etc | ||
install-guide/source | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MAINTAINERS | ||
README.rst | ||
babel.cfg | ||
requirements.txt | ||
run-functional-tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Ceilometer
Ceilometer is a data collection service that collects event and metering data by monitoring notifications sent from OpenStack services. It publishes collected data to various targets including data stores and message queues.
Ceilometer is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.
For more information about Ceilometer APIs, see http://developer.openstack.org/api-ref-telemetry-v2.html
Release notes are available at https://releases.openstack.org/teams/telemetry.html
Developer documentation is available at http://docs.openstack.org/developer/ceilometer/
For information on how to contribute to ceilometer, see the CONTRIBUTING.rst file.
The project home is at http://launchpad.net/ceilometer
To report any ceilometer related bugs, see http://bugs.launchpad.net/ceilometer/