Initial Documentation Commit
[docs.git] / manuals / howto-openstack / section_unstack_and_cleanup.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE section [
3  <!-- Some useful entities borrowed from HTML -->
4 <!ENTITY ndash  "&#x2013;">
5 <!ENTITY mdash  "&#x2014;">
6 <!ENTITY hellip "&#x2026;">
7 ]>
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>
14     <para>
15         <screen><command>sudo ovs-vsctl show</command></screen>
16     </para>
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>
19     <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 ' &amp; gt ; reallyunstack .sh</command>
27 <command>chmod + x reallyunstack .sh</command>
28 <command>. / reallyunstack .sh</command></screen>
29     </para>
30   </section>