From 542d6cb039bb91a92e10cefb20f7a74bfabee4a2 Mon Sep 17 00:00:00 2001 From: Namrata Date: Tue, 17 Jul 2018 20:45:41 +0530 Subject: [PATCH] Add a note to uninstall pip packages on unstack Adding a note in quickstart guide to uninstall pip packages before restacking the environment. Closes Bug: #1781807 Change-Id: Ic2186683a69e7dc9f689ef5b505582ffed6ef948 --- doc/source/contributor/quickstart.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/source/contributor/quickstart.rst b/doc/source/contributor/quickstart.rst index b9180123f..a8976a8d6 100644 --- a/doc/source/contributor/quickstart.rst +++ b/doc/source/contributor/quickstart.rst @@ -52,6 +52,16 @@ Run devstack:: $ cd /opt/stack/devstack $ ./stack.sh +.. note:: + + If the developer have a previous devstack environment and they want to re-stack + the environment, they need to uninstall the pip packages before restacking:: + + $ ./unstack.sh + $ ./clean.sh + $ pip freeze | grep -v '^\-e' | xargs sudo pip uninstall -y + $ ./stack.sh + Prepare your session to be able to use the various openstack clients including nova, neutron, and glance. Create a new shell, and source the devstack openrc script::