Removing a Previous Deployment
You can remove the existing virtual machines (VMs) and perform a completely new installation. This approach makes sense if the architecture of the VMs on the Contrail Service Orchestration node or server has changed significantly between releases.
To remove a previous installation:
- Remove VMs on the physical server.
- Log in to the CSO node or server as root.
- View the list of VMs.
For example:
root@host:~/# virsh list --allThis command lists the existing VMs.
Id Name State 2 csp-ui-vm running
- Remove each VM and its contents.
For example:
root@host:~/# virsh destroy csp-ui-vmroot@host:~/# virsh undefine csp-ui-vmWhere, csp-ui-vm is the name of VM you want to delete.
- Delete the Ubuntu source directories and VM.
For example:
root@host:~/# rm -rf /root/disksroot@host:~/# rm -rf /root/disks_canroot@host:~/# cd /root/ubuntu_vmroot@host:~/# rm -rf
- Delete the Salt server keys.
For example:
root@host:~/# salt-key -D
