Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to Catalogue → Private or Public → select datacenter or public cloud region → Virtual machine templates

  2. Check that there is no other category with the name you wish to use

  3. Open the Categories menu

  4. At the bottom of menu, click the + add button

  5. Enter the category name

  6. Optional: to create a global category, mark the checkbox to Make the category global

  7. Click Save to continue

    Image RemovedImage Added

The new category will be added to the Categories list.

...

  1. Select the edit menu button of a template that is in use and select Delete from the menu. A confirmation popup will open with details of the template use.

  2. Confirm that you would like to force the delete. Abiquo will delete the disk files but not the template definition. The platform will mark this template as unavailable.

    Image RemovedImage Added

In the Apps library, the platform will not display the unavailable template in the default view. To display the template again, click the filter button and mark the checkbox to display Deleted templates, which are unavailable templates with no disk files. The platform will mark the template icon with a red X symbol.

...

Expand
titleClick here to show/hide the example

Screenshot: Deploy an instance of the Core in a new VM. There are now two VMs - one with the core template and one with an instance of the core template VM

Image RemovedImage Added

Screenshot: The core template has two instances: Core_Instance_1 and Core_Instance_1_Instance_1

Image RemovedImage Added

Now the administrator would like to delete the template, but there are VMs and instances. So the administrator will make the template unavailable. The platform will delete the disk files and users cannot create new VMs from the template.

Screenshot: The administrator clicks the template edit menu and selects Delete

Screenshot: The platform displays the details of deployed VMs and instances on the "Virtual machine template in use" popup. The administrator clicks Yes to continue.

The template disk files and the disk conversions will be deleted from the Apps Library. You cannot recover them within the platform

Image RemovedImage Added

Screenshot: To view the unavailable template, click the template filter and select the Deleted checkbox. Click on the unavailable template to view the instances and they will display in the Instances panel below the master templates.

...

An Abiquo instance is a template that uses copies of one or more disks from a VM.  For information about how to create instances, see  Manage virtual machines#SaveVMdiskstocreateaninstancetemplate

In a datacenter, the platform stores an instance with the original master template. This means that you cannot delete a master template if it has instances. However, you can promote an instance to a master template.

...

Expand
titleClick here to show/hide screenshots

From the instance template's options menu, select Promote to master

Virtual machine templates in Apps library view

Enter a Name to identify the template

Promote to master templateImage RemovedPromote to master templateImage Added

The platform displays the promoted instance in the main section of the Apps library

Promote to master templateImage RemovedPromote to master templateImage Added

Manage instances of deleted templates

...

Expand
titleClick here to show/hide the screenshots

Confirm that you would like to delete the instance template

Virtual machine template in useImage RemovedVirtual machine template in useImage Added

To display the unavailable instance:

  1. Select the filter to display Deleted VM templates

  2. Select the master template

Instances for virtual machine template - coreImage RemovedInstances for virtual machine template - coreImage Added
  • You cannot force the delete of an instance if it is in use in a VM. 

  • If you try to delete an unavailable instance, an error popup will appear because the template is already unavailable. 

  • To make the instance available again, replace the unavailable template files on the file system. When it detects the template files, the platform will mark the instance as available.

...

For details about deleting instance templates, see Delete private templates in public cloud 

To find an Abiquo instance that was deleted from the Catalogue but not from the public cloud provider:

...

Delete private templates in public cloud

...

In public cloud

...

, to delete a private template (or custom template), such as an Abiquo instance:

  1. Move the mouse over the template and from the options menu, select delete  

  2. Optionally select the checkbox to Delete this template in the cloud provider

  3. Confirm the delete

By default, the platform will delete the template from the Apps library only and it will remain in the cloud provider.

If you delete the template in the cloud provider:

  • In AWS, when you delete a private AMI, it will also delete all the snapshots used by the AMI. If more than one AMI is using the same snapshot, AWS will delete the snapshot when you delete the last AMI.

  • In Azure, when you delete a private image, if the image was created from an image stored as a page blob, Azure will also delete the image.

  • In vCloud Director, when you delete an Abiquo private template, it will delete the vappTemplate that contains the template.

  • In OCI, it will delete the private image only.

  • In GCP, it will delete the private image only.

...

Other Pages related to VM template management