Apologies in advanced if this is not the correct forum for CloudClient issues/bugs.
Version: cloudclient-3.3.1-2966416
I downloaded CloudClient 3.3.1 yesterday, and was trying to run the "vra provisioneditem action execute" command, but it kept giving me an error that the '--id' parameter was not a valid UUID. I ran this before using the VM name as the id with v3.1.0 and never had a problem. Even the help says the 'id' parameter can be an "ID or name". Here is the error:
Version : 3.3.1
*Tip* : You can hit tab to move through commands and arguments
Welcome to the VMware CloudClient
CloudClient>vra provisioneditem action execute --id "mytestvm" --action "Power Off"
Error: The input provided resulted in a REST exception: Invalid UUID string: mytestvm. The HTTP status is 400 - BAD_REQUEST.
Using cloudclient-3.1.0-2375258:
Version : 3.1.0
*Tip* : You can hit tab to move through commands and arguments
Welcome to the VMware CloudClient
CloudClient>vra provisioneditem action execute --id "mytestvm" --action "Power Off"
Success.
Per support there is a maintenance release coming out soon (next month or so) that will fix this issue.
We would need to leverage workarounds to supply UUID instead of name for now.
Trying to duplicate your issue...
Yeah. The Name should work per the online help, and it indeed does not.
Probably the best bet is to open a service ticket with VMware. CloudClient is a "supported" application.
I suppose the workaround would be to get the ID from the machine before making the call.
Per support there is a maintenance release coming out soon (next month or so) that will fix this issue.
We would need to leverage workarounds to supply UUID instead of name for now.
Thanks Sean. For now I downgraded to 3.1 until a new update comes out.
Oh good idea!