VMmanager Knowledge Base
en En
es Es

Unable to create a VM without an OS or from a custom ISO image

Problem

When attempting to create a virtual machine (VM) with the NoOS option, or when trying to use a custom ISO image, the operation fails.

Diagnosis

To confirm the cause of the issue:

  1. Verify that errors occur when trying to create a VM without an OS or from a custom ISO image:
    • In the web interface:
      {"error":{"code":5111,"msg":"Repository check failed"}
    •  In the vm_writer.log file:
      request GET 'localmetadata.json/' failed. error: 'Host not found (authoritative)'
  2. Check the contents of the local repository:
    1. Go to TemplatesRepositories tab.
    2. Find the local repository in the list.
    3. In the Content column, click the button showing the number of OS templates (e.g., “2 OS”)

      If the list that opens contains a second template alongside the standard NoOS one (for example, one named unknown), the cause of the issue is confirmed.

Solution

The problem occurs because a duplicate or incorrect copy of the NoOS template (e.g., named unknown) was accidentally added to the local repository. This prevents the creation of VMs without an OS or from a custom ISO.

To resolve the issue, disable the incorrect template in the local repository:

  1. Go to TemplatesRepositories tab → select the local repository.
  2. Click on the incorrect template (the one with a name different from NoOS, for example, unknown).
  3. In the Available on clusters section, disable the Enable option for all listed clusters. This will prevent the incorrect template from being used.
  4. Enable the Only administrator can install virtual machines from OS option.