[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] Getting FIELD_TYPE_ERROR



Using Python 3

session.xenapi.VM.set_VCPUs_max(newvm, cpus)

The parameters that are going to request are session_id, vm_id, no_of_vcpu's
The vm is in halted state
('OpaqueRef:06d954c3-3c3a-a8a8-8143-6532a145bd57', 'OpaqueRef:9d74d397-9058-ec16-1a0f-5aea7fd5d952', 4)

But getting error of field_type_error {'ErrorDescription': ['FIELD_TYPE_ERROR', 'value'], 'Status': 'Failure'}

Can you guys please help me where am I doing wrong ???
what should be value of vcpu's ???
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.