| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cap oslo.messaging to 5.17.1, the latest version has been deprecated
notifer 'topic' which takes issues in ceilometer mitaka version.
add tempest to test-requirements.txt
Closes-Bug: #1573654
(cherry picked from commit be8c615bb0e8a30275e31cc2221213d70eb9611d)
Cap tempest to 12.2.0 as the call_until_true has been deprecated after
13.0.0.
test.call_until_true has been deprecated since Newton on Tempest side,
and now Tempest provides test_utils.call_until_true as the stable
library method. So this patch switches to use the stable method before
removing old test.call_until_true on Tempest side.
(cherry picked from commit d46c28b30c10fd1f6718add98be9cfc8682b3f8b)
Change-Id: I7e18b14c6dcfc21e47b0e90ebd2fc17936377c25
|
|
|
|
|
|
|
|
|
|
|
|
| |
devstack/tempest removed cirros ami image for qcow image[1][2]. this changes
suffix of file. this patch generically looks for first cirros match and
disregards suffix
[1] https://review.openstack.org/#/c/338435/
[2] https://review.openstack.org/#/c/338377/
Change-Id: Iefcfe839916e0501cd82daa6f538b440a8d8ee96
(cherry picked from commit a622ab3013f2cfab4fa2d2725e745e88dca5fb55)
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit dea42810ef9f29c5ede0076bfd4d2788235bcbd3.
this patch was never backported to newton and was handled alternatively
by I6cc9dbfa0f25736cf8f01af24255a6f45ae2dd9b
this adds webob cap in it's place.
Change-Id: I6b12b9e1109938a6b4afea9f0f211338a192bdde
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
novaclient 7.0.0 and oslo.vmware 2.17.0 have removed some backward
compat thing.
(like interface renamed endpoint_type)
So we cap them.
NOTE: don't cap WebOb < 1.7.0 since we backported
I07790b2a270fd4dc4ca95e95b01fbd41b4c43cf3
Closes-bug: #1659098
Change-Id: I6cc9dbfa0f25736cf8f01af24255a6f45ae2dd9b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change have introduced an issue, when the libvirt unix socket
is created after Ceilometer start. The pollster is disabled when
it should wait that libvirt come up.
The intent of the original bug was only to have a cosmetic logs
when the configuration file is wrong.
Also I don't see a safe way to disable the pollster when we can't
connect to libvirt, the reason is always unknown from Ceilometer PoV.
This reverts commit d17e75d2675c1acf09adc27249b1e968450c5229.
Closes-bug: #1649921
Change-Id: I63479d19fcf4a99fb198859c2e6ae370ff0e24e1
(cherry picked from commit 72b5a1e2bc9f4fc3f551a41aa0e40cd59f8ab5c9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Fix expecting content-type headers in gabbit tests, the headers don't
contain the charset anymore, just remove it.
2. Use 'endpoint_type' instead of 'interface' while init novaclient,
because novaclient has deprecated the name 'interface', see[1].
3. Don't use novaclient.HTTPClient, since the 'HTTPCLient' has been
deprecated in novaclient, see[2].
[1] https://review.openstack.org/#/c/406299/
[2] https://review.openstack.org/#/c/408728/
Closes-Bug: #1652414
Change-Id: I07790b2a270fd4dc4ca95e95b01fbd41b4c43cf3
(cherry picked from commit 23acafbd9ddaff65b927fc2cbad33b9ed3f118b0)
Co-Authored-By: Julien Danjou <julien@danjou.info>
Co-Authored-By: liusheng <liusheng@huawei.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since I84e3be748af10b158037866e1ee4c1375b2c3541, the internal method
_error_checker() is changed and the ceilometer gate is broken.
This patch fixes it.
(cherry picked from commit e6ff08801ca34536680b43ca896f0dfdf66c761f)
something changed and expected logs are in stdout rather than stderr
even though it does makes sense as stdout. i have no idea why it
was writing to stderr earlier when it shouldn't have.
Related-Bug: #1635042
(cherry picked from commit 1695b4774e69e032151a47e0435b7af72826e5b6)
The API changed and the Ceilometer driver does not work anymore with it.
Related-Bug: #1613419
(cherry picked from commit 2b6fb87180dbedcd0a60323b587ecd8eec535d7b)
Change-Id: Ifaa1e02f5bc30725124d581c9127713260f755dc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note: The bug isn't present in master because it is fixed as a side
effect of the patch that is cherry-picked here. Still it seems better to
use this code than to come up with a dedicated bug-fix patch.
Closes-Bug: 1604328
Change-Id: I47cd14fb6c06ea2c83adab987a0442ef9bd3f404
(cherry picked from commit c262389819cc31c9b87ca5207a809fb2aa1ac882)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use trust URLs when testing autoscaling integration with Heat.
This is a partial cherry pick to continue to test the signature based
url on mitaka.
Depends-On: Ic5edb144eac3a4b30b9835bf251f25f65b8c29b5
Change-Id: I6aa5d1e3d79d27fcfb75854b11ccfb5012d5313e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we fixes #1364708, this was worked only when store_event=True.
This change fixes the issue when store_event=False.
Change-Id: I6748397718be03e3f93ae2ccaa99642decdd9745
Related-bug: #1364708
(cherry picked from commit a3eb0fafadcdcbb8f48f3db13ffc103717bae99b)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
lbaas/loadbalancers and lbaas/listeners are not supported in v1 lbaas
extension [1]
1. http://developer.openstack.org/api-ref-networking-v2-ext.html#lbaas-v1.0
Change-Id: I09dd0b5d98794ee773e010382f59fedb04123ff7
Closes-Bug: #1599482
(cherry picked from commit 46e0d65f545dc0f463b7eb47c7203120b7965ff0)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This avoids creating the full table of the old Ceilometer alarms stuff on fresh
install, while upgrade will just ignore them.
Change-Id: I06f825d9a65da46fb7c30fd07c706ee018098b83
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It's actually Text, not String, as correctly written in migration
scripts.
This fixes an error on MySQL as String is converted to VARCHAR which
requires a length.
Change-Id: I5f5d7902c647ba0b7a214bca21d0df1cc96fc57c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, the query is checked against the `eq' operator, which is
wrong. The SQLAlchemy driver code only implements one operator, which is
gt/ge/eq depending on the field. This patches fixes that correctly in
the API.
Change-Id: Id15c512d24e5097ebc68bd8e5f109ff5e6b9a65a
(cherry picked from commit 36df404e4202a821110e19bc8db554120ea1b7ae)
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
some methods don't have log decorator, which cause unnecessary
exception message in log when resource not found.
Change-Id: Id1490262c99af43d4a7116f360c5eafaa9b50780
(cherry picked from commit ed9a697cd663249040ceb11a7d6cca7e36a12633)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Ceilometer tempest tests have been moved to plugin but config options
were renamed as same were registered by Tempest also.
Now Tempest is removing ceilometer tests and related config options
- I0775bcc15dc9cbae6e075fe92f44b5f6c9b9d5d2
we need to fix their name back to original one to avoid backward incompatibility.
Congress use those in ceilometer integration tests and will break if we
do not rename those back to original one.
Change-Id: Id10cd260d12eba5b4f4d7798dee64fc62a92eb1c
Depends-On: I0775bcc15dc9cbae6e075fe92f44b5f6c9b9d5d2
|
| |/
|/|
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I60148a970406737b3d979ede335a03ed4ec1cc14
|
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, the logging is only done when measures are posted on retry. If it
works on the first call, no logging is done. This can be confusing for users
that try to debug the Gnocchi dispatcher.
Change-Id: Ife7879fe0c153cec1a79c7d57529fda82b7b7c16
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now the gate test of ceilometer is broken, because the ceilometer test
is using nonstable tempest interfaces and these interfaces are changed.
QA team defines interfaces which are not under tempest.lib as unstable
clearly according to
https://github.com/openstack/tempest/blob/master/doc/source/library.rst#stability
So current test way is against the QA policy, so here is a workaround.
Copy&paste is not good, almost wrong. However, if still continuing the
tests, it would be a nice option to copy&paste and pass the gate test.
After QA team defines stable interfaces, that is a nice time to switch
using the stable interfaces with removing this copy&paste code.
Closes-Bug: #1589426
Depends-On: I3abd9049560ee507b3610ab482c697a239f13a3b
(cherry picked from commit 6c0b97b1e6fc03bdf84bf9b888761bd22ea0ad58)
+
When running gabbi under testr, concurrency grouping is controlled
by a regex in .testr.conf. A module name change in gabbi 1.22.0
inadvertently broke the grouping. This change should work for
old and new versions.
(cherry picked from commit 8fcbc8de4ea878bdec1ef8754eaf965e176854b3)
Change-Id: I30266f1b690ea105511d9b1162755bcc85e2e69a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
new oslo.messaging 5.2.0 release will raise
oslo_messaging.transport.DriverLoadFailure if no existent transport
driver, hence breaks our code and unit test as well.
This patch fixes it by adding DriverLoadFailure to catch list.
Also:
tempest: import ImagesClient as ImagesClientV2
This commit [1] renamed ImagesClientV2 to ImagesClient so Ceilometer
Tempest tests do not work anymore.
[1] https://github.com/openstack/tempest/commit/2fea405bd6ea8674c8daaf8ebb788ae33d52c976
Change-Id: I02b5d1b3f4a9169cbf428a5eff9c6705494741af
Closes-Bug: #1588151
(cherry picked from commit d7f8ce94e433da8af3660ecf52715a04c221fde5)
(cherry picked from commit f6b2406fffdd4deae508b9f251691fe9b70cb1ee)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently swift pollsters only poll data from first region, which
is bad for multiple regions scenario.
This patch enables poll swift data for specific region. And improves
log message and promotes the log level to INFO, now it looks like:
Swift endpoint not found: public endpoint for object-store
service in RegionTwo region not found
Change-Id: Ifffb33ba1174a1a54f0ce1c4614bcd35d57ea4c3
Closes-Bug: #1584364
(cherry picked from commit 1610935ee3c00105df0e3038d249301e4627c381)
|
|/ /
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I5e06b8fa21b79beedfd68b7668c9470be4c9244c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since [1], 'telemetry' service does not exist and Tempest plugin is now
broken:
InvalidServiceTag: Invalid service tag
Details: telemetry is not a valid service
This patch update the test_object_storage_telemetry_middleware test to
match with the Tempest cleanup.
[1] https://github.com/openstack/tempest/commit/e4796f8de446aaaafa83902d1fb2d613331436cf
Change-Id: I2ae71b722826a4e377a4926c943d1dbce3b1ed9f
(cherry picked from commit aa32401c32ab41ec202ab8a440e22046e8c827c4)
|
| |
| |
| |
| | |
Change-Id: I07d21892a14818a6cef459ef0d73e3d7ee877987
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to https://github.com/openstack/neutron/blob/master/neutron/plugins/common/constants.py
there are more status values than the list we currently use, we
should update it, otherwise volume will be default -1
Note: update unit test code because we recognize new status now.
Change-Id: Ic6a42fb8a77c6e4fa7ce41cb16ab021cf77f567c
(cherry picked from commit c6022ffcee8a202aebda41681e3b32321fbbed85)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Recently, oslo.messaging does a refactor [1] which causes
get_batch_notification_listener returns a new type
BatchNotificationServer instead of previous MessageHandlingServer,
they have different attributes, so our test code which relies on
MessageHandlingServer fails in CI gate.
This patch makes test code not rely on oslo.messaging details.
[1] https://github.com/openstack/oslo.messaging/commit/990d894eaf0d18941b56d89bff2bca51de375640
Conflicts:
ceilometer/tests/functional/test_notification.py
Change-Id: Id588bb4c22ac819617c87de021cdf580c4e0d0f5
Closes-Bug: #1580930
(cherry picked from commit 23d5c9f648d8352aa205fbe46ba9796a5424874f)
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Closes-Bug: #1570468
Create the single notification pipeline listener and to aggregate
targets and endpoints in it.
In this implementation the incoming notification msg will be dispatched
in a relevant endpoint by its own filter rule based on publisher id
of a notifier, which sent this message.
Each pipeline notifier has a conforming publisher id based on
a pipeline name in which it to produce messages.
Change-Id: If8c1c6838fd291ef8dbdd4d27c78fe5a36522178
(cherry picked from commit 726b2d4d67ada3df07f36ecfd81b0cf72881e159)
|
|/
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I7ce09e36757c6da5e3e37fb38f8a2cbb449ae9d2
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I292454c7a9e46ee4003c6754fe8dc873af810037
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I917d447a35c5d33e04fcf1bb37e62a6d6c73e6ea
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ifa2e9b27ef86f18b0d45fd6d49f1ccdc0ea6ba6c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current default allows to lose data very easily: if the dispatcher
fails to send data to the backend (e.g. Gnocchi is down), then the
dispatcher raises and the data are lost for ever. This is completely
unacceptable, and nobody should be able to configure Ceilometer in that
way.
This patch entirely remove that option, and switch the behavior to
something sane.
Change-Id: I45cb3da84eb2a785f46b3ec676c1a052ce999206
(cherry picked from commit 40684dafae76eab77b66bb1da7e143a3d7e2c9c8)
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I3bbd06e99f8b1fbee5f7771ef8f82e642fc4816f
|
|
|
|
|
|
|
| |
add adoh_abot() when query.QueryAlarmsController() is deprecated.
Change-Id: I6098f1949604a03aa4c2e36562519fd4792f4b13
Closes-Bug: #1562740
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ia4a1f7c6682692b039e74681a1991e04449fb498
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ifad726ddee1a63e93ef27e2dc81802a1e5d3afdc
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ia3d34251acb20b83bb89f446caa40a928c277a7d
|
| |
| |
| |
| |
| |
| |
| | |
we converted them to declarative format so the entry_points don't
exist anymore
Change-Id: I46837133ff9c400e8a5dd52434993d7a94463d3d
|
|/
|
|
|
|
|
|
|
|
|
| |
The content-location header is an artifact of using httplib2
and not something that ceilometer itself returns. Gabbi is going
to stop using httplib2 (and so is much of OpenStack) so to prepare
for that these tests need to stop testing something that doesn't
really mean anything.
Change-Id: If5aacaf108402146d66fee474793dde1c0a59a7c
(cherry picked from commit 639b9476bd8554bee93512a81ae24605c766f080)
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ida9ea92f99300f1ff3dd88622165ee014da19c32
|
|
|
|
| |
Change-Id: I09906dd9dea3d42534666e0231c9840b5aede475
|
|\ |
|