| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This removes the deprecated Ceilometer API.
Change-Id: I752b36b3dfe8f935b68c4d3d59ccb5b8b60c582f
|
|
|
|
|
|
|
|
| |
This removes entirely our usage of eventlet and its ugly monkey-patching
in favor of a threaded approach.
Implements: remove-eventlet
Change-Id: Ib5f623e2d1ff9e9254601ad091bf5b53ab32000d
|
|
|
|
|
|
|
|
|
| |
This change avoids eventlet's monkey-patching of DNS
resolution. eventlet's doesn't support IPv6, for example.
A similar change was made in nova, so this is just copying
that code and technique to ceilometer.
Fixes bug #1404886 bug #1325399
Change-Id: I06391fb5f651dbd430a6fb75b0fd0c337aa0a634
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some drivers/modules might raise NotImplementedError whereas we would
expect things to work. Skipping test when such an error is raised would
be a bad idea, we would know the test failed.
So let's switch to a custom NotImplementedError and let's skip test only
if this one is raised.
Closes-Bug: #1369556
Change-Id: Ie88a281787218f9aba13b6e662eb4d49d3e685d0
|
|
|
|
|
| |
Change-Id: Id314cd0ec658cb96cfc50493cd5bab10c2716714
Closes-Bug: #1262424
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The gettext.install() installs a builtin _() function for translation
purpose. If it is called multiple times, the last call will win and the
translation domain set by the last call will be used.
When the ceilometer.compute.nova_notifier driver used within nova, the
gettext.install() call in ceilometer/__init__.py would change the
previous translation domain set by nova. This is not what we want.
We have to remove this shortcut, and put the gettext.install() call
early on in a top level script.
Instead of directly calling gettext.install(), we leverage the
gettextutils.install() in openstack.common, so we can specifiy the
localedir for ceilometer through the environment variable
CEILOMETER_LOCALEDIR.
This is part of the blueprint gettext-i18n-issue.
Change-Id: Icb2dcfb319778042cf569dcb607f579d1e0fda3a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Following http://wiki.openstack.org/Translations to integrate transifex
translation into ceilometer and to fix bug 1082805.
This is the ground work to enable translation jobs using transifex and
Jenkin's in ceilometer. We added the empty file
ceilometer/locale/ceilometer.pot to avoid the failure of the Jenkin'
translation-jobs because git doesn't allow empty directory to be added
into the repository.
We still need to do the following things once this patch gets accepted:
1. Make the transifex ceilometer project
(https://www.transifex.com/projects/p/ceilometer/) as part of the
openstack transifex project hub and give access to the transifex
openstack Jenkins account.
2. Add the translation-jobs into openstack/openstack-ci-puppet for
ceilometer.
3. Recheck and/or clean the LOG.foobar strings in ceilometer so that
only the useful and necessary strings would be extracted into the .pot
file.
NOTE:
1. Don't use '_' as the variable name for "don't care", since it clashes
with gettext module.
2. Wrap the string with the underscore function to make it ready for
translation, e.g.
internationalized_string = _("I'm internationalized!")
LOG.debug(_('I speak the language of %(language)s'), locals())
Change-Id: I9732e424b374afa8f0650baf4e3537109e7520d1
|
|
This script is used to grab notifications from existing hosts
Change-Id: I45826fd6941d7bd93464bf945903b6b41223745c
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
|