Upload an Image Using the UI
Overview
You can upload a virtual machine image to the Image Library Service directly from the Private Cloud Director UI without installing the pcdctl CLI. The UI upload is suited for interactive, one-off imports; for scripted or bulk uploads use the pcdctl CLI method described in Overview.
In this guide, you will upload an image through the UI and verify that it reaches active status.
Prerequisites
You have a role that can create images in the target tenant. Read-only users cannot upload images.
For Upload Image File, accept the Image Library Service certificate. If the upload button is greyed out or a certificate warning appears, see Image Library Service Certificate Configuration before continuing. This is not required for Upload Image via URL.
The image file is in a supported format (
raw,qcow2, oriso).The Image Library Service host has sufficient free disk space to hold the image. Check available space on the Image Library host before uploading large images.
For Upload Image via URL, the Image Library Service host must reach the image download URL. Otherwise, the import fails and the image remains in
queuedstatus.
Upload an Image
Sign in to the Private Cloud Director UI and navigate to Images.
Select Add Image. The Add Image dialog opens.
In the Image Selection section, choose Upload Image File and select the image file on your local machine, or choose Upload Image via URL and enter the Image Download URL.
In the Image Settings section, complete the following fields:
FieldDescriptionName
A descriptive name for the image.
Operating System
Select the operating system of the image.
Disk Format
Select the disk format that matches your file:
qcow2,raw, oriso.Visibility
Select Private (the default) to restrict the image to the current tenant, Shared to share it with specific tenants, or Public (administrators only) to make it available to all tenants in the domain. When you select Shared, a Tenant Access list appears; select the tenants to share with. See Share Images Across Tenants.
Disable Delete (Protected)
Toggle on to prevent accidental deletion of the image.
Select Add Image to start the upload.
The image row appears in the Images table with a status of
queuedwhile the file transfers, then transitions tosaving, and finally toactivewhen the upload completes successfully.
Common Upload Errors
The Add Image button is not active or the dialog cannot be opened
Image Library Service certificate is not trusted in your browser
Upload starts but the image stays in queued indefinitely
Disk full on the Image Library host, service not running, or a network interruption
Upload fails immediately with an HTTP error
Incorrect disk format or container format selected, or the image file is corrupted
Verify the format with qemu-img info <image-file> on a local machine and retry with the correct format.
403 Forbidden error
Your user account does not have permission to create images in the current tenant
Ask your administrator to grant the required role in the target tenant.
Next Steps
After the image reaches active status, you can use it to create virtual machines. For advanced image configuration, such as setting image properties that control VM behavior, see Image Properties.
Last updated
Was this helpful?
