From 8244086d1fec030b10dbf2e066859ce03761f0fd Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Fri, 9 Dec 2022 08:52:52 +0000 Subject: [PATCH] Disable git owner check for zun The new git owner check [1] broke zun installation process. We add an exception to skip the check. [1] https://github.com/git/git/commit/8959555cee7ec045958f9b6dd62e541affb7e7d9 Change-Id: I5dd1e4057722ddece259c70985b77a3dd1dfd48b --- doc/source/install/compute-install.rst | 1 + doc/source/install/controller-install.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/source/install/compute-install.rst b/doc/source/install/compute-install.rst index d30e35f93..ad17b6eea 100644 --- a/doc/source/install/compute-install.rst +++ b/doc/source/install/compute-install.rst @@ -75,6 +75,7 @@ Install and configure components # cd /var/lib/zun # git clone https://opendev.org/openstack/zun.git # chown -R zun:zun zun + # git config --global --add safe.directory /var/lib/zun/zun # cd zun # pip3 install -r requirements.txt # python3 setup.py install diff --git a/doc/source/install/controller-install.rst b/doc/source/install/controller-install.rst index a6de12301..53a9df3c8 100644 --- a/doc/source/install/controller-install.rst +++ b/doc/source/install/controller-install.rst @@ -186,6 +186,7 @@ Install and configure components # cd /var/lib/zun # git clone https://opendev.org/openstack/zun.git # chown -R zun:zun zun + # git config --global --add safe.directory /var/lib/zun/zun # cd zun # pip3 install -r requirements.txt # python3 setup.py install