Skip to content

CLOUDSTACK-8687: Prepare template only on a given storage pool#715

Merged
asfgit merged 2 commits into
apache:masterfrom
devdeep:CLOUDSTACK-8687
Aug 19, 2015
Merged

CLOUDSTACK-8687: Prepare template only on a given storage pool#715
asfgit merged 2 commits into
apache:masterfrom
devdeep:CLOUDSTACK-8687

Conversation

@devdeep
Copy link
Copy Markdown
Contributor

@devdeep devdeep commented Aug 19, 2015

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. Also added unit tests to validate the functionality

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
…ionality.

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.
@asfbot
Copy link
Copy Markdown

asfbot commented Aug 19, 2015

cloudstack-pull-rats #347 ABORTED

@DaanHoogland
Copy link
Copy Markdown
Contributor

travis builds, awaiting analysis build but LGTM

@karuturi
Copy link
Copy Markdown
Member

👍

@asfgit asfgit merged commit fedef2e into apache:master Aug 19, 2015
asfgit pushed a commit that referenced this pull request Aug 19, 2015
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 <rajanikaruturi@gmail.com>
@asfbot
Copy link
Copy Markdown

asfbot commented Aug 19, 2015

cloudstack-pull-analysis #279 SUCCESS
This pull request looks good

yadvr pushed a commit that referenced this pull request Jan 20, 2021
…tion (#715)

Co-authored-by: Pearl Dsilva <pearl.dsilva@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants