1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- Some useful entities borrowed from HTML -->
4 <!ENTITY ndash "–">
5 <!ENTITY mdash "—">
6 <!ENTITY hellip "…">
8 <section xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
9 xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="installing_from_zip">
10 <title>Unstack and Cleanup DevStack</title>
11 <para>Use the following to teardown the stack and reset the state of the VM to pre-stack.</para>
12 <para>Running unstack.sh will kill the stack. Also, look at the OVS config and make sure all
13 bridges have been deleted:</para>
15 <screen><command>sudo ovs-vsctl show</command></screen>
17 <para>A handy cleanup is to run a few commands to ensure the stack was effectively torn down.
18 Paste the following to create a shell script called ./reallyunstack.sh. </para>
20 <screen><command>echo 'sudo killall nova-api nova-conductor nova-cert nova-scheduler nova-consoleauth nova-compute</command>
21 <command>sudo pkill -9 -f qemu</command>
22 <command>sudo ovs - vsctl del - manager</command>
23 <command>sudo ovs - vsctl del - br br - int</command>
24 <command>sudo ovs - vsctl del - br br - tun</command>
25 <command>sudo pkill / usr / bin / python</command>
26 <command>sudo systemctl restart qpidd .service ' & gt ; reallyunstack .sh</command>
27 <command>chmod + x reallyunstack .sh</command>
28 <command>. / reallyunstack .sh</command></screen>