cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8703) Cloudstack tries to re-download templates on S3 while they are already their.
Date Mon, 03 Aug 2015 18:46:05 GMT


ASF GitHub Bot commented on CLOUDSTACK-8703:

Github user remibergsma commented on the pull request:
    I cannot test the functionality myself right now, although it looks OK. @wido can you
verify and give a final LGTM? I'll then merge it.
    @borisroman my only comment is your commit message. Please use 50 chars or less on the
first line (as a title), then an empty line and finally any extra info or a description.
    Fixed issue when listing directory on S3
    CLOUDSTACK-8703: It would only return objectSummaries when the anwser from the S3 System
was truncated.

> Cloudstack tries to re-download templates on S3 while they are already their.
> -----------------------------------------------------------------------------
>                 Key: CLOUDSTACK-8703
>                 URL:
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Secondary Storage
>    Affects Versions: 4.5.2
>            Reporter: Boris Schrijver
>            Assignee: Boris Schrijver
>             Fix For: 4.6.0, 4.5.2
> When the management server restarts, reason doesn't matter, it will try to list all of
the available templates on the secondary storage. To redownload them when they are missing.
On S3, S3Utils listDirectory() will not return these because of a bug introduced in the following
commit: debcbcc1454789936407583fe0aba8e158b16cad. So the management server will redownload
them all. The listDirectory() method in will only return objects when the anwser
it receives from the S3 system is truncated. So listing smaller then the pagination limit
will always return 0 obejcts.

This message was sent by Atlassian JIRA

View raw message