Change the comment to match what's actually being used as default.
By default the devstack plugin uses the
etc/ceilometer/polling_all.yaml file, which has 300 pipeline
interval.
Change-Id: Id117ae910d0c592fdaad6759c2eebc039f92b8c7
My recent changes to the devstack plugin broke the plugin for
situations, where CEILOMETER_BACKEND=none. The reason is the
addition of the CEILOMETER_BACKENDS variable, which uses
"," for delimiting individual backends. This meant, that
when using CEILOMETER_BACKEND=none, the CEILOMETER_BACKENDS
would in fact be ",none", which wouldn't equal to "none" in
a check in the plugin.sh
The fix is to delete all "," characters from the
CEILOMETER_BACKENDS before checking if it equals to "none"
Change-Id: Ief09bf1d5da79d7f9b7a2ba4055be2b2ef3dc1b8
This change also adds a new variable to set during
devstack deployment: "CEILOMETER_BACKENDS". Its
usage is similar to the "CEILOMETER_BACKEND". The difference
is, that CEILOMETER_BACKENDS expects a comma separated
list of backends (instead of only one backend). The
behavior of CEILOMETER_BACKEND is still the same for
backwards compatibility. If both CEILOMETER_BACKEND
and CEILOMETER_BACKENDS are set, then the value
of CEILOMETER_BACKEND is appended to CEILOMETER_BACKENDS.
The default backend if both "CEILOMETER_BACKEND" and
"CEILOMETER_BACKENDS" are empty is still gnocchi
Change-Id: Ib92fa062784479796c8a2ca4bd69a538e4e05f63
Recent changes to git prevent git repos from being parsed if they
are not owned by the current user as part of a CVE fix. Some
project use stevedore to load plugins and this is broken if
gnocchi is installed from git via "sudo pip install".
This change uses devstacks git_clone to ensure that the gnocchi
repos is clonned under $DEST aka /opt/stack as the current user not
root. It then uses pip install -e to install the precloned repo.
To enable this GNOCCHI_REPO and GNOCCHI_BRANCH are intoduced
and the non standard GNOCCHI_GIT_PATH is removed.
A long standing comment to stop installing from git after
Gnocchi 4.0 is adressed by only installing from git if
gnocchi is listed in LIBS_FROM_GIT. However since
4.4.2 is currently incompatible with openstacks upper-constraits
file the ci will continue to git however the git repo will
now be prepared by zuul using required-projects.
This will have the side effect of allowing
Depends on to work for PRs to gnocchi however testing that
is out of scope of this patch.
This patch adds a sample local.conf that can be used to deploy
locally for devopment.
Depends-On: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/872350
Change-Id: I833ea3bffb18bec063423450be0f3b8ff92f9a5a
Upon installing ceilometer and gnocchi using devstack,
"filter_project" in "pipeline.yaml" is set to "gnocchi_swift"
project. However, no such project exists in keystone.
```
publishers:
- gnocchi://?archive_policy=ceilometer-low&filter_project=gnocchi_swift
```
This change, will set "filter_project" to "service" project which
will exclude all metrics from it.
Also add the name of the project to the logs which couldn't be found
in keystone.
Closes-Bug: #1988923
Signed-off-by: Yadnesh Kulkarni <ykulkarn@redhat.com>
Change-Id: Ifc215f86134729665c142bb9bf64f66ca8de2a29
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
Closes-Bug: #1939990
Related-Bug: #1933096
Change-Id: I369a95cf30e91738d10ad2e5a3d5f6988bdd76cb
[storage] coordination_url was deprecated since Gnocchi 4.1.0 and
replaced by [DEFAULT] coordination_url[1].
[1] https://github.com/gnocchixyz/gnocchi/commit/70b9ca427
Change-Id: I7e271ca36216d10ce23942c06ae2f3575c00fdee
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: If416ba6fe80127f230cffed064da5837d021be80
Transformers cannot work correctly on multiple nodes without workload
partitioning, which has been removed.
The transformation of data is no more the responsability of Ceilometer. The
data storage used by default (Gnocchi), is able to handle the scenario that
Ceilometer covered by default such as computing the rate of a metric.
Change-Id: If3683318b998a37c40bc09314dd8ab3eef326ba7
Depends-On: Ifd1d04ce813028f115c19bc983e7dd1e63c6f8a5
Depends-On: I0330c09d72c20d63d08770b52d3071512a418260
Workload partitioning has been quite fragile and poorly performing so it's not
advised to use it. It was useful for transformers: since transformers are going
away too, let's simplify the code base and remove it
Change-Id: Ief2f0e00d3c091f978084da153b0c76377772f28
since it is ceilometer's devstack plugin who enables/starts gnocchi
services, it is appropriate to also stop them during unstack phase.
Change-Id: I97747a98ddb139a6f89fa54b4d17e0ca1d1bdf62
TEMPEST_SERVICES global variable is not supported
by devstack since long back.
- I380dd20e5ed716a0bdf92aa02c3730359b8136e4
- I9c24705e494689f09a885eb0a640efd50db33fcf
Service availability of tempest known services will be
set by devstack with local check.
- I02be777bf93143d946ccbb8e9eff637bfd1928d4
This commit removes the unused TEMPEST_SERVICES setting
Related-Bug: #1743688
Change-Id: I50bd32fc2103af0170ee8d350f31cf589d85422f
This reverts commit f1bdf6751a503ee570ce114f9a31fdb2959a79d0.
this causes distribution to be either 50/50 or 100/0. in the latter
case, the single worker usually fails to process pipeline queues in a
timely manner
Change-Id: I7c34acb29290de641ccbef4844e1e6982fe8b173
The default storage backend is always set in ceilometer gate job,
but it needs to be set to a sensible default value.
Closes-Bug: #1707713
Change-Id: Ibe3939f114e843810a12c2f27c35a8a91dbce6ac
Enabling everything to be polled and transformed by default is quite heavy and
can lead to a massive amount of unused metrics. Limit the default to a few
metrics known to be actually useful to common deployers.
We keep all pollsters enabled on unit tests and devstack.
Change-Id: Ifb5aa684e575b7904726276b7205824f2dcaa7ce
The [notification] section was missed in the configuration of devstack script.
Change-Id: If955fad4d5c1ceede8a24cd135c6c7b3195be3cf
Closes-Bug: #1678380