| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds "project_name" and "user_name" fields to the
polling samples created from notifications of "event_type".
Also move caching helper functions into "ceilometer/cache_utils.py"
to make them accessible throughout the project.
Conflicts:
ceilometer/tests/unit/meter/test_notifications.py
Change-Id: I68bd4ee096b28a2fd952e749d56a6b3eed9bfb94
(cherry picked from commit 6e339d3e74df5460d372b3e2abce27664ddb1100)
(cherry picked from commit d9a61da15033a55b5730974a9c6a4868c1d98d0f)
(cherry picked from commit 600dbfab1e227efc16b03b693d08354eaf1d0f98)
(cherry picked from commit 5191f9466a7a36e3b9c2cc48227cfe40d234bd9f)
(cherry picked from commit 3d03c31ae69b65033da653c6a8b205d54737fa08)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As of now to leverage caching, oslo_cache library has to be imported
and configured everytime it's needed.
This change migrates such implementatio to use `cache_utils.py`
which returns a cache client to perform caching operations. This
eliminates the purpose of importing oslo_cache everytime when needed.
To get a cache client:
```
from ceilometer import cache_utils
.
cache_client = cache_utils.get_client(conf)
```
Update oslo.utils to 4.7.0 to import "md5" from "oslo_utils.secretutils".
Conflicts:
ceilometer/publisher/gnocchi.py
Signed-off-by: Yadnesh Kulkarni <ykulkarn@redhat.com>
Change-Id: I14f9e1cbe84a953b092c3a88345d5faa9bcc9fb2
(cherry picked from commit b4a2801ec6a99df400d353d27a11de9be879c2a3)
(cherry picked from commit 6bc73e6c07622935eca55f79829ec724e1374df4)
(cherry picked from commit 2f2bb9a01225558bb92a1d6c5fedece2ca5ef04f)
(cherry picked from commit 5dcf16000025ddae959f6de8592506d475390883)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds "project_name" and "user_name" fields
to polling samples which is related to the identification
of vanity names change 79454d6b22787627ae6239aa7b2707101ba30212
Depends-On: https://review.opendev.org/c/openstack/ceilometer/+/880506
Change-Id: I5fbe97439e7fadbdd8fd2641c49f1c88fbc416fc
(cherry picked from commit 2a5f63da95a26dae46707a2a22e593604726aeae)
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Project and user names would be first fetched from cache, if not found,
they will be requested from keystone and then cached. Using cache will
significanlty reduce the number of calls made to keystone.
If ceilometer is configured with no caching backend, the results
will always be fetched by querying request to keystone.
A new config option, `tenant_name_discovery` is introduced
to operate this feature. This feature is optional and is disabled by default.
No attempts to identify names will be made if uuids are found to be `None`.
Signed-off-by: Yadnesh Kulkarni <ykulkarn@redhat.com>
Change-Id: Iee5dbf09a1fd3ac571746fc66d2683eb8e6a1b27
(cherry picked from commit 79454d6b22787627ae6239aa7b2707101ba30212)
(cherry picked from commit 1da0e14bef969c7ccff57910f1b4408234d50f5c)
|
|
|
|
|
|
|
|
| |
Depends-On: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/853291
Depends-On: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/853829
Depends-On: https://review.opendev.org/c/openstack/devstack/+/855344
Change-Id: Ib396c0072c57181f1672444e6fd6c8407d27f8c4
|
|
|
|
|
|
|
|
|
|
|
|
| |
this is a followup to I38f9ff2bec0a2a3cb9dfc5c362284e33c12f3127
in swiftclient, head_account and get_account have somewhat different
signatures, specifically order of kwargs. While passing http_conn as
third arg works for head_account, it does not work for get_account.
In order for it to work for both, it must be passed as kwarg.
Change-Id: I5433dc248e3f02c67107466408ed8c9ea8dd16a7
(cherry picked from commit 05ac6c5d52f94ee4129c521974430fa582323bb6)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The good name is network.outgoing.bytes.delta.
Change-Id: I78e9fbe9d60b3e83761f6490d25e85ad54fcc7c4
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
(cherry picked from commit 7a507457cb5180296922d1f533751259dee7a19c)
(cherry picked from commit 5d246c6ceaff22eca7eaa1591bdecd8818aef555)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Mock only small parts of libvirt not the whole library,
when testing libvirt discovery.
Closes-Bug: #1774292
Change-Id: Ifbcf3fa0602d805b1e493f1ee6c3385edb87a277
(cherry picked from commit 0940d4f2318e7216486ad2d6ad11837c8f54797a)
(cherry picked from commit 274e51555f0b939efc228efe1ec34e0253742a8e)
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit combines the following changes:
* Remove lingering queue declaration from .zuul.yaml file.
https://review.opendev.org/859777 (master)
Co-authored-by: Matthias Runge <mrunge@redhat.com>
* Replace oslo_utils.fnmatch with fnmatch
The oslo_utils.fnmatch module was added to solve an
issue in py2.7 but it is no longer required because
py2.7 is no longer supported. The module was deprecated
since oslo.utils 4.9.1[1] and the stdlib's fnmatch
module should be used instead.
https://review.opendev.org/799654 (master)
https://review.opendev.org/852644 (stable/wallaby)
Co-authored-by: Takashi Kajinami <tkajinam@redhat.com>
[1] 4c893c92f551c9dd2a7cfbe7ae8171ad8139df0b
Change-Id: I9b34ac062d45b2b839dc9d6e0cdce696185890e4
(cherry picked from commit 7e545b0fd9fd4a393d9e2af30f9fc370b20078c0)
(cherry picked from commit 142cb0b6e6f6fa85634c5176c84ab15d6511fa89)
|
|
|
|
| |
Change-Id: If4fdbb473a00fd1506ed036a4438ca931023e137
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Since python 2 support was removed there
are no direct usage of monotonic package
Change-Id: I9dcf775cc3306a6f5145d3159127518440b29c51
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
this is followup to I2aa34cf142c6429a7a0a3b8f232c3ed83f7d9981
In order to support discovery of instances booted before Wallaby,
ceilometer must support working with both 1.0 (old, Victoria and before)
and 1.1 (new, Wallaby and for now newer) versions of nova metadata.
Conflicts: ceilometer/compute/discovery.py
Change-Id: I93b6e92a5f46de5486f30a99fa3917a5932f7360
Related-Bug: #1930446
(cherry picked from commit 2fc72043d31af7acd45f918eeb290d9d7564d168)
(cherry picked from commit c724307a080469e25950e25093b3e70b92794415)
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Resolves warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: Ie1a033f1dcb1b62bf1bc8a213b9d7ef7e4e5b299
(cherry picked from commit 6c99d4dbad9c3ad850a1156cf45f0108810168bd)
|
|/
|
|
|
|
|
| |
work in wallaby branch. The module 'lib' has dropped the attribute
'Cryptography_HAS_TLSEXT_HOSTNAME' in later releases.
Change-Id: Ib9a73d9beaf0e97b297ada36294c977f0adc6049
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most OpenStack API communication uses the cafile option in the
service_credentials config. For swift the client is created differently,
and does not get this option. When TLS is used, we may get an error like
the following:
exceptions.SSLError: HTTPSConnectionPool(host='1.2.3.4', port=443): Max
retries exceeded with url: /swift/v1/AUTH_XXXX (Caused by
SSLError(SSLError("bad handshake: Error([('SSL routines',
'tls_process_server_certificate', 'certificate verify failed')],)",),))
This change fixes the issue by creating an HTTP connection for the Swift
client that uses the configured CA file.
Closes-Bug: #1940660
Change-Id: I38f9ff2bec0a2a3cb9dfc5c362284e33c12f3127
(cherry picked from commit ed404c5f66e874779d58d3ac81f28ae22c55cf09)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since [1] was merged, devstack no longer installs libvirt python
bindings from pip but use distro packages. This change removes
the logic to install the python bindings using pip to follow that
change in devstack, otherwise installation fails because of conflict
between packages available in pip and one installed by distro packages.
[1] https://review.opendev.org/c/openstack/devstack/+/798514
Conflicts:
devstack/plugin.sh
Resolved conflicts caused by f57a51e43ca7a8903763cc24b1c510fa50a16b2c
which is not backported to stable branches.
Closes-Bug: #1939990
Related-Bug: #1933096
Change-Id: I369a95cf30e91738d10ad2e5a3d5f6988bdd76cb
(cherry picked from commit 9366bc8f18a07695aa1af9217307b0a55376a331)
|
|
|
|
|
|
|
|
| |
Currently we use the latest Gnocchi in functional tests but this
often results problems caused by any update in Gnocchi side.
This change pins Gnocchi to a specific version to avoid such problems.
Change-Id: I791f214c6c130973fff9703a0ada1efd93720ae6
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop cap on tenacity, since it is already capped
by upper constraints.
Make grenade jobs non-voting, until they have been fixed.
Depends-on: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/787739
Change-Id: Ie21f8db89fc2045fd6cc6b1b7a5886b7e87e08e2
(cherry picked from commit 26f5ceca03322978421fe05ebf9d01c9e63a8837)
|
|
|
|
|
|
|
|
| |
https://github.com/jd/tenacity/pull/274/files removed code
which was still in use.
Change-Id: I8ac6684d9f03a48cc5dd3d712cbd2868b34e1013
(cherry picked from commit e7abc7070e9de182b7f4c5ae16e1d615f8d35c96)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/wallaby branch, tests will
continue to use the upper-constraints list on master.
Change-Id: I41f69ff3c2b7100979d2049f52a8c42e04abc033
|
|
|
|
| |
Change-Id: Icd91d8e81f22b24e092e83890c95f0fd6a74fd49
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since Nova removed its XenAPI driver[1] and Xen support using libvirt,
we no longer expect usage of Xen in OpenStack deployments.
[1] adb28f503ca8c38bd7224ec0a335f730557d7ca9
[1] 3a390c2c8238409c00acc08fad725d46fa02c0ad
Change-Id: Id79799541dfc8ec17d3ea1482c6b8ca4b58f7a92
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When a server created, I delete the related flavor, and the
gnocchi can not discover the server.
This patch also makes discovery of private flavors possible.
Change-Id: I0f570bddf0f2597808a0148d72c0ea2e5f900e23
Closes-Bug: #1777607
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
and one should use collections.abc.Iterable
Change-Id: I52455c85b5cb50e9c4f1fdf5538965dc200065aa
|
| |/
|/|
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I86b4591955b9e54f4e83650a29ec3d8978d6224b
|
|/
|
|
|
|
|
| |
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org
Change-Id: If5ce1830aab844fa34ec375e474fa1651693cad9
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This is to fix the invalid argument formatting in the exception message.
Change-Id: I828be0751e598cf1aad25f78241b2fbc7b2e1781
|
|/
|
|
|
|
| |
Co-authored by: Matthias Runge <mrunge@redhat.com>
Change-Id: I85a4d79396874670f1b36cb91cfba5da812c2839
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I5a7c087b29f3b0d7d9f63c2a774b8f2aff35b7a3
|
|/
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I491b25ea97ee97426d314ff72d9b11fe3682444b
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I2c5b60bea3820c495387a452be48e95ecca07c4d
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I9872cf22db8585b308df1efa137853814e3c4002
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I89602960839435487ae54ef5a2f8d18a3acf6c10
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Iaf2b3d3c0a5648878a390b55e00fed663af8086c
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Tox trying to install latest versions for building releasenotes,
which may not be supported by stable and lower branches,
so should be restricted by respective version's upper-constraints.txt
Change-Id: If0b3ecffaccff9512ec43b853a8a6eaa8088251e
|
|/ /
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Ia9749502d5815b270fc9b31d431f50ec4c743142
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Iefd5759a2f00d74517619d6bd8feea51a7ab5e1a
|
|\ \ \
| |/ /
|/| | |
|