MakeItWork
Enthusiast
Enthusiast

vRA 7.0.1 invalid_grant when attempting to add a vRA Host using vRO

Good morning all,

I'm getting this in vRO when I try to add a new vRA Host for a new tenant.

[2016-04-18 09:33:18.738] [E] Error connecting to vCAC server! {

  "error": "invalid_grant",

  "error_description": "Invalid username or password"

} (Workflow:Add a vRA host / Add a vRA host (item0)#58067) - Neptune

[2016-04-18 09:33:18.764] [E] Workfow execution stack:

***

item: 'Add a vRA host/item2', state: 'failed', business state: 'null', exception: 'Error connecting to vCAC server! {

  "error": "invalid_grant",

  "error_description": "Invalid username or password"

} (Workflow:Add a vRA host / Add a vRA host (item0)#58067)'

workflow: 'Add a vRA host' (0c8620c8-056b-4820-8d8e-9744fe22e406)

|  'attribute': name=errorCode type=string value=Error connecting to vCAC server! {

  "error": "invalid_grant",

  "error_description": "Invalid username or password"

} (Workflow:Add a vRA host / Add a vRA host (item0)#58067)

|  'input': name=name type=string value=Neptune

|  'input': name=url type=string value=https://neptune.<my new tenant>.lan

|  'input': name=tenant type=string value=<my new tenant>

|  'input': name=authUsername type=string value=svc.devcloud@<my new tenant>.lan

|  'input': name=authPassword type=SecureString value=__NULL__

|  'input': name=connectionTimeout type=number value=30.0

|  'input': name=operationTimeout type=number value=60.0

|  'input': name=sessionMode type=string value=Shared Session

|  'input': name=acceptAllCertificates type=boolean value=true

|  'output': name=vcacHost type=vCACCAFE:VCACHost value=null

*** End of execution stack.

This is a new 7.0.1 installation. At first I tried just using the embedded vRO, then a stand alone.  Both get the same error.

I've tried two different administrator UID/Passwords as well as administrator@vsphere.local

As this is in the lab, I really can't open a case.

Has anyone seen this, and if so where you able to fix it?

Visit us at http://www.cloudnutz.com and twitter @cloudnutz
3 Replies
MakeItWork
Enthusiast
Enthusiast

Ok, so I figured it out.

You can only add the vRA Host using a local (vsphere.local) tenant admin account with this version (7.0.1). Not sure if this is by design, or a 'feature'.

Plus I tried to update the vRA Host in 7.0.1 using a domain tenant admin account and got the same error.

I checked my 7.0.0 and confirmed that I did use a domain (service account) to add the host.

I'm using 7.0.1-150.3622989, downloaded late last week.

Visit us at http://www.cloudnutz.com and twitter @cloudnutz
koushik_vmware
Enthusiast
Enthusiast

Hello,

I am using vRA 7.0.0 ( build : 3292778) and was able to add the vRA host using some domain account successfully.

But issue is that sometimes I received the below error during connecting the vRA host using that domain account from my custom workflow. It's a bug with 7.0.0 ?

How can I get rid of this issue ? Any idea ? work-around ?

Error: Invalid grant

Error Description: Invalid username or password

Thanks,

0 Kudos
deanemerson
Contributor
Contributor

Having the same issue in 7.2

Cannot add using service account or administrator / vsphere.local account.

Upgraded version from 7.0.1 to 7.2

0 Kudos