Knowledge Base
2025.10
GENERIC
Networking
Storage
Compute
Designate
Orchestration
Self-Hosted
Install
UPGRADE
Monitoring
Add-Ons
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Image Upload Fails due to Missing Endpoint
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Image upload is failing via CLI due to missing
adminendpoint.
CLI Error
​x
$ echo $OS_INTERFACEadmin​$ openstack image create --insecure --container-format bare --disk-format qcow2 --file <IMAGE_PATH> <IMAGE_NAME>admin endpoint for image service in [REGION_NAME] region not foundEnvironment
- Platform9 Cloud Director Virtualization - v2025.4 and Higher
- Component - Image Library
Cause
- Image uploads greater than 1 Gi are recommended to be performed via CLI command. Also, adding an admin endpoint interface is a prerequisite before uploading the image via CLI.
- The
adminendpoint is missing from glance service catalog; that blocks any Glance administrative tasks.
Bash
$ openstack catalog show image+-----------+---------------------------------------------------------------------------+| Field | Value |+-----------+---------------------------------------------------------------------------+| endpoints | [REGION_NAME] || | public: https://[FQDN]/glance/ || | [REGION_NAME] || | internal: http://glance-api.[REGION_NAME].svc.cluster.local:9292/ | | id | [IMAGE_UUID] || name | glance || type | image |+-----------+---------------------------------------------------------------------------+- It can also be verified by listing endpoint information for a image service.
Bash
$ openstack --insecure endpoint list --service image --region <REGION_NAME>+------------------+---------------+--------------+--------------+-----------+-----------+---------------------------------------------------------+| ID | Region | Service Name | Service Type | Enabled | Interface | URL |+------------------+---------------+--------------+--------------+-----------+-----------+---------------------------------------------------------+| [ENDPOINT_UUID1] | [REGION_NAME] | glance | image | True | public | https://[FQDN]/glance/ || [ENDPOINT_UUID1] | [REGION_NAME] | glance | image | True | internal | http://glance-api.[REGION_NAME].svc.cluster.local:9292/ |+----------------------------------+--------------+--------------+-----------+-----------+-----------+---------------------------------------------+Resolution
- Manually creating admin endpoint for the image service will allow the images to be uploaded.
Bash
$ openstack endpoint create --region <REGION_NAME> image admin https://<GLANCE_HOST_IP>:9494- Verfiy the newly created
adminendpoint.
Bash
$ openstack catalog show image+-----------+---------------------------------------------------------------------------+| Field | Value |+-----------+---------------------------------------------------------------------------+| endpoints | [REGION_NAME] || | public: https://[FQDN]/glance/ || | [REGION_NAME] | | | admin: https://[HOST_IP]:9494 || | [REGION_NAME] || | internal: http://glance-api.[REGION_NAME].svc.cluster.local:9292/ || id | [IMAGE_UUID] || name | glance || type | image |+-----------+---------------------------------------------------------------------------+Additional Information
- When the
OS_INTERFACEis set aspublic[default configuration], image upload fails with the below error. This is because, nginx placed in front of Glance API, blocks an image upload (or download) as the file size exceeds the configured limit [not more than 1Gi].
Bash
HttpException: 413: Client Error for url: https://[FQDN]/glance/v2/images/[IMAGE_UUID]/file, 413 Request Entity Too Large: nginxType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
How to Enable Image Cache in Block StorageDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message