[
https://issues.apache.org/jira/browse/CLOUDSTACK-8687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14702832#comment-14702832
]
ASF subversion and git services commented on CLOUDSTACK-8687:
-------------------------------------------------------------
Commit e384f2d14684970d034f50f30bc7c3994fbfa9c0 in cloudstack's branch
refs/heads/master from [~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e384f2d ]
Merge pull request #715 from devdeep/CLOUDSTACK-8687
CLOUDSTACK-8687: Prepare template only on a given storage poolUpdate prepare
template api to seed/prepare a template only on a given primary storage.
Currently, the prepare template api will seed/prepare a given template on all
the primary storage pools in a zone. If however, a user wishes to prepare a
template only a particular storage pool, it isn't possible. Updated the api to
take storage pool id as an optional parameter. If the pool id is provided then
the template is prepared only on the given primary storage pool. Also added
unit tests to validate the functionality
* pr/715:
CLOUDSTACK-8687: Unit tests for validating the prepare template
functionality. These tests validate that the templates get scheduled for
seeding. Additionally, if a template is already seeded, we do not try and seed
it again. Tests also validate that templates are seeded to storage pools which
are available.
CLOUDSTACK-8687: Update prepare template api to seed/prepare a template only
on a given primary storage. Currently, the prepare template api will
seed/prepare a given template on all the primary storage pools in a zone. If
however, a user wishes to prepare a template only a particular storage pool, it
isn't possible. Updated the api to take storage pool id as an optional
parameter. If the pool id is provided then the template is prepared only on the
given primary storage pool
Signed-off-by: Rajani Karuturi <[email protected]>
> Update prepare template api to seed/prepare a template only on a give primary
> storage
> -------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8687
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8687
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Devdeep Singh
> Assignee: Devdeep Singh
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Currently, the prepare template api will seed/prepare a given template on all
> the primary storage pools in a zone. If however, a user wishes to prepare a
> template only a particular storage pool, it isn't possible.
> The prepare template api should be updated to allow seedng/preparing a
> template only on a given primary storage pool.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)