Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-6940

Templates cannot be downloaded from URLs without matching file extensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.1
    • 4.5.0
    • Storage Controller
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      When registering templates with CloudStack, it is necessary to provide a URL from which the template can be downloaded.

      CloudStack validates the format of these URLs, but it does so quite aggressively, sometimes rejecting URLs that are perfectly valid.

      In particular, CloudStack expects and requires the URL to carry a file extension in the end that matches the expected template, eg. ".vhd" or ".vhd.gz". If the URL doesn't have such an extension in the end, it will be rejected, even if it is a perfectly valid URL from which a VHD can be downloaded.

      Attachments

        Issue Links

          Activity

            People

              minchen07 Min Chen
              minchen07 Min Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: