| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Remove six.moves Replace the following items with Python 3 style code.
- six.moves.urllib
- six.moves.xrange
- six.moves.range
urlparse instead of url_parse
Change-Id: I2a66e69d7c1401d0bbdb9d8e8b0a7b5400aee6d2
|
|
|
|
|
|
|
|
|
|
|
| |
stestr is recommended by OpenStack Project Testing Interface for running tests
[1]. This change migrates to stestr for running unit tests and coverage
job. Modified `cover` env allows running it as Zuul job and visualising
its results in Gerrit.
[1] https://governance.openstack.org/tc/reference/pti/python.html#python-test-running
Change-Id: I9e8b79d7a18cd36946daff10abb1a2f43b1aa3a1
|
|
|
|
| |
Change-Id: I6b262dd440a72f25662b64d938ab9e5328709a97
|
|
|
|
|
|
|
| |
This removes the deprecated Gnocchi dispatcher and replaces it by its
equivalent publisher.
Change-Id: Ie44baf20ccb8de5794f5f0c3d4717f7e56afa63b
|
|
|
|
| |
Change-Id: I679c8a31864f88420f2e415ab032138c33a8bf56
|
|
|
|
|
|
| |
not referenced since kilo
Change-Id: Ie55e3a4b2b78df9239cc89b3c146145e01479ac6
|
|
|
|
|
|
| |
This now has been moved to Panko.
Change-Id: I179eb0d436752e3bb8abaed714664cf74f5615e6
|
|
|
|
| |
Change-Id: I321a957fc28129c2147d5893bbeaa5afe63daa39
|
|
|
|
|
|
|
|
| |
It removed the ceilometer tool show_data.py since it is not
usable.
Change-Id: I8230c3b7f4c14ec406df713b4a0bbb329fe6d66f
Closes-Bug: 1637056
|
|
|
|
| |
Change-Id: I97840aa9d1249deeba91dcdb6a5d23eca2fecdf1
|
|
|
|
|
|
|
|
|
| |
The "topic" parameter of the __init__method of Notifier has been
deprecated and will be removed. see change[1].
[1] Id89957411aa219cff92fafec2f448c81cb57b3ca
Change-Id: If41b0aa4f9afc90d049063bf509723c3a8295db7
|
|
|
|
|
|
| |
They are never used, we directly use print instead.
Change-Id: Ia0d94026e0e514ab5a56675e162f98b77c797010
|
|
|
|
|
|
| |
We never used that in the gate and it's unmaintained. Clean that.
Change-Id: I421c5b3084d7ff4d2bd6ab43a7a8a477d4a2c560
|
|
|
|
|
|
| |
keystone cli is dead, let's use openstack cli instead
Change-Id: I43219e4ab41c76e763096f0f87d8bb95ae6d2429
|
|
|
|
| |
Change-Id: I995398ee239754a4d333460112700caeec516eb5
|
|
|
|
|
|
|
| |
The ceilometer/tools/ceilometer-test-event.py script has been broken by
changes about yaml configuration loading.
Change-Id: I15b6bb053cf93847886c35e6af5c3eccb2984dba
|
|
|
|
| |
Change-Id: I788efa28ae041c7600cad60a03eb4f039c65e560
|
|
|
|
|
|
|
| |
We test only one driver at a time, so there is no need to leverage
scenarios here.
Change-Id: Ieff6e52d5efe46fc7ad5fa66b3fe199b1ac8c460
|
|
|
|
|
|
|
|
|
| |
Since we moved all the alarming code and subsystem to the Aodh project,
remove it from Ceilometer.
Depends-On: I3983128d2d964b0f1f3326948b27f5d94df65a04
Depends-On: I99c9f2be0bbc70f289da5c2ba22698b8b7dc4495
Change-Id: Id169a914c1d1f2f5ad03ebb515d3d052204d5c5c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When recording samples to database, the timestamp should be
datetime.datetime type, but in make_test_data.py, the timestamp
will be transformed to iso format with unicode type.
Change-Id: Iffb09a293684fb8eab768c7370e8967349032ae5
Closes-Bug: #1504539
|
|/
|
|
|
|
|
|
|
|
|
| |
I68200a23c87ceca5a237da13d9549c0aa82f1b8f has changed two scripts
to be executable, but unfortunately, it forgets to specify runtime
environment for those scripts, which will cause error when trying
to run those scripts directly.
This patch adds python environment specification for them.
Change-Id: Ibbcefb671de76146529b9a6e2debfee154a1aaa7
|
|
|
|
|
|
|
|
| |
tools/send_test_data.py and tools/test_hbase_table_utils.py can be
run via python $COMMAND, they should be executable as well, just like
other scripts, so developers can save some typing.
Change-Id: I68200a23c87ceca5a237da13d9549c0aa82f1b8f
|
|
|
|
|
|
|
|
|
| |
ceilometer.event.storage.models.Event requires 6 arguments to initialze,
but tools/make_test_event_data.py only provides 5 arguments, so it is
broken now. The missing field is 'raw', which can be safely set to {}.
Change-Id: I4bec3ff66ab9fbec9306be2f1cb0095d148d80fb
Closes-Bug: #1506976
|
|
|
|
|
|
|
|
| |
We have already removed meter instance:FLAVOR, let's clean our
code and docs to avoid unnecessary misleading.
Change-Id: I0c03b93252a263840ff50da6beed6445cc122ac2
Closes-Bug: #1505566
|
|
|
|
|
|
|
| |
For now, the make_test_data.sh cannot work, because of some parameter
mistakes
Change-Id: I9bb02790ad8995bcdd296f9b2412eb3515863a38
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This script is not up to date and worthless nowadays.
Change-Id: I62139b0bbcbe46d78d5b7893af082bcdccb80125
|
|/
|
|
|
|
|
|
| |
Set the timestamp to iso format and make sure the test data samples
generated by scripts under tools directory have the correct signature.
Change-Id: I1520450ae4e82459b73cc411a698a6faa91a40e0
Closes-Bug: #1499651
|
|
|
|
|
|
|
| |
Improves send_test_data.py tools so they can optionally send samples as
notifications, not just rpc.
Change-Id: Ib3cd809158029b0dbeca0b988e8d998bb2a313a7
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
fileutils is graduated in the oslo.utils library.
Remove the openstack.common package as well.
Implements: blueprint graduate-fileutils[1]
[1] https://blueprints.launchpad.net/oslo-incubator/+spec/graduate-fileutils
Depends-On: I51ba9076e1fbc16145ee2311f47b7768c16dcb20 (requirements)
Depends-On: I661dd222da6386a7dbcf854958a63e59b13e9ba4 (oslo.utils)
Change-Id: I6ba8f492a257096d27cbe83bfd06e53b7aabfa5d
|
|/
|
|
| |
Change-Id: I626ed411a1d476a2fa48a8cbea553e59bb8e5f05
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CR allows running "functional" tox job for different backends.
Short description about expected workflow:
1. Gate job run ceilometer/ceilometer/tests/functional/hooks/post_test_hook.py
with <backend> parameter.
2. This script run "tox -efunctional" command with defined variable
CEILOMETER_TEST_BACKEND
3. After in "run-functional-tests.sh" setup script for the backend
and testr are runned.
In this CR running testr with pretty_tox.sh script added because
it allows to use subunit-trace output which developed in tempest-lib
and improve useful of testr output.
Partially implements: blueprint ceilometer-functional-tests
Change-Id: Idb66aca0b46779516db2baec856df8223dbe5c13
|
|\ |
|
| |
| |
| |
| |
| |
| | |
We don't support Python 2.6 anymore so there is no use for that.
Change-Id: Ic1f8aefc4946752b03b25cac7a900f70c68133a5
|
|/
|
|
|
|
| |
This is not used anymore and can be used from openstack-release-tools anyway.
Change-Id: I4a7820bbef302fc6683b8aa3743f50383869d19f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Replace itertools.ifilter() with six.moves.filter()
* Replace itertools.imap() with six.moves.map()
* Replace map(_compare, statistics)
with [_compare(statistic) for statistic in statistics]
* Replace obj.iterkeys() with six.iterkeys(obj)
* Replace obj.iteritems() with six.iteritems(obj)
* Replace xrange() with six.moves.xrange(), or with range() for small
ranges
* Replace the repr module with six.moves.reprlib
Change-Id: Iaaa328cc15355182bde444a1aeaa4385691c8f90
|
|
|
|
|
|
|
|
|
| |
enable a listener in collector that listens to events queue. this
patch also renames 'metering_*' options which are now used by both
events and samples.
Change-Id: I6250c91e913864c3973e2d93022e38ad8bed8328
Implements: blueprint notification-pipelines
|
|
|
|
| |
Change-Id: Ia567c3aeb7f8516d0834dc8e4c3852e43a687043
|
|
|
|
|
|
|
|
| |
This has not been tested for months and doesn't work anymore. There's no
way people are using it, so let's drop it until someone starts fixing it
again.
Change-Id: I7d6472a1924320c890dec47c41bf22db07a36efc
|
|
|
|
| |
Change-Id: I85d5c8d3d9f00f86fd14500be0da1289f5672614
|
|
|
|
|
|
|
|
| |
oslo.utils 1.2.0 has changed its namespace from oslo.utils to
oslo_utils, the old import style of oslo.utils still can work but
it is deprecated.
Change-Id: I8832259624f15a8040f6de35136db7dd6d217f02
|
|
|
|
|
|
|
|
| |
This script is helpful for emulate real workflow.
Generate and send sample batches with different resources and
configurable counter_name.
Change-Id: I3ab6472c99abfe28e8c200ada2da91e97abed1d2
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Move ceilometer-test-event.py from directory bin to directory tools,
since it's for test purpose.
Change-Id: I3485a27ae66e255fbc460d0548be9dbb5700fa42
|
|/
|
|
|
|
|
|
|
| |
This change allows the script tools/make_test_data.sh and
tools/make_test_data.py to work correctly by handing
exceptions appropriately.
Change-Id: Ib054c3e10d617686928bf03f94c5ff868905afde
Closes-bug: 1389684
|
|
|
|
|
|
|
| |
This patch fixes the pep8 issues of the tool scripts and
configures tox to run pep8 on the tools directory.
Change-Id: Ifed21e19dd2b382790a1e2a90d5153a8845c4b64
|
|
|
|
|
|
|
|
|
|
|
|
| |
Parseable output format and --include-ids parameter are deprecated
and ignored in the pylint version used on the gate.
These functions are replaced by the --msg-template parameter.
This patch changes the runner to use the new parameter so that the
job can run properly on the gate
Closes-Bug: #1394606
Change-Id: Ia3e531923caa3f4e9a0dd03e0a4f5ef1a6d3dafb
|
|
|
|
|
|
|
| |
event storage has been independent now, sync it to
tools/test_hbase_table_utils.py.
Change-Id: I38e467ab18c317ad12d66f641ad4419c0fe33bee
|