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 /.zuul.yaml | |
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 '.zuul.yaml')
-rw-r--r-- | .zuul.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5,6 +5,7 @@ required-projects: - opendev.org/openstack/grenade - opendev.org/openstack/ceilometer + - gnocchixyz/gnocchi vars: configure_swap_size: 8192 grenade_devstack_localrc: |