summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add tempest and cap oslo.messaging/tempest versionmitaka-eol6.1.5stable/mitakahanxi.liu2017-03-313-6/+9
| | | | | | | | | | | | | | | | | | | | | | 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
* match generic cirros namegord chung2017-02-151-1/+1
| | | | | | | | | | | | 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)
* Revert "Fix the gate failure because of several issues"gordon chung2017-02-029-32/+39
| | | | | | | | | | | 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
* cap python-novaclient/oslo.vmware/gabbiMehdi Abaakouk2017-02-022-2/+2
| | | | | | | | | | | | | | | 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
* Revert "Add hypervisor inspector sanity check"6.1.4Mehdi Abaakouk2017-01-045-49/+0
| | | | | | | | | | | | | | | | | | 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)
* Fix the gate failure because of several issuesHanxi Liu2017-01-038-38/+31
| | | | | | | | | | | | | | | | | | | | 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>
* fix mitaka gate grab baggord chung2016-12-154-15/+22
| | | | | | | | | | | | | | | | | | | | | | 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
* Merge "Refactor floatingip pollster to use discovery" into stable/mitakaJenkins2016-08-104-46/+38
|\
| * Refactor floatingip pollster to use discoveryPradeep Kilambi2016-07-194-46/+38
| | | | | | | | | | | | | | | | | | | | | | 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 trusts in Heat integration testThomas Herve2016-08-041-1/+8
| | | | | | | | | | | | | | | | | | | | 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
* | consumes error notif. when event are disabledMehdi Abaakouk2016-08-021-0/+13
| | | | | | | | | | | | | | | | | | | | 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)
* | Check lbaas version if call is v2 specificLaszlo Hegedus2016-07-212-8/+20
| | | | | | | | | | | | | | | | | | | | | | 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)
* | Merge "sqlalchemy: do not run upgrade on fresh install" into stable/mitaka6.1.3Jenkins2016-07-203-6/+46
|\ \
| * | sqlalchemy: do not run upgrade on fresh installJulien Danjou2016-07-193-6/+46
| | | | | | | | | | | | | | | | | | | | | This avoids creating the full table of the old Ceilometer alarms stuff on fresh install, while upgrade will just ignore them. Change-Id: I06f825d9a65da46fb7c30fd07c706ee018098b83
* | | sqlalchemy: fix JSONEncodedDict implementation typeJulien Danjou2016-07-191-1/+1
|/ / | | | | | | | | | | | | | | | | | | 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
* | events: fix operator check in event filter6.1.2Julien Danjou2016-07-121-2/+14
| | | | | | | | | | | | | | | | | | | | 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)
* | Merge "add log decorator for neutron_client public method" into stable/mitaka6.1.1Jenkins2016-07-041-0/+6
|\ \
| * | add log decorator for neutron_client public methodZhiQiang Fan2016-06-301-0/+6
| |/ | | | | | | | | | | | | | | 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)
* | Merge "Fix Ceilometer tests config options" into stable/mitakaJenkins2016-07-045-7/+7
|\ \
| * | Fix Ceilometer tests config optionsghanshyam2016-04-185-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Imported Translations from ZanataOpenStack Proposal Bot2016-07-013-0/+446
| |/ |/| | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I60148a970406737b3d979ede335a03ed4ec1cc14
* | dispacher/gnocchi: measures sent fix logging6.1.0Julien Danjou2016-06-171-2/+2
| | | | | | | | | | | | | | | | 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
* | Copy images_client from tempest + Correct concurrency of gabbi 1.22.0Ken'ichi Ohmichi2016-06-179-4/+1038
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | catch DriverLoadFailure for get_transport optionalZhiQiang Fan2016-06-032-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Merge "enable swift pollsters poll data for specific region" into stable/mitakaJenkins2016-05-261-3/+5
|\ \
| * | enable swift pollsters poll data for specific regionZhiQiang Fan2016-05-241-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | Imported Translations from ZanataOpenStack Proposal Bot2016-05-2022-1423/+348
|/ / | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I5e06b8fa21b79beedfd68b7668c9470be4c9244c
* | tempest_plugin: drop telemetry decoratorEmilien Macchi2016-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Updated from global requirementsOpenStack Proposal Bot2016-05-182-3/+3
| | | | | | | | Change-Id: I07d21892a14818a6cef459ef0d73e3d7ee877987
* | Merge "[Trivial] Update Neutron resource status list" into stable/mitakaJenkins2016-05-174-5/+10
|\ \
| * | [Trivial] Update Neutron resource status listZhiQiang Fan2016-05-164-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | fix CI failure due to oslo.messaging 5.0.0ZhiQiang Fan2016-05-131-18/+34
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Merge "Fix notification listeners usage" into stable/mitakaJenkins2016-05-093-59/+84
|\ \
| * | Fix notification listeners usageKirill Bespalov2016-05-033-59/+84
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Imported Translations from ZanataOpenStack Proposal Bot2016-04-2110-138/+133
|/ | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I7ce09e36757c6da5e3e37fb38f8a2cbb449ae9d2
* Imported Translations from ZanataOpenStack Proposal Bot2016-04-051-8/+5
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I292454c7a9e46ee4003c6754fe8dc873af810037
* Imported Translations from ZanataOpenStack Proposal Bot2016-03-312-6/+12
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I917d447a35c5d33e04fcf1bb37e62a6d6c73e6ea
* Imported Translations from ZanataOpenStack Proposal Bot2016-03-303-11/+112
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ifa2e9b27ef86f18b0d45fd6d49f1ccdc0ea6ba6c
* collector: never allow to lose data6.0.0.0rc36.0.0Julien Danjou2016-03-293-65/+21
| | | | | | | | | | | | | | 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)
* Imported Translations from ZanataOpenStack Proposal Bot2016-03-292-18/+25
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I3bbd06e99f8b1fbee5f7771ef8f82e642fc4816f
* abort alarms URLs when Aodh is unavailable6.0.0.0rc2PanFengyun2016-03-281-1/+8
| | | | | | | add adoh_abot() when query.QueryAlarmsController() is deprecated. Change-Id: I6098f1949604a03aa4c2e36562519fd4792f4b13 Closes-Bug: #1562740
* Imported Translations from ZanataOpenStack Proposal Bot2016-03-251-7/+61
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ia4a1f7c6682692b039e74681a1991e04449fb498
* Imported Translations from ZanataOpenStack Proposal Bot2016-03-231-4/+94
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ifad726ddee1a63e93ef27e2dc81802a1e5d3afdc
* Merge "Imported Translations from Zanata" into stable/mitakaJenkins2016-03-221-3/+11
|\
| * Imported Translations from ZanataOpenStack Proposal Bot2016-03-221-3/+11
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ia3d34251acb20b83bb89f446caa40a928c277a7d
* | remove dns and trove from entry_pointsgordon chung2016-03-221-2/+0
| | | | | | | | | | | | | | we converted them to declarative format so the entry_points don't exist anymore Change-Id: I46837133ff9c400e8a5dd52434993d7a94463d3d
* | Remove gabbi tests that check content-locationChris Dent2016-03-223-37/+0
|/ | | | | | | | | | | 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)
* Imported Translations from ZanataOpenStack Proposal Bot2016-03-214-4/+522
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ida9ea92f99300f1ff3dd88622165ee014da19c32
* Update .gitreview for stable/mitakaDoug Hellmann2016-03-201-0/+1
| | | | Change-Id: I09906dd9dea3d42534666e0231c9840b5aede475
* Merge "Imported Translations from Zanata"6.0.0.0rc1Jenkins2016-03-197-24/+608
|\