
Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Image Creation Using CLI Failed
Problem
When image creation failures occur during VM image uploads through the OpenStack or pcdctl command-line tool, this troubleshooting guide provides resolution steps.
Environment
Private Cloud Director - v2025.4 and Higher.
Self-Hosted Private Cloud Director Virtualisation – v2025.4 and Higher.
Procedure
Ensure the the prerequisites are meet also refer documentation about importing image via CLI
Source the OpenStack
admin.rcfile. Ensure thatOS_USERNAMEandOS_PASSWORDare correct as per your Private Cloud Director account.Ensure you have
administratorpermission to upload the image.Make sure that the
OS_INTERFACEvariable is set to theadminvalue as specified in the UI like mentioned in documentation.Use command debug mode during image creation using:
Review glance server logs in the
glance-apipod logs in case of Self-Hosted PCD. On the host, review the/var/log/pf9/glance-api.logto track the relevant events against a specific image ID.Get glance API public endpoint which can be fetched using:
Verify the glance API service by connecting to the glance endpoint. It will return the version, status and other details.
If these steps prove insufficient to resolve the issue, kindly reach out to the Platform9 Support Team for additional assistance.
Most common causes
Glance service on the underlying host is down.
Glance host is unreachable from the VM from where the upload is being performed.
OpenStack
admin.rcfile does not have theOS_INTERFACEvariable set to theadmin.The
--insecureflag was not used as the Glance node uses self-signed certificates.The user does not have sufficient permissions to perform the image upload.
Ensure that the glance Pre-Requisites are met.