Skip to content

Support upload Templates where the format is compressed #13175

Description

@kiranchavala

The required feature described as a wish

As a User/Admin/Operator I would like to upload a compressed template from local

Currently Cloudstack supports the registration of template whose format is also compressed

resolute-server-cloudimg-amd64.img
resolute-server-cloudimg-amd64.qcow2
resolute-server-cloudimg-amd64.qcow2.bz2
resolute-server-cloudimg-amd64.xz

When a admin user tries to upload a template from local whose format is .qcow2.bz2 it fails

resolute-server-cloudimg-amd64.qcow2.bz2
resolute-server-cloudimg-amd64.tar.gz
resolute-server-cloudimg-amd64-root.tar.xz

Error is thrown

2026-05-18 07:35:41,469 ERROR [c.c.s.I.UploadStatusCheck] (Upload-Monitor-1:[ctx-abbe0176]) (logid:f692675e) Template Template {"format":"QCOW2","id":214,"name":"testcom","uniqueName":"214-2-f74f8eac-5a21-3a6e-aaf1-9c68a5e976da","uuid":"5c9ff495-1f54-47d7-a8ef-c74c751c0ab8"} failed to upload. Error details: File type mismatch between uploaded file and selected format. Selected file format: QCOW2. Received: bzip2 compressed data, block size = 900k"

Activity

  1. added theissue type on May 18, 2026
  2. changed the title [-]Support upload Templates whose format is compressed bz2,[/-] [+]Support upload Templates where the format is compressed[/+] on May 18, 2026
  3. changed the issue type fromtoon May 20, 2026
  4. added this to the 4.24.0 milestone on May 20, 2026
  5. github-actions commented on Sep 20, 2026

    @github-actions

    This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions