Removing a Previous Deployment
You should remove a previous deployment and perform a new installation if the architecture of the VMs on the CSO server node or server has changed significantly between releases.
If you do not have previous deployment, proceed with Provisioning VMs on Contrail Service Orchestration Nodes or Servers
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 --allOutput:
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 <vm-name>
- Delete the Salt minion keys.
For example:
root@host:~/# salt-key -D
