Arubacloud / pyArubaCloud

Python Interface for ArubaCloud IaaS Service
Apache License 2.0
33 stars 26 forks source link

ResultCode: -500 #51

Closed alemar11 closed 6 years ago

alemar11 commented 6 years ago

Hi, I'm receiving this error on smart VM creation:

{u'ResultCode': -500, u'Success': False, u'ResultMessage': u'Object reference not set to an instance of an object.\r\nExceptionCode=-500\r\n', u'ExceptionInfo': None}

Command executed:

python create_smart_vm.py -d 1 -u USERNAME -w PASSWORD -t 1608 --vmpassword VMPASSWORD --pkg small
arubalucalasagni commented 6 years ago

Hi alemar11, you are missing the --name parameter, the name that you want for your VM.

If you use the command adding the parameter you'll get your VM:

python create_smart_vm.py -d 1 -u USERNAME -w PASSWORD -t 1608 --vmpassword VMPASSWORD --pkg small --name YOURVMNAME

Surely the message is misleading.

Luca