Search code examples
openstackopendaylight

How to completely uninstall devstack and reinstall it?


I am trying to install devstack from the following link:

https://wiki.opendaylight.org/view/OVSDB:OVSDB_OpenStack_Guide

However, ./stack.sh always throws some error. Is there any way I can remove all the configurations of devstack and redo it?

This is the error I am getting:

Command "python setup.py egg_info" failed with error code 1 in /opt/stack/keystone
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
+ exit_trap
+ local r=1
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 1 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
+ generate-subunit 1454006489 226 fail
+ [[ -z /opt/stack/logs ]]
+ /home/aditya/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2016-01-28-184515.txt for details
+ exit 1

Solution

  • Go through the same docs, anywhere that it says yum install use yum remove. After that check if ~/DevStack still exists. If it is there run rm -fr ~/DevStack

    (You could probably leave java and @standard on your system)

    Though I'm left thinking if this tutorial starts with Boot from the Fedora Net Install .iso - Select the minimal package - Select your hard disk layout you might just want to start over...

    I don't think OpenFlow installs it looks like it just compiles so you might want to delete the zip and the extracted folder and re-download...

    What error are you getting from stack.sh?