diff options
author | Sean Mooney <work@seanmooney.info> | 2023-01-31 12:03:05 -0500 |
---|---|---|
committer | Sean Mooney <work@seanmooney.info> | 2023-02-03 07:59:20 -0500 |
commit | cb7084ed1868a29795364a83999842d8e671f4d0 (patch) | |
tree | be27d5b6779788abaf91064b99fc95bc2910dbb1 /devstack/README.rst | |
parent | e83a6802ca7b88f874e7476d5a46decaa74f0359 (diff) | |
download | ceilometer-cb7084ed1868a29795364a83999842d8e671f4d0.tar.gz |
Fix gnocchi install from git
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
Diffstat (limited to 'devstack/README.rst')
-rw-r--r-- | devstack/README.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devstack/README.rst b/devstack/README.rst index 38aa78c2..ee71f43e 100644 --- a/devstack/README.rst +++ b/devstack/README.rst @@ -22,4 +22,7 @@ Enabling Ceilometer in DevStack installation of Ceilometer. If you don't want to use their default value, you can set a new one in ``local.conf``. + Alternitvely you can modify copy and modify the sample ``local.conf`` + located at ``ceilometer/devstack/local.conf.sample`` + 3. Run ``stack.sh``. |