VMware Cloud Community
MikeErter
Enthusiast
Enthusiast

Installing IaaS fails

Hi vCloud Community,

I'm stuck trying to get a vCAC installation stood up. Specifically, installing IaaS is failing. A log file snip from the failed installation is below. Hoping someone can offer some advice. Thanks for any help.

Info : 2014-07-24 08 07 50 025 PM :Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" on node 1 (InitializeRepo target(s)).

Info : 2014-07-24 08 07 50 025 PM :InitializeRepo:

Info : 2014-07-24 08 07 50 025 PM :  ##InitializeRepo Registering solution user in the VA, initializing Repository MetaModel and Authorization

Info : 2014-07-24 08 07 50 056 PM :  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.exe" RegisterSolutionUser -url https://vcacapp.gettyimages.net --Tenant "vsphere.local" -cu "root" -cp ******  --FileName "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.data" -v

Info : 2014-07-24 08 07 57 884 PM :  VMware.Cafe.HtmlResponseException: Unauthorized (401)

Info : 2014-07-24 08 07 57 884 PM :     at VMware.Cafe.JsonRestClient.<HandleErrorResponse>d__8d`1.MoveNext()

Info : 2014-07-24 08 07 57 884 PM :  --- End of stack trace from previous location where exception was thrown ---

Info : 2014-07-24 08 07 57 884 PM :     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

Info : 2014-07-24 08 07 57 884 PM :     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Info : 2014-07-24 08 07 57 884 PM :     at VMware.Cafe.JsonRestClient.<CreateResource>d__2d`1.MoveNext()

Info : 2014-07-24 08 07 57 884 PM :  --- End of stack trace from previous location where exception was thrown ---

Info : 2014-07-24 08 07 57 884 PM :     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

Info : 2014-07-24 08 07 57 884 PM :     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Info : 2014-07-24 08 07 57 884 PM :     at VMware.Cafe.ComponentRegistryClient.<CreateSolutionUserAsync>d__5.MoveNext()

Info : 2014-07-24 08 07 57 884 PM :  Http response:

Info : 2014-07-24 08 07 57 978 PM : StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:

Info : 2014-07-24 08 07 57 978 PM :  {

Info : 2014-07-24 08 07 57 978 PM :    Vary: Accept-Encoding

Info : 2014-07-24 08 07 57 978 PM :    Vary: User-Agent

Info : 2014-07-24 08 07 57 978 PM :    Date: Fri, 25 Jul 2014 03:07:55 GMT

Info : 2014-07-24 08 07 57 978 PM :    Content-Length: 1007

Info : 2014-07-24 08 07 57 978 PM :    Content-Type: text/html; charset=utf-8

Info : 2014-07-24 08 07 57 978 PM :  }

Info : 2014-07-24 08 07 57 978 PM :  Warning: Non-zero return code. Command failed.

Info : 2014-07-24 08 07 58 087 PM :C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(556,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.exe" RegisterSolutionUser -url https://vcacapp.company.net --Tenant "vsphere.local" -cu "root" -cp ******  --FileName "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.data" -v" exited with code 1.

Info : 2014-07-24 08 07 58 103 PM :Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InitializeRepo target(s)) -- FAILED.

Info : 2014-07-24 08 07 58 166 PM :Build FAILED.

Info : 2014-07-24 08 07 58 166 PM :"C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InitializeRepo target) (1) ->

Info : 2014-07-24 08 07 58 166 PM :(InitializeRepo target) ->

Info : 2014-07-24 08 07 58 166 PM :  C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(556,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.exe" RegisterSolutionUser -url https://vcacapp.company.net --Tenant "vsphere.local" -cu "root" -cp ******  --FileName "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.data" -v" exited with code 1.

Info : 2014-07-24 08 07 58 166 PM :    0 Warning(s)

Info : 2014-07-24 08 07 58 166 PM :    1 Error(s)

Info : 2014-07-24 08 07 58 166 PM :Time Elapsed 00:00:08.64

0 Kudos
2 Replies
GrantOrchardVMw
Commander
Commander

You're using root as the admin account (which is correct in terms of the VAMI), but you need to use administrator as the username in this case.

Grant

Grant http://grantorchard.com
0 Kudos
MikeErter
Enthusiast
Enthusiast

I don't know what the issue was, but I started over, from scratch, and it completed. Not a very satisfying answer, but at least it's installed now.

0 Kudos