Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed missing resource pool in linked clone from a template #61

Merged
merged 1 commit into from
May 20, 2014
Merged

Fixed missing resource pool in linked clone from a template #61

merged 1 commit into from
May 20, 2014

Conversation

mkuzmin
Copy link
Contributor

@mkuzmin mkuzmin commented May 7, 2014

At the moment linked_clone option works only from cloning from a virtual machine. Cloning from a template fails with the error:

InvalidArgument: A specified parameter was not correct.
spec.location.pool
No error message

This pull request fixes this issue by populating CloneSpec with resource pool value in both linked and not linked cloning cases.
Probably the same logic should be applied to datastore value, but I have no such environment to test, so leave this untouched.

@flamingbear flamingbear merged commit 9a47faf into nsidc:master May 20, 2014
flamingbear added a commit that referenced this pull request May 20, 2014
@mkuzmin mkuzmin deleted the resource-pool branch July 2, 2014 12:50
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.

2 participants