Delete a VM#

In this version of vCloud Director, the following error message appears when you delete a standalone VM that is not associated with a vApp:

The requested operation could not be executed on vApp “VM-Name-xxxxxxx”. Stop the vApp and try again.

The next release of vCloud Director resolves this limitation.

The steps in this section provide a workaround for deleting a VM that is not associated with a vApp.

Before you begin#

Before you begin, ensure that you:

  • Power off the VM you want to delete.

  • Log in to Rackspace Services for VMware Cloud with user-granted Organization Administrator permissions.

Steps#

Complete the following steps to delete a VM:

  1. Log in to the Rackspace Services for VMware Cloud portal.

  2. Click Data Centers and select the VDC that contains the VM you want to delete.

  3. Click Compute > Virtual Machines and click the name of the VM you want to delete.

  4. Click All Actions > Convert to vApp.

  5. Click Save.

    Rackspace Services for VMware Cloud converts the VM to a vApp.

  6. Click NICs > Edit.

  7. Select the NIC, click Delete, and click Save.

    After you delete the NIC, you can delete the vApp and the associated VM.

  8. Click Compute > vApp and click ACTIONS on the vApp you want to delete.

  9. In the ACTIONS menu, click Power > Power Off.

  10. After you power off the vApp, click ACTIONS > Delete.

Rackspace Services for VMware Cloud deletes the vApp and the associated VM.