| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
stable/havana
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes bug 1284073
For pollster-originated samples related to instances, we apply a
mapping to the user metadata so as to ensure that there are no
embedded periods in metadata keys and also to exclude any metadata
not matching the configured reserved namespace.
Now this logic is also applied to user metadata for samples derived
from instance-related notifications in order to avoid failures when
persisting these data in mongodb.
(cherry picked from commit ddeb54bb0d2c4203332a5ecc09a4aedfce353a4c)
Change-Id: I77eab59023fa23c5879b05c948bd4cb1db7fa177
|
| |
| |
| |
| | |
Change-Id: Iee84a0882e82784928418fecd83d862c0ce1e8c0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
New tox (>=1.7.0) sets a random python hash seed by default. This is
generally good for testing because it will help keep projects working
regardless of the hash seed, but ceilometer unittests don't currently
pass with a random hash seed so set it to the python default seed.
This change will allow us to use new tox again and remove the
restriction on tox<=1.6.1 to run unittests.
Redundant setenvs for specific test envs are removed to prevent them
from overriding the PYTHONHASHSEED value.
Note this change will need to be backported to the stable branches to
keep unittests there working with new tox as well.
Conflicts:
tox.ini
Change-Id: Ibc613d77ad52d5f7d8d613f3dd66ffba4117ff72
(cherry picked from commit 860a2852ca92df20fa886cec2e75d753ac6e18bb)
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The error handling code that gets connections reset if necessary
caught ConnectionError. It really needs to catch MessagingError,
which ConnectionError inherits from. There are other types of
MessagingErrors that may occur, such as InternalError, and they need
to cause the connection to reset, as well.
This fix has already been merged into oslo.messaging.
--
Cherry-picked from oslo-incubator 234f64d608266f43d8856ff98c89ceba6699d752
See also https://bugzilla.redhat.com/show_bug.cgi?id=1086077
Closes-bug: #1303890
Change-Id: Ic5082b74a362ded8b35cbc75cf178fe6e0db62d0
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently, update combination alarm can specify itself in alarm_ids,
however, that will cause endless loop when evaluating this alarm.
This patch adds a check to disable such behavior.
Change-Id: I63b465c59fe39206ae04b0736482d1ffd7bf59c4
Closes-Bug: #1304419
(cherry picked from commit de8176fa736ffa9c4d6b0a57a8db2f58083f124a)
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Changes the units of the values returned for the network and disks data to
bytes as expected.
Closes-Bug: #1289015
(cherry picked from commit f55e3510bbee39d3101fcbf2283fc037c7a42c99)
Change-Id: If4950d05213a345900b3450c83450345e04560fc
|
|\ \ \ \ \ \
| |/ / / / /
| | | | / /
| |_|_|/ /
|/| | | | |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The Hyper-V inspector is currently returning the wrong metric values. The
current values are the aggregated ones, which is not correct in scenarios
in which instances have more than one nic.
Furthermore, values were taken from the
Msvm_EthernetPortAllocationSettingData, instead of
Msvm_EthernetSwitchPortAclSettingData.
(cherry picked from commit 01190ccee364dc061038ef7d8f3cc701c8d447ba)
Change-Id: I669ff52a1be2ee56bf69aa3b680ab42fdcaf1cb7
Closes-bug: #1289014
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change syncs the following patches from stable/havana oslo RPC:
- I67923cb024bbd143edc8edccf35b9b400df31eb3
- Ia148baa6e1ec632789ac3621c85173c2c16f3918
RabbitMQ: advance thru the list of brokers on reconnect
In RabbitMQ implementation, when using multiple rabbit_hosts, we don't want to
immediately retry failed connection for the same failed broker. This was not
the case in existing implementation though, where we've always attempted to
reconnect starting from the first broker in the list of candidates. So if the
first broker failed, we initiated reconnect to the same failed broker.
This change makes reconnect() implementation to select the next broker in the
list. This also means that non-failure reconnect attempts will also switch the
current broker. All in all, users should not rely on any particular order to
use brokers from the list, so this should not constitute an issue.
Qpid: advance thru the list of brokers on reconnect
In Qpid implementation, when using multiple qpid_hosts, we don't want to
immediately retry failed connection for the same failed broker. This was not
the case in existing implementation though, where we've always attempted to
reconnect starting from the first broker in the list of candidates. So if the
first broker failed, we initiated reconnect to the same failed broker.
This change makes reconnect() implementation to select the next broker in the
list. This also means that non-failure reconnect attempts will also switch the
current broker. All in all, users should not rely on any particular order to
use brokers from the list, so this should not constitute an issue.
Partial-Bug: #1261631
Change-Id: Icde6b3a1fa173be2a3ccc729b7ed739dd4f4aa11
|
| | |
| | |
| | |
| | | |
Change-Id: I2e0056a9c0514ed8697166827e5623e4cd3d913e
|
|\ \ \
| | | |
| | | |
| | | | |
into stable/havana
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change is already merged in oslo-incubator. Note that for
Ceilometer this is an Icehouse-specific patch since master has already
been updated to use the oslo.messaging library.
Original commit message body includes:
Porting this fix from oslo.messaging. This fixes the impl_qpid.py
driver to allow it to work with the latest stable upstream QPID broker
(version 0.28). See the Apache Qpid Jira bug
https://issues.apache.org/jira/browse/QPID-5557
Change-Id: If71f78e50f8a9b3acfd1e9d02c8271f17c4ebee7
Related-Bug: #1300318
(cherry picked from commit 096106f72fad5975bd0cb8ffa3447931c8fee9f5)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Swift is not available on PyPI, so use the tarball from master instead.
Change-Id: I1721804890423c242bb69697d2c42ca57d0871a4
(cherry picked from commit 28f6bee013c55ac9f4b4545293fd8849da45c961)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
oslo-incubator sync to address the security bug
in middleware (as below).
notifier middleware is capturing token and sending it to MQ. this
is not advisable so we should filter it out.
Change-Id: Ia1bfa1bd24989681db1d2f385defc12e69a01f8d
Closes-Bug: #1321080
|
| |
| |
| |
| |
| |
| |
| |
| | |
As new keystoneclient version was released, token now
requires 'expires' field to be set.
Change-Id: I57a7746d24b82763824a02ac3d02049b055288c7
(cherry picked from commit 5a78832251e8cdf2dfbcc8b3a24ad8c4e7e3439c)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, if we set alarm threshold value to 0, it will return 400
with threshold_rule/threshold is mandatory, which is not suitable.
This patch corrects the check to only fail if mandatory field is
not set or is None.
Change-Id: Id141937337435f41fa7c246d8f0485fdd3bb118b
Closes-Bug: #1313492
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I417ebd3e87ae9d4e2c207c59298a205554536fa0
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With the recent introduction of the identity_uri in keystoneclient,
there is a small backward incompatible change which means that weird
protocols like the ones we use during tests aren't support properly
anymore. The patch replaces "foottp" and "barttp" by "file" hopefully
keeping testing coverage the same.
Change-Id: Idb30ff3ee0ca50911e453899ad32e630f9b18724
Closes-Bug: #1309092
(cherry picked from commit e5b7606eaa94033256eb1aca5f6a6eed4f9e54a0)
(cherry picked from commit a1ec218d683e27434a5b085f1fbc7e3c13b60684)
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In an HA deployment, a 60 seconds delay between reconnects can be quite
problematic. This patch changes the delay calculation by setting the max
delay to 5s and by changing the way it is increased.
Unfortunately, this is one of the places where both our main drivers are
not consistent. Rabbit's driver uses configuration parameters for this
whereas qpid's driver has never had one. However, I would prefer not
adding configuration paremeters to qpid's driver for the following
reasons:
1. Most of OpenStack services depend on the messaging layer, hence
they need it to be available. A 5s delay seems to be reasonable and
I could argue the need of tune it further. Although so frequent
reconnects can add load to the network, that wouldn't be the main
issue if one of the brokers go down.
2. We're trying to move away from configuration options towards using
transport URL. This path is still not clear and I would
prefer avoiding adding new options until we clear it out.
Closes-bug: #1281148
Change-Id: I537015f452eb770acba41fdedfe221628f52a920
(cherry picked from commit 93471a2f3ee1bf4d41fa1a21375eaba3942b003a)
|
|/
|
|
|
|
|
|
|
| |
ceilometer migrations are failing in stable/havana build because
latest alembic release utilises code added in sqlalchemy>=0.9.2.
set upper bound for alembic to avoid issue.
Change-Id: Icc9e647d0c2ff418ead544fe671f3f2fe3c22da2
Closes-Bug: #1300105
|
|\
| |
| |
| | |
stable/havana
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The field name validation code runs only in case of the operator that is
specified for the invalid field name, is 'eq'. Otherwise the validation
ends with an invalid operator error. The field name validation code was
modified to check the field name first and only checks the operators for
valid field names.
Closes-bug: #1294628
Change-Id: Id34ae882940b36dec3ea81043b0d29b996a38426
(cherry picked from commit 50cffbc08f24ff8e3935aabecdf4be0fb366116d)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a untranslated error message pass through the translation pecan
hook, the previous translated error is send to the client.
This patch fix that by reseting the "translatable_error" of the
translation pecan hook before each request.
Conflicts:
tests/api/v2/test_app.py
Change-Id: Icee79cf09fd696655048c7c0cf8a3d6706e31701
Fixes: bug #1260398
(cherry picked from commit 02d017022bab577b581b58f42b468bf0b2c644a9)
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Rename is_timestamp_valid parameter to allow_timestamps and add
doc string to _validate_query and _validate_timestamp_fields
functions, related to the bugfix of bug 1280975.
Change-Id: I7c8564ce88d048e5b7d6d1e3c7109c5cb08e48f3
(cherry picked from commit bd3997c088710c741d3438a2cd98658f18e69e68)
|
|\ \ \
| | | |
| | | |
| | | | |
stable/havana
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds a default value if there are no cpu metrics to be retrieved.
Closes-Bug: 1249959
(cherry picked from commit f15e2cc9248c99e9b5c6b371ecce4f0ed49450cc)
Change-Id: I39513648ab25d46b2639b24a94e7344954ce3aeb
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Changed disk metric names used by Hyper-V utils.
Was using wrong metric names before. 'Aggregated Disk Data Read/Written'
metrics refers to all disks (sum), while the metrics needs to be per disk.
(cherry picked from commit 39c0ca654743513ab158fac399813a1a557ab61e)
Change-Id: I4ec36152a8b8147069151dd6eb98f36f7aab9229
Closes-Bug: 1250336
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ceilometer.conf.sample mismatch issue makes the tests failing. This patch
removes the checkupdate.sh test from tox.ini, like it was removed from nova
too, until having a proper solution for handling the changes in
ceilometer.conf.sample, to fix the gate quickly.
Closes-Bug: #1297999
(cherry picked from commit 63ff15ed95f71f5272c64b82ff148d35f75782d4)
Conflicts:
tox.ini
Change-Id: Ia638fb19ce25788a418b59509ec3527e643aac4e
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Before, each time a service that use ceilometer.publisher.rpc start this
annoying message appear because the default value is not the correct.
WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
WARNING ceilometer.publisher.rpc [-] Publishing policy is unknown (wait) force to default
This patch set the correct default (to default inteads of wait), and check in tests
that the expected logger method is called.
Fixes bug #1245965
Change-Id: I41b9461359c7b0b17eb8e9dad1772bafdc3554fc
(cherry picked from commit 30ecd2f76633b8854401c6254210aaa5a7920be0)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes bug 1292130
Ensure insecure (i.e. non-cert-verifying) access over SSL to
keystone works from the alarm evaluator
(cherry picked from commit eb14d7e80502f8b57f7c79f9120cf3f30f7e872b)
Change-Id: Ice009ad97ea540afede697e9d812f1bde877dd84
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes bug 1278973
Previously, the insecure flag was only propagated to the keystoneclient
while the cacert flag was only propagated to the keystoneclient and
the ceilometerclient used by alarming.
Since the glanceclient also supports these options, these flags should
be propogated to it also to avoid SSL cert verification failures when the
central agent calls out to glance over https.
Change-Id: I967ba080a4011a54b5789ca0fc20cb9a37dafb15
(cherry picked from commit b000317f670f635b00ca52a4539a0b83b14c8ff4)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There was a bug in AlarmThresholdRule in v2.py, the timestamp_keys
were defined with a missing comma:
['timestamp', 'start', 'start_timestamp' 'end', 'end_timestamp'].
The validation, if the timestamp field is used or not, was unclear
in the current implementation. A new parameter, 'timestamp_is_valid',
was added to the validation functions to show, if the timestamp is
allowed to use or not in the validated query.
Fixes bug 1280975
(cherry picked from commit b1834e55fce08f1536c7d9392ae035b9583be8ed)
Change-Id: I2aaef54354926f9afe3bb1d4fae8f8aa0ae600ab
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
related to bug 1266472 which changes client to look only at os_cacert arg.
update alarm services to use just os_cacert as well.
Change-Id: Id28a0838330296fe030fa7c4a35a216dd3e64bad
Closes-Bug: #1266477
(cherry picked from commit 89f9b3049ac7a395c470f8d323b44e8128e5b1b2)
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| | |
Change-Id: I05cea4c79ad89d2c55008ea0d7ba9eefa5908fa2
Closes-Bug: #1232437
(cherry picked from commit d48b4a3a4e5d0b80c3644844e0f1c8e3806c78d6)
|
|/
|
|
| |
Change-Id: Ia5b940faf01df6cae58df1f4b4f5e8fa2f3f078a
|