| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Depends-On: Idcff5d79b4884dd1cc7ed1ab42c9e4ce89d4a6d2
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@industrialdiscipline.com>
Change-Id: I74cdcb2aa99b0162ba1c14059111f09d0bb534e3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove six Replace the following items with Python 3 style code.
- six.moves
- six.StringIO
- six.add_metaclass
- six.string_types
- six.binary_type
- six.text_type
- six.integer_types
- six.PY3
- six.PY2
- six.iterkeys
Change-Id: Id9f2076be1a6a2d99db5acb682df8bebe893de36
|
|
|
|
|
|
|
|
| |
If you're given an int, there's nothing to do, just return it
Change-Id: I289dab8cfabaecf243fdc16b972695e83c83c3e4
Closes-Bug: 1795664
Signed-off-by: Shoham Peller <shohamp@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this patch, I use Uber Jaeger as a tracer.
Trace/span from OSprofiler will be sent to Jaeger.
We can use Jaeger UI to view trace.
A sample image of trace in Jaeger:
https://tovin07.github.io/opentracing/jaeger-openstack-image-list.png
Reference:
- OpenTracing: http://opentracing.io/
- Uber Jager: https://www.jaegertracing.io/docs/
Depends-On: Iaac3ac3853867a67f7e386e762e0522076235daf
Change-Id: I8f75af487f50d5e67a1321a4c951d2a0d85733a1
Implements: blueprint opentracing-compatible
|
|
|
|
|
|
| |
Oslo.utils provides same function constant_time_compare, so just use it.
Change-Id: I790a25c4bc28a2c10ff6fb2a2f356b12df98ca6b
|
|
|
|
|
|
| |
Bandit is a tool designed to find common security issues in Python code.
and pep8 is the usual linter target. So enable it in pep8 target.
Change-Id: Ie5e4350cde906c206fd5041e88983678eb37999e
|
|
|
|
| |
Change-Id: Ia6bc1eedddeebb0aceb01d3c34b066d0b268f34d
|
|
|
|
| |
Change-Id: I311f694d2e2e92468d3345d0da3f550fffa560ee
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
During hmac validation allow there to be N keys and one
of those keys must validate, if none do the old behavior
continues to operate as is. This makes it easier to roll
out new keys incrementally.
Change-Id: I12d05329de5418baf6b1eb45fe85e8ce627c49ea
|
|/
|
|
|
|
|
| |
1) If we have docstring we don't need "pass"
2) check for isnstance of type is useless
Change-Id: I87ed3a9d073f115cf47cb3419916549d8afd808b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This avoids the same issue that caused a prior exploit
in nova, we might as well avoid this by doing it correctly
in the first place.
See: https://bugs.launchpad.net/bugs/cve/2014-3517
Change-Id: Iea4b3bcded268de926f32f956383d03fd9f15d59
|
|/
|
|
| |
Change-Id: Ic34be7cb10b5aba723394e06ddff69cb09fe698d
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This drivers sends notifications using notifer API from oslo.messaging
These notifications has speical topic "profiler", and they are collected
by this Ceilometer notification pluging:
https://review.openstack.org/#/c/100239/
Change-Id: I305fc7a13d3c052ffd22073d77ae4f12fae348ca
|
|
|
|
|
|
|
|
|
|
| |
OSprofiler will support notifers for different collectors.
So add base for plugins.
In next patch we will add osprofiler oslo.messaging based notifier
Change-Id: Iad14c67f1e7cdbd0f4bcc64200fecf048316e385
|
|
Add "_" to utils module to show that they are private, and shouldn't
be used outside of this lib
Change-Id: Ic74321407f8790520e8c4ef932101c61a95fefbe
|