cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Sorensen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-6088) template validation patch (4.2) needs to be rebased for master
Date Wed, 12 Feb 2014 18:59:26 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Sorensen updated CLOUDSTACK-6088:
----------------------------------------

    Attachment: template-content-validation-v2.patch

delete an unnecessary comment

> template validation patch (4.2) needs to be rebased for master
> --------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6088
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6088
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: Future
>            Reporter: Marcus Sorensen
>            Assignee: Laszlo Hornyak
>             Fix For: Future
>
>         Attachments: template-content-validation-v1.patch, template-content-validation-v2.patch
>
>
> Submitting this 4.2 patch that validates template contents upon initial download, such
that a qcow2 can't be named '.img', or a .vmdk descriptor file (which is text) can't be successfully
uploaded as a template.
> It needs to be rebased/integrated into master, and perhaps some more testing to verify
that it correctly catches all template types.
> For bonus points, we can use TemplateUtils.isCorrectExtension to clean up a lot of the
code that verifies extensions, look for "qcow2.gz" in HyperVisorTemplateAdaptor and VolumeManagerImpl
(or their master equivalents)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message