Troubleshooting replace template disk

When you try to replace a VM disk by uploading a new disk, you may get an error about a missing OVF file. This error occurs when a user created the template with the Abiquo instance feature, which copies the selected disks from a captured VM. The instance template will not have an OVF file but the process to replace a disk requires the OVF file.

 

If the original VM is still available, do these steps:

  1. Before you replace the disk, export the OVF file for the original VM from vCenter

  2. Add it to the VM template folder on the NFS repository.

 

If the original VM is not available:

  1. Use a GET request to retrieve the instance template you want to modify and its disks from the Abiquo API. Or obtain these details by editing the template in the Abiquo UI

  2. Find a similar template (ideally, with the same operating system and disk format) that was uploaded into Abiquo that has a valid OVF on the NFS repository. It would also be possible to upload a new OVA template to create an OVF file.

  3. Copy the OVF file from the uploaded template’s folder

  4. Edit the OVF file to add the the correct details for your instance template from your API request

  5. Add the modified OVF file to your template’s folder

For full details of how Abiquo works with OVF files, see OVF reference and Extended OVF support and template definition

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved