Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

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:

  1. Remove VMs on the physical server.
    1. Log in to the CSO node or server as root.
    2. View the list of VMs.

      For example:

      root@host:~/# virsh list --all

      Output:

    3. Remove each VM and its contents.

      For example:

      root@host:~/# virsh destroy csp-ui-vm
      root@host:~/# virsh undefine csp-ui-vm

      Where, csp-ui-vm is the name of VM you want to delete.

    4. Delete the Ubuntu source directories and VM.

      For example:

      root@host:~/# rm -rf /root/disks
      root@host:~/# rm -rf /root/disks_can
      root@host:~/# cd /root/ubuntu_vm
      root@host:~/# rm -rf <vm-name>
  2. Delete the Salt minion keys.

    For example:

    root@host:~/# salt-key -D