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

I created a virtual machine "test0408" through a template of vmware "centos7.4", but the error "A specified parameter was not correct: spec.location.pool', #698

Open
z287415696 opened this issue Apr 8, 2022 · 0 comments
Labels

Comments

@z287415696
Copy link

Describe the bug

amples> python .\clone_vm.py -s "10.108.1.1" -u "administrator@vsphere.local" -p "xx" --template "centos7.4" -v "test0408" -nossl --datacenter-name 'NSKF-BACKUPDATA'
cloning VM...
there was an error
(vmodl.fault.InvalidArgument) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = 'A specified parameter was not correct: spec.location.pool',
faultCause = ,
faultMessage = (vmodl.LocalizableMessage) [],
invalidProperty = 'spec.location.pool'
}
VM cloned.
PS E:\svn2\work\pyvmomi-community-samples-master\pyvmomi-community-samples-master\samples>

Reproduction steps

amples> python .\clone_vm.py -s "10.108.1.1" -u "administrator@vsphere.local"  -p "xx" --template "centos7.4"  -v "test0408"  -nossl --datacenter-name 'NSKF-BACKUPDATA'
cloning VM...
there was an error
(vmodl.fault.InvalidArgument) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   msg = 'A specified parameter was not correct: spec.location.pool',
   faultCause = <unset>,
   faultMessage = (vmodl.LocalizableMessage) [],
   invalidProperty = 'spec.location.pool'
}
VM cloned.
PS E:\svn2\work\pyvmomi-community-samples-master\pyvmomi-community-samples-master\samples>

Expected behavior

amples> python .\clone_vm.py -s "10.108.1.1" -u "administrator@vsphere.local" -p "xx" --template "centos7.4" -v "test0408" -nossl --datacenter-name 'NSKF-BACKUPDATA'
cloning VM...
there was an error
(vmodl.fault.InvalidArgument) {
dynamicType = ,
dynamicProperty = (vmodl.DynamicProperty) [],
msg = 'A specified parameter was not correct: spec.location.pool',
faultCause = ,
faultMessage = (vmodl.LocalizableMessage) [],
invalidProperty = 'spec.location.pool'
}
VM cloned.
PS E:\svn2\work\pyvmomi-community-samples-master\pyvmomi-community-samples-master\samples>

Additional context

No response

@z287415696 z287415696 added the bug label Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant