summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add support for client redirecting to aodh endpoint if availableliu-sheng2015-07-226-60/+259
| | | | | | | | | | | | | | | | | | | | | | | | Currently, alarm module of ceilometer has been decided to be splitted out of ceilometer tree. To keep compatibility for others upstream users (such as Heat), we need to redirect alarm related request to aodh endpoint. Change-Id: Id13b56eef55f807d5ad2026f225c93fd5585521e
* | | Updated from global requirementsOpenStack Proposal Bot2015-07-173-4/+4
|/ / | | | | | | Change-Id: Id3a143b5253364ee2ef24f9541aa6a9b80be066d
* | Updated from global requirementsOpenStack Proposal Bot2015-07-121-1/+2
| | | | | | | | Change-Id: I531995955a4ec9e873ecf588081e64d4538d6ade
* | Fix unit tests failing caused by new Mock releaseIlya Tyaptin2015-07-101-6/+11
| | | | | | | | | | | | | | | | Since the mock 1.1.1 calling of function 'assert_called' and 'assert_called_once' raises the AttributeError. In current patchset calling of these functions is fixed Change-Id: I5c21bb3f6cfd8cc095a277ead80794e97bb63c72
* | Merge "Typo: Show an sample => Show a sample"Jenkins2015-07-091-1/+1
|\ \
| * | Typo: Show an sample => Show a sampleaviau2015-06-251-1/+1
| |/ | | | | | | Change-Id: I17ca56142870313681c8ae9410db4173c2946f65
* | Updated from global requirementsOpenStack Proposal Bot2015-07-031-2/+2
| | | | | | | | Change-Id: I5a07eaba496e7b7883980e536d17e283b2c14f88
* | Merge "Add alarm severity in alarm-history output"Jenkins2015-07-032-1/+2
|\ \
| * | Add alarm severity in alarm-history outputRohit Jaiswal2015-06-242-1/+2
| |/ | | | | | | | | | | | | | | | | | | | | Info about alarm's severity is missing from the detail column for creation and deletion type of alarm-history call. This fix adds that. Change-Id: I669126596ef7391530e7822c2807ffca7c6a1de1 Closes-Bug: 1468295
* | Merge "Change default values from [] to None"Jenkins2015-07-012-2/+6
|\ \
| * | Change default values from [] to NoneRoman Vasilets2015-06-252-2/+6
| |/ | | | | | | | | | | | | | | | | Its well known fact that python default values initialized only once at the stage if creation function. So if we call function with parameter foo=[] as default value and change foo.append("bar") at the next call of the function default value would be ["bar"]. It will save. Change-Id: Iba9e55bc2d4dfd811ce7d068b6a9cceae7c000d6
* | Updated from global requirementsOpenStack Proposal Bot2015-06-223-11/+10
|/ | | | Change-Id: I7a95daf415f1583f52e9d980f3089d04a5578c13
* Merge "Explicit error for wrong resource metadata format"1.3.0Jenkins2015-06-182-1/+16
|\
| * Explicit error for wrong resource metadata formatliu-sheng2015-06-172-1/+16
| | | | | | | | | | | | | | | | | | When creating sample with wrong resource metadata format, Ceilometer CLI will return a ValueError about json decoding, this change provide a more explicit error info. Change-Id: I18e757ddb319fbf0ffad13c07528355785ea5e9a Closes-Bug: 1465193
* | Removes whitespace from CLI queriesRohit Jaiswal2015-06-162-1/+15
|/ | | | | | | | | | Strips leading and trailing whitespaces from CLI query field and value parameter before building url. Closes-Bug: 1464694 Change-Id: Ibe99747e22afe05eee187d59aaf0603f58e91373
* Add capability for creating array of samplesAleksey Ripinen2015-06-084-0/+105
| | | | | | | | | | Added method for creating array of samples to samples manager. Added shell command for creating array of samples. Added tests for this changes. It is made for Rally tests that use big data arrays. So now only one function may be called instead of numerous calls simple create function. Change-Id: I01ba4f0c0db40c95ef72dadaa34b3fafc034e417
* Merge "Updates examples to reference new sample format"Jenkins2015-06-051-3/+3
|\
| * Updates examples to reference new sample formattuathail2015-04-131-3/+3
| | | | | | | | | | | | | | | | | | The list function for the new Sample Manager no longer takes a meter_name parameter. It must be submitted as part of the query. The changes reflect the new format. Change-Id: I2c9346ce605b3f576a761f6162a5dcf49e4686ee Closes-Bug:1443383
* | Updated from global requirementsOpenStack Proposal Bot2015-06-041-1/+1
| | | | | | | | Change-Id: Idb02aa4735d48985c24eb3f8839ce9e1f9685c2d
* | Merge "Catch missing 404 exceptions in client"Jenkins2015-06-033-6/+16
|\ \
| * | Catch missing 404 exceptions in clientJuan Antonio Osorio Robles2015-05-183-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever an entity wasn't found, the ceilometerclient would issue a NotFound exception. Which is fine, except that it's not the exception that was being expected in the client at all. This exception was defined in the apiclient in the openstack/common directory. So, instead this exception is now being caught in the manager, and now the appropriate exception is being raised. There were some functions where, if the entity was not to be found, a 404 exception would be raised, which was never caught by the client since it was expecting the function to return None, instead of raising. This CR fixes that. Closes-Bug: #1451833 Change-Id: I47b34af2df9c85f86ba1f7f4d7b2951f8d27f96c
* | | Merge "Drop use of 'oslo' namespace package"Jenkins2015-06-037-10/+10
|\ \ \
| * | | Drop use of 'oslo' namespace packageDoug Hellmann2015-06-037-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Oslo libraries have moved all of their code out of the 'oslo' namespace package into per-library packages. The namespace package was retained during kilo for backwards compatibility, but will be removed by the liberty-2 milestone. This change removes the use of the namespace package, replacing it with the new package names. The patches in the libraries will be put on hold until application patches have landed, or L2, whichever comes first. At that point, new versions of the libraries without namespace packages will be released as a major version update. Please merge this patch, or an equivalent, before L2 to avoid problems with those library releases. Blueprint: remove-namespace-packages https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages Change-Id: I1f539cf9f5d6f48e10cac381c13eeb5fa314abd4
* | | | Merge "[unittest] Increase client and shell modules cover"Jenkins2015-06-033-13/+339
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | [unittest] Increase client and shell modules coverIlya Tyaptin2015-05-113-13/+339
| | | | | | | | | | | | | | | | | | | | | Add tests to increase unittest coverage of ceilometerclient.client, ceilometerclient.shell, ceilometerclient.v2.shell. Change-Id: I83a64ee31d6068a5903ef85ec85d5780828a24d7
* | | Merge "move capabilities ut code to unit dir"Jenkins2015-05-291-0/+0
|\ \ \
| * | | move capabilities ut code to unit dirZhiQiang Fan2015-04-231-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The unit test code for capabilities command are left alone, it should be under unit directory Change-Id: I6c9d4e75b44aeba8bd5e79b3c9cf531b928499b8
* | | | Merge "Use oslo_utils instead of deprecated oslo.utils"Jenkins2015-05-294-5/+5
|\ \ \ \
| * | | | Use oslo_utils instead of deprecated oslo.utilsDina Belova2015-05-114-5/+5
| | |/ / | |/| | | | | | | | | | Change-Id: Ie4c55f33d18294924701032031cf78539ee3b23b
* | | | Pass OS_* env vars fix for tox 2.0Pradeep Kilambi2015-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | unwedge the gate due to tox 2.0 limitation on passing in env variables Change-Id: I062255d708c57c4bf9fbc60cf0c0bec10608f6d7
* | | | Merge "Updated from global requirements"Jenkins2015-05-121-1/+1
|\ \ \ \
| * | | | Updated from global requirementsOpenStack Proposal Bot2015-05-071-1/+1
| |/ / / | | | | | | | | | | | | Change-Id: Id44d7f56aa13bb6f496ef6883a6c6df89cecfce6
* | | | Fix alarm-evaluator can't start when ssl was enabledLan Qi song2015-05-111-3/+3
|/ / / | | | | | | | | | | | | Change-Id: I8cd3f3c7e745107ad4e0cbed7ebdd247a34fbbbd Closes-Bug: #1453061
* | | Merge "Added missing ceilometer CLI tests"Jenkins2015-05-071-5/+42
|\ \ \
| * | | Added missing ceilometer CLI testsraiesmh082015-04-141-5/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds following missing Ceilometer CLI tests - 1. help 2. bash completion In addition to this following optional arguments are also verified. 1. --debug It also modifies existing code to check outputs of different tests. Earlier these were uploaded under - https://review.openstack.org/#/c/100190/ Change-Id: I2a00918e4ecbaac7d08f07ebaaa587dde7d8eee5
* | | | Updated from global requirementsOpenStack Proposal Bot2015-05-062-3/+3
| | | | | | | | | | | | | | | | Change-Id: I94e24e6d2248d9e2febb53543c8af359d3cd9cfc
* | | | remove useless event unit test codeZhiQiang Fan2015-05-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In v2.test_shell.ShellEventListCommandTest, we specify traits twice, the first one should be removed. Change-Id: Iedd7c6161165816b9e76c44ef0f2ae6bf6016204
* | | | Merge "Allow changing project-id and user-id by alarm-threshold-update"Jenkins2015-05-042-4/+7
|\ \ \ \
| * | | | Allow changing project-id and user-id by alarm-threshold-updateJiří Suchomel2015-04-292-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ceilometer alarm-threshold-update should support updating project-id and user-id, but the update function was silently ignoring changes of these options. Change-Id: I33231bff44b90f3c58e5ef1646349b6dc63a3ce7 Closes-Bug: 1395932
* | | | | show raw details of eventgordon chung2015-04-221-1/+1
| |_|/ / |/| | | | | | | | | | | | | | | | | | | add ability to show raw details of event. Change-Id: I7068eed3647b7068d3286d3d205ed4c9f4372122
* | | | Merge "update README.rst to help release process"Jenkins2015-04-211-4/+12
|\ \ \ \
| * | | | update README.rst to help release processgordon chung2015-04-161-4/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | the release tools expect certain values to exist in README so it can update launchpad accordingly. Change-Id: I200b11bbfb192a105db661d97022433447a305bc
* | | | Merge "Uncap library requirements for liberty"1.2.0Jenkins2015-04-172-5/+5
|\ \ \ \
| * | | | Uncap library requirements for libertyDoug Hellmann2015-04-162-5/+5
| |/ / / | | | | | | | | | | | | | | | | Change-Id: Ia4add1c625074586380e756699dbdc0c820aed54 Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
* | | | Merge "print user friendly error message for alarm update time constraints"Jenkins2015-04-162-2/+20
|\ \ \ \ | |/ / / |/| | |
| * | | print user friendly error message for alarm update time constraintsZhiQiang Fan2015-04-022-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, if we update an alarm with wrong time constraint which doesn't get name defined, then the shell only prints a very simple string 'name'. This is because our code assume name field has always been specified, however it is not true, then KeyError exception will be raised but not handled well, finally user only gets an implicit message. This patch uses dict.get() for name field, and sends request (may be broken) to ceilometer api, then extracts error message from response. Change-Id: I086c4ec790acc22767ba7f5e43dbcf73f3af5dff Closes-Bug: #1439207
* | | | Merge "Add CLI for Capabilities REST API"1.1.0Jenkins2015-04-165-0/+145
|\ \ \ \
| * | | | Add CLI for Capabilities REST APIZhiQiang Fan2015-04-045-0/+145
| |/ / / | | | | | | | | | | | | | | | | | | | | Implements blueprint capability-cli Change-Id: I23fe9c0bc9c27e04e3e0133fc84da7cf1f87321f
* | | | Add timeout for keystoneclient sessionZhiQiang Fan2015-04-143-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we only apply timeout on ceilometer api, but not on keystone api as well, this is not consistent. Keystone api may be slow, or worse, stuck, then ceilometerclient will not return timely. This issue has caused availability problem in our environment when ceilometer alarm service has been running for a long time. Change-Id: I0d5f82ff9cf4132a1de2f0b649908483326e116e Closes-Bug: #1436249
* | | | add region_name to auth plugin parametersZhiQiang Fan2015-04-142-0/+3
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | If endpoint is not specified, then auth plugin will request to keystone to get target endpoint, however, we don't provide region name for it, this will cause critical issue in multiple region scenario. Change-Id: I99ceafec25072988435018ca1affbd778ca9b22f Closes-Bug: #1439553