VMware Cloud Community
gsaliensjr
Enthusiast
Enthusiast
Jump to solution

Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target(s)) -- FAILED.


Folks

I am implementing a vCAC distributed installation. The load balancer is a netscaler vpx and I am using Comodo signed certs. I am pulling my hair out here.

Anybody have any idea what could be the root cause for the build to fail at this point everytime?

-----------------------------------------

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.BatchStream.ReadBuffer()

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.BatchStream.ReadDelimiter(Byte[] buffer, Int32 offset, Int32 count)

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.BatchStream.Seek(Int64 offset, SeekOrigin origin)

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.BatchStream.StreamWithLength.Dispose(Boolean disposing)

Info : 2014-05-07 09 04 45 284 PM :     at System.IO.Stream.Close()

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.BatchStream.MoveNext()

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.DataServiceContext.SaveResult.<HandleBatchResponse>d__1e.MoveNext()

Info : 2014-05-07 09 04 45 300 PM :     at System.Data.Services.Client.DataServiceContext.SaveResult.HandleBatchResponse()

Info : 2014-05-07 09 04 45 300 PM :     at System.Data.Services.Client.DataServiceContext.SaveResult.EndRequest()

Info : 2014-05-07 09 04 45 300 PM :     at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions options)

Info : 2014-05-07 09 04 45 300 PM :     at DynamicOps.Repository.RepositoryServiceContext.SaveChanges(SaveChangesOptions options)

Info : 2014-05-07 09 04 45 300 PM :     at DynamicOps.Tools.Common.SecurityHelpers.InstallSecurityConfig(securityConfig config, String httpRootRepository)

Info : 2014-05-07 09 04 45 300 PM :     at DynamicOps.Tools.Common.ModelHelpers.InstallModel(String assemblyFileName, String securityFileName, String server, String catalog, String userName, String password, String httpRootRepository)

Info : 2014-05-07 09 04 45 300 PM :     at DynamicOps.Tools.Repoutil.Commands.ModelInstallCommand.Execute(CommandLineParser parser)

Info : 2014-05-07 09 04 45 300 PM :  Warning: Non-zero return code. Command failed.

Info : 2014-05-07 09 04 45 315 PM :C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(594,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Model-Install -f "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.ManagementModel.dll" -s "cnndckppcp5018.nndc.kp.org" -d "IaasDB"  -c "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\ManagementModelSecurityConfig.xml" -v" exited with code 1.

Info : 2014-05-07 09 04 45 315 PM :Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target(s)) -- FAILED.

Info : 2014-05-07 09 04 45 315 PM :Build FAILED.

Info : 2014-05-07 09 04 45 315 PM :"C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target) (1) ->

Info : 2014-05-07 09 04 45 315 PM :(InstallRepoModel target) ->

Info : 2014-05-07 09 04 45 315 PM :  C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(594,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Model-Install -f "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.ManagementModel.dll" -s "cnndckppcp5018.nndc.kp.org" -d "IaasDB"  -c "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\ManagementModelSecurityConfig.xml" -v" exited with code 1.

Info : 2014-05-07 09 04 45 315 PM :    0 Warning(s)

Info : 2014-05-07 09 04 45 315 PM :    1 Error(s)

Info : 2014-05-07 09 04 45 315 PM :Time Elapsed 00:05:38.13

--------------------------------------------------

Thanks in advance everyonee.

0 Kudos
1 Solution

Accepted Solutions
Aronov
VMware Employee
VMware Employee
Jump to solution

This more seems like a connectivity issue from the server you are installing to the repository.

It could be network configuration, firewall or something else, but you don't reach the repository

Can you open

C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe.config and locate the repositoryAddress,

append "/repository/Data/managementmodelentities.svc" and try to browse it.

View solution in original post

0 Kudos
12 Replies
nubronco
Enthusiast
Enthusiast
Jump to solution

I think that is the same issue we faced. If it fails installing the model manager data database you need to delete the database and its contents and re-install. If you don't delete that database it won't work right no matter what you do (ask me I know). Also, it probably failed on this piece because of the database not being configured 100% to the prerequisites checklist, that is what we found.

How are you installing the MSSQL database piece? We also ran into an issue where we tried to install the database using a script instead of using the GUI install, this caused us problems. I would recommend using the GUI to do the install including the database parts, if you need to make changes to the database just do it after everything is installed. Hope this helps. I just built out an environment this way a month ago so let me know if you have problems and I will try to assist.

0 Kudos
gsaliensjr
Enthusiast
Enthusiast
Jump to solution

Thanks for responding.  I am using the database scripts provided by the vCAC appliance.  If I were to setup the database via the GUI, how would I configure

it once the database is created?  Is there any settings required? 

0 Kudos
nubronco
Enthusiast
Enthusiast
Jump to solution

Yeah, the script you are talking about installs the IAAS MSSQL piece it doesn't install the model manager data piece, that part is only via the GUI and should be what caused the failure above in the first post. I would recommend just using the GUI to install the database piece. If you need to change things for the IAAS db configuration just use the MSSQL management studio software after the install.

0 Kudos
gsaliensjr
Enthusiast
Enthusiast
Jump to solution

Thanks so much, but I am not sure on how to install the model manager data piece via the GUI.  Is is possible you can provide a summary on the steps

required to do that?

0 Kudos
nubronco
Enthusiast
Enthusiast
Jump to solution

On your IAAS server you just need to use the custom installation and select the 'modelmanagerdata' feature in the gui. Then fill in the needed pieces. You do this after you have already installed the IAAS portion on the server. Forgot to mention you only install this component once in a distributed setup.

0 Kudos
gsaliensjr
Enthusiast
Enthusiast
Jump to solution

Well here is the process

I accessed Sql Studio to manaually create the datadasestep1.png

step2.pngstep3.png

step4.pngstep5.png

I am completely stumped.  Can't get past this error.

0 Kudos
Aronov
VMware Employee
VMware Employee
Jump to solution

Hi gsaliensjr.


Can you please attache the log, or provide the entire error

(all things before

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.BatchStream.ReadBuffer()

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.BatchStream.ReadDelimiter(Byte[] buffer, Int32 offset, Int32 count)

Info : 2014-05-07 09 04 45 284 PM :     at System.Data.Services.Client.BatchStream.Seek(Int64 offset, SeekOrigin origin)

)

based on

Info : 2014-05-07 09 04 45 300 PM : at DynamicOps.Repository.RepositoryServiceContext.SaveChanges(SaveChangesOptions options)

it seems you are having trouble Saving data through the Repository, but the actual exception will tell what the problem is...

0 Kudos
gsaliensjr
Enthusiast
Enthusiast
Jump to solution

Here is the contents of the Log files.  Thanks for looking into this.

----------------------------------------------------------------------------------------------------------------------------------------------

2014-05-08 12 32 00 224 PM :================= Logging started at 2014-05-08 12 32 00 208 PM ==================
2014-05-08 12 32 00 224 PM :Product version:  6.0.1.78.
Info : 2014-05-08 12 32 00 239 PM :Initialized configuration property for feature Website.  Node read DATABASE_INSTANCE.
Initialized configuration property for feature Website.  Node read DATABASE_NAME.
Initialized configuration property for feature Website.  Node read DATA_PROTECTED.
Initialized configuration property for feature Website.  Node read INSTALL_MODE.
Initialized configuration property for feature Website.  Node read SECURITY_PASSPHRASE.
Initialized configuration property for feature Website.  Node read WEBSITE_NAME.
Initialized configuration property for feature Website.  Node read CERTIFICATE.
Initialized configuration property for feature Website.  Node read SUPPRESS_CERTIFICATE_MISMATCH_FLAG.
Initialized configuration property for feature Website.  Node read HTTPS_PORT.
Initialized configuration property for feature Website.  Node read SERVICE_USER.
Initialized configuration property for feature Website.  Node read SERVICE_USER_PASSWORD.
Initialized configuration property for feature Website.  Node read MODEL_MANAGER_WEB_HOSTNAME.
Initialized configuration property for feature Website.  Node read CREATE_MSSQL_AZMAN_STORE_FLAG.
Initialized configuration property for feature Website.  Node read AZMAN_STORE_TYPE.
Initialized configuration property for feature Website.  Node read AZMAN_CONNECTION_STRING.
Initialized configuration property for feature Website.  Node read WEBSITE_LOG_PATH.
Initialized configuration property for feature Website.  Node read WEBSITE_WEBFARM_FLAG.
Initialized configuration property for feature Website.  Node read WEBSITE_SESSION_STATE_DATABASE_NAME.

Info : 2014-05-08 12 32 00 255 PM :Initialized configuration property for feature ModelManagerWeb.  Node read DATABASE_INSTANCE.
Initialized configuration property for feature ModelManagerWeb.  Node read DATABASE_NAME.
Initialized configuration property for feature ModelManagerWeb.  Node read DATA_PROTECTED.
Initialized configuration property for feature ModelManagerWeb.  Node read INSTALL_MODE.
Initialized configuration property for feature ModelManagerWeb.  Node read SECURITY_PASSPHRASE.
Initialized configuration property for feature ModelManagerWeb.  Node read WEBSITE_NAME.
Initialized configuration property for feature ModelManagerWeb.  Node read CERTIFICATE.
Initialized configuration property for feature ModelManagerWeb.  Node read SUPPRESS_CERTIFICATE_MISMATCH_FLAG.
Initialized configuration property for feature ModelManagerWeb.  Node read HTTPS_PORT.
Initialized configuration property for feature ModelManagerWeb.  Node read SERVICE_USER.
Initialized configuration property for feature ModelManagerWeb.  Node read SERVICE_USER_PASSWORD.
Initialized configuration property for feature ModelManagerWeb.  Node read MODEL_MANAGER_WEB_HOSTNAME.
Initialized configuration property for feature ModelManagerWeb.  Node read CREATE_MSSQL_AZMAN_STORE_FLAG.
Initialized configuration property for feature ModelManagerWeb.  Node read AZMAN_STORE_TYPE.
Initialized configuration property for feature ModelManagerWeb.  Node read AZMAN_CONNECTION_STRING.
Initialized configuration property for feature ModelManagerWeb.  Node read MODEL_MANAGER_WEB_LOG_PATH.

Info : 2014-05-08 12 32 00 255 PM :Initialized configuration property for feature ModelManagerData.  Node read DATABASE_INSTANCE.
Initialized configuration property for feature ModelManagerData.  Node read DATABASE_NAME.
Initialized configuration property for feature ModelManagerData.  Node read DATA_PROTECTED.
Initialized configuration property for feature ModelManagerData.  Node read INSTALL_MODE.
Initialized configuration property for feature ModelManagerData.  Node read MODEL_MANAGER_WEB_HOSTNAME.
Initialized configuration property for feature ModelManagerData.  Node read HTTPS_PORT.
Initialized configuration property for feature ModelManagerData.  Node read AZMAN_STORE_TYPE.
Initialized configuration property for feature ModelManagerData.  Node read AZMAN_CONNECTION_STRING.
Initialized configuration property for feature ModelManagerData.  Node read SMTP_ENABLE_SSL_FLAG.
Initialized configuration property for feature ModelManagerData.  Node read SMTP_WEBSITE_CONSOLE_HOSTNAME.
Initialized configuration property for feature ModelManagerData.  Node read SMTP_SERVER.
Initialized configuration property for feature ModelManagerData.  Node read SMTP_FROM_ADDRESS.
Initialized configuration property for feature ModelManagerData.  Node read SMTP_ANONYMOUS_AUTHEN_FLAG.
Initialized configuration property for feature ModelManagerData.  Node read SMTP_USER.
Initialized configuration property for feature ModelManagerData.  Node read SMTP_USER_PASSWORD.
Initialized configuration property for feature ModelManagerData.  Node read TENANT.
Initialized configuration property for feature ModelManagerData.  Node read COMPONENT_REGISTRY_CERTIFICATE_THUMBPRINT.
Initialized configuration property for feature ModelManagerData.  Node read SSO_ADMIN_PASSWORD.
Initialized configuration property for feature ModelManagerData.  Node read SSO_ADMIN_USERNAME.
Initialized configuration property for feature ModelManagerData.  Node read COMPONENT_REGISTRY_SERVER.
Initialized configuration property for feature ModelManagerData.  Node read IAAS_SERVER_LOCALIP.

Info : 2014-05-08 12 32 00 473 PM :Creating IIS binding *:443: is completed.
Info : 2014-05-08 12 32 00 489 PM :Executing C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe  -iru
Info : 2014-05-08 12 32 00 489 PM :Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Info : 2014-05-08 12 32 00 489 PM :Administration utility to install and uninstall ASP.NET on the local machine.
Info : 2014-05-08 12 32 00 489 PM :Copyright (C) Microsoft Corporation.  All rights reserved.
Info : 2014-05-08 12 32 00 489 PM :Start installing ASP.NET (4.0.30319.17929).
Info : 2014-05-08 12 32 02 299 PM :..
Info : 2014-05-08 12 32 02 299 PM :Finished installing ASP.NET (4.0.30319.17929).
Info : 2014-05-08 12 32 02 517 PM :Executing C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe  -ga "CS\svc-vcloudadmin"
Info : 2014-05-08 12 32 02 533 PM :Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Info : 2014-05-08 12 32 02 533 PM :Administration utility to install and uninstall ASP.NET on the local machine.
Info : 2014-05-08 12 32 02 533 PM :Copyright (C) Microsoft Corporation.  All rights reserved.
Info : 2014-05-08 12 32 02 533 PM :Start granting CS\svc-vcloudadmin access to the IIS configuration and other directories used by ASP.NET.
Info : 2014-05-08 12 32 02 533 PM :Finished granting CS\svc-vcloudadmin access to the IIS configuration and other directories used by ASP.NET.
Info : 2014-05-08 12 32 02 564 PM :Creating IIS application pool RepositoryAppPool is completed.
Info : 2014-05-08 12 32 02 673 PM :Creating IIS virtual application Repository is completed.
Info : 2014-05-08 12 32 02 689 PM :Updated configuration file C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Web\Web.config successfully.
Info : 2014-05-08 12 32 02 704 PM :Executing C:\Program Files (x86)\VMware\vCAC\Server\ConfigTool\EncryptionKeyTool\DynamicOps.Tools.EncryptionKeyTool.exe Key-Generate -pp "******" -s "IaasDB" -vd -cs "Data Source=cnndckppcp5018.nndc.kp.org;Initial Catalog=IaasDB;Integrated Security=true;" -uc "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Web\Web.config" -v
Info : 2014-05-08 12 32 02 704 PM :Key-Generate -pp "********" -s "IaasDB" -vd -cs "Data Source=cnndckppcp5018.nndc.kp.org;Initial Catalog=IaasDB;Integrated Security=true;" -uc "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Web\Web.config" -v
Info : 2014-05-08 12 32 02 985 PM :Info:  Encrypting passphrase is completed.
Info : 2014-05-08 12 32 02 985 PM :Executing C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe  -pa VCACKeyContainer "CS\svc-vcloudadmin"
Info : 2014-05-08 12 32 03 001 PM :Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929
Info : 2014-05-08 12 32 03 001 PM :Administration utility to install and uninstall ASP.NET on the local machine.
Info : 2014-05-08 12 32 03 001 PM :Copyright (C) Microsoft Corporation.  All rights reserved.
Info : 2014-05-08 12 32 03 001 PM :Adding ACL for access to the RSA Key container...
Info : 2014-05-08 12 32 03 094 PM :Succeeded!
Info : 2014-05-08 12 32 03 110 PM :Updated configuration file C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe.config successfully.
Info : 2014-05-08 12 32 03 110 PM :Updated configuration file C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.exe.config successfully.
Info : 2014-05-08 12 32 03 110 PM :Executing C:\Program Files (x86)\VMware\vCAC\Server\ConfigTool\EncryptionKeyTool\DynamicOps.Tools.EncryptionKeyTool.exe Key-Generate -pp "******" -s "IaasDB" -vd -cs "Data Source=cnndckppcp5018.nndc.kp.org;Initial Catalog=IaasDB;Integrated Security=true;" -uc "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.exe.config" -v
Info : 2014-05-08 12 32 03 110 PM :Key-Generate -pp "********" -s "IaasDB" -vd -cs "Data Source=cnndckppcp5018.nndc.kp.org;Initial Catalog=IaasDB;Integrated Security=true;" -uc "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.exe.config" -v
Info : 2014-05-08 12 32 03 313 PM :Info:  Encrypting passphrase is completed.
Info : 2014-05-08 12 32 03 375 PM :Executing C:\Windows\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" /t:InitializeRepo /p:RepoUtilDir="C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data";AssemblyDir="C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data" /p:DBServer="cnndckppcp5018.nndc.kp.org";DBName="IaasDB" /p:DBConnectParam="" /p:AuthStoreParam=" --store \"https://kppc.cloud.kp.org/\"" /p:InstallType="Install" /p:VmwareVcacVaHost="kppc.cloud.kp.org" /p:tenant="vsphere.local" /p:SSOAdminUser="administrator@vsphere.local" /p:SSOAdminPassword=******
Info : 2014-05-08 12 32 03 406 PM :Microsoft (R) Build Engine version 4.0.30319.17929
Info : 2014-05-08 12 32 03 422 PM :[Microsoft .NET Framework, version 4.0.30319.17929]
Info : 2014-05-08 12 32 03 422 PM :Copyright (C) Microsoft Corporation. All rights reserved.
Info : 2014-05-08 12 32 03 438 PM :Build started 5/8/2014 12:32:03 PM.
Info : 2014-05-08 12 32 03 484 PM :Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" on node 1 (InitializeRepo target(s)).
Info : 2014-05-08 12 32 03 484 PM :InitializeRepo:
Info : 2014-05-08 12 32 03 484 PM :  ##InitializeRepo Registering solution user in the VA, initializing Repository MetaModel and Authorization
Info : 2014-05-08 12 32 03 484 PM :  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.exe" RegisterSolutionUser -url https://kppc.cloud.kp.org --Tenant "vsphere.local" -cu "administrator@vsphere.local" -cp ******  --FileName "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.data" -v
Info : 2014-05-08 12 32 29 681 PM :  Command completed successfully.
Info : 2014-05-08 12 32 29 697 PM :  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Reporeg.exe" Install-MetaModel -s "cnndckppcp5018.nndc.kp.org" -d "IaasDB"  --store "https://kppc.cloud.kp.org" --FileName "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.data" -v
Info : 2014-05-08 12 32 35 407 PM :  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.exe" MoveRegistrationDataToDB --FileName "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\Cafe\Vcac-Config.data" -s "cnndckppcp5018.nndc.kp.org" -d "IaasDB" -v
Info : 2014-05-08 12 32 36 000 PM :  Command completed successfully.
Info : 2014-05-08 12 32 37 638 PM :  Registering with Service Catalog
Info : 2014-05-08 12 32 37 638 PM :Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InitializeRepo target(s)).
Info : 2014-05-08 12 32 37 638 PM :Build succeeded.
Info : 2014-05-08 12 32 37 638 PM :    0 Warning(s)
Info : 2014-05-08 12 32 37 638 PM :    0 Error(s)
Info : 2014-05-08 12 32 37 638 PM :Time Elapsed 00:00:34.21
Info : 2014-05-08 12 32 37 654 PM :Executing C:\Windows\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" /t:InstallRepoModel /p:RepoUtilDir="C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data";AssemblyDir="C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data" /p:DBServer="cnndckppcp5018.nndc.kp.org";DBName="IaasDB" /p:DBConnectParam="" /p:InstallType="Install"
Info : 2014-05-08 12 32 37 685 PM :Microsoft (R) Build Engine version 4.0.30319.17929
Info : 2014-05-08 12 32 37 685 PM :[Microsoft .NET Framework, version 4.0.30319.17929]
Info : 2014-05-08 12 32 37 685 PM :Copyright (C) Microsoft Corporation. All rights reserved.
Info : 2014-05-08 12 32 37 701 PM :Build started 5/8/2014 12:32:37 PM.
Info : 2014-05-08 12 32 37 748 PM :Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" on node 1 (InstallRepoModel target(s)).
Info : 2014-05-08 12 32 37 748 PM :InstallRepoModel:
Info : 2014-05-08 12 32 37 748 PM :  ##InstallRepoModel Install Repository Models
Info : 2014-05-08 12 32 37 748 PM :  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Assembly-SqlInstall -f  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.Core.Common.dll","C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.Core.External.dll","C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.Core.Licensing.dll","C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.ManagementModel.Common.dll","C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.VMWareModel.Common.dll" -s cnndckppcp5018.nndc.kp.org -d IaasDB -v
Info : 2014-05-08 12 32 45 377 PM :  Command completed successfully.
Info : 2014-05-08 12 32 47 015 PM :  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Model-Install -f "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.ManagementModel.dll" -s "cnndckppcp5018.nndc.kp.org" -d "IaasDB"  -c "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\ManagementModelSecurityConfig.xml" -v
Info : 2014-05-08 12 38 16 765 PM :  System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Info : 2014-05-08 12 38 16 765 PM :     at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
Info : 2014-05-08 12 38 16 765 PM :     --- End of inner exception stack trace ---
Info : 2014-05-08 12 38 16 765 PM :     at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
Info : 2014-05-08 12 38 16 765 PM :     at System.Data.Services.Client.BatchStream.ReadBuffer()
Info : 2014-05-08 12 38 16 765 PM :     at System.Data.Services.Client.BatchStream.ReadDelimiter(Byte[] buffer, Int32 offset, Int32 count)
Info : 2014-05-08 12 38 16 765 PM :     at System.Data.Services.Client.BatchStream.Seek(Int64 offset, SeekOrigin origin)
Info : 2014-05-08 12 38 16 765 PM :     at System.Data.Services.Client.BatchStream.StreamWithLength.Dispose(Boolean disposing)
Info : 2014-05-08 12 38 16 765 PM :     at System.IO.Stream.Close()
Info : 2014-05-08 12 38 16 765 PM :     at System.Data.Services.Client.BatchStream.MoveNext()
Info : 2014-05-08 12 38 16 765 PM :     at System.Data.Services.Client.DataServiceContext.SaveResult.<HandleBatchResponse>d__1e.MoveNext()
Info : 2014-05-08 12 38 16 765 PM :     at System.Data.Services.Client.DataServiceContext.SaveResult.HandleBatchResponse()
Info : 2014-05-08 12 38 16 781 PM :     at System.Data.Services.Client.DataServiceContext.SaveResult.EndRequest()
Info : 2014-05-08 12 38 16 781 PM :     at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions options)
Info : 2014-05-08 12 38 16 781 PM :     at DynamicOps.Repository.RepositoryServiceContext.SaveChanges(SaveChangesOptions options)
Info : 2014-05-08 12 38 16 781 PM :     at DynamicOps.Tools.Common.SecurityHelpers.InstallSecurityConfig(securityConfig config, String httpRootRepository)
Info : 2014-05-08 12 38 16 781 PM :     at DynamicOps.Tools.Common.ModelHelpers.InstallModel(String assemblyFileName, String securityFileName, String server, String catalog, String userName, String password, String httpRootRepository)
Info : 2014-05-08 12 38 16 781 PM :     at DynamicOps.Tools.Repoutil.Commands.ModelInstallCommand.Execute(CommandLineParser parser)
Info : 2014-05-08 12 38 16 781 PM :  Warning: Non-zero return code. Command failed.
Info : 2014-05-08 12 38 16 796 PM :C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(594,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Model-Install -f "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.ManagementModel.dll" -s "cnndckppcp5018.nndc.kp.org" -d "IaasDB"  -c "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\ManagementModelSecurityConfig.xml" -v" exited with code 1.
Info : 2014-05-08 12 38 16 796 PM :Done Building Project "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target(s)) -- FAILED.
Info : 2014-05-08 12 38 16 796 PM :Build FAILED.
Info : 2014-05-08 12 38 16 796 PM :"C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target) (1) ->
Info : 2014-05-08 12 38 16 796 PM :(InstallRepoModel target) ->
Info : 2014-05-08 12 38 16 796 PM :  C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(594,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Model-Install -f "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DynamicOps.ManagementModel.dll" -s "cnndckppcp5018.nndc.kp.org" -d "IaasDB"  -c "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\ManagementModelSecurityConfig.xml" -v" exited with code 1.
Info : 2014-05-08 12 38 16 812 PM :    0 Warning(s)
Info : 2014-05-08 12 38 16 812 PM :    1 Error(s)
Info : 2014-05-08 12 38 16 812 PM :Time Elapsed 00:05:39.09

-------------------------------------------------------------------------------------------------------------

0 Kudos
nubronco
Enthusiast
Enthusiast
Jump to solution

Info : 2014-05-08 12 38 16 765 PM :  System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

This is different than what I saw but I believe this is not having all the access it needs to the database. Can you make sure the account you installed the database piece is THE owner of database? I believe this will be true for you also, support told me before I attempt to install the model manager piece again I needed to uninstall everything (including removing the database instance) and then re-install.

Hopefully, this helps. Did you reach out to support, I am sure they would find the issue quickly. Good luck.

Aronov
VMware Employee
VMware Employee
Jump to solution

This more seems like a connectivity issue from the server you are installing to the repository.

It could be network configuration, firewall or something else, but you don't reach the repository

Can you open

C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe.config and locate the repositoryAddress,

append "/repository/Data/managementmodelentities.svc" and try to browse it.

0 Kudos
AlokShrivastwa
Enthusiast
Enthusiast
Jump to solution

So, looks like the Model Manager is not being pushed.

Also the error suggests SQL issue.

1. Disable any proxies you have have configured (Or Automatically Detect Settings)

2. In the SQL, under the database(refresh it if its and already open connection), expand security , you should see a "ServiceUser" (Which will have your windows user that you choose_ - if you dont see then this is your issue., some of the DB scripts dont actually add the ServiceUser when executed if this is the case, I will provide the SQL script to add it

gsaliensjr
Enthusiast
Enthusiast
Jump to solution

All I was able to install the Website component.

I redeployed a Windows 2008 R2 VM and did the following:

1.       Microsoft .NET Framework 4.5 needs to be installed

IIS Server Role installed
Currently only Microsoft Internet Information Services (IIS) 7.5 is supported. IIS Server role must be installed with the following Role Services using Server Manager (More information on installing IIS can be found here😞

    1. Static Content
    2. Default Document
    3. HTTP Redirection (required for vCAC Self-Service Portal)
    4. ASP.NET
    5. ISAPI Extensions
    6. ISAPI Filter
    7. Windows Authentication

  1. IIS Authentication configuration
    After installing IIS, you’ll need to do some configuration within IIS:
    1. Open Internet Information Services (IIS) Manager
    2. In the tree pane, expand the <machine name>, Sites, to reach the Default Web Site
    3. In the results pane, double click on Authentication
    4. Disable Anonymous Authentication
    5. Enable Windows Authentication
    6. Highlight Windows Authentication and click on Providers under Actions on the right hand side

               i.      Remove Negotiate from the Enabled Providers list

               i.      Add Negotiate back into the list, making sure it is the first provider in the list. (This is necessary due to a bug in IIS)                      ii.      Both Negotiate and NTLM providers should be enabled

    1. Open Advanced Settings (above Providers)

i.      In the drop down box for Extended Protection change it to Accept and then change it back to Off again

ii.      Kernel-Mode Authentication should be enabled

iii.      Click OK. (This is necessary due to a bug in IIS)

     

  1. Windows Process Activation Service installedthe following procedure to add the Windows Process Activation Service feature:
    1. Open Server Manager
    2. Expand the Windows Process Activation Service feature

  i.      Select Process Model, .Net Environment, Configuration APIs 

    1. Expand the .Net Framework 3.5.1 Features

i.      Select both .Net Framework 3.5.1 and WCF Activation

ii.      Make sure that both HTTP Activation and Non-HTTP Activation is selected

    1. Complete the installation of the Windows Features

Add certificates to IIS ( Very important you have domain certs in a distributed install.  The certs comman name should be fqdn of the service required. For example, for the 2 servers I used for the website component my cert was called vcacweb.pslab.net.pfx.  For the servers supporting manager service I used vcacmgr.pslab.net.pfx

  1. Microsoft Distributed Transaction Coordinator Service (MS DTC) enabled
    This service is responsible for coordinating transactions that span multiple systems. To enable this service use the following procedure:
    1. Open Component Services from Administrative Tools
    2. In the tree pane, click Component Services –> Computers –> My Computer –> Distributed Transaction Coordinator
    3. In the results pane, right click on Local DTC and select Properties
    4. Select the Security tab
    5. Select Network DTC Access, Allow Remote Clients, Allow Remote Administration, Allow InBound, and Allow OutBound (Leave everything else as is)
    6. Select OK
  2. Log on as a batch job right
    This right is required for the domain user that you are planning to use as the IIS application pool identity for the Model Manager Web Service. I would recommend using a separate service account. To add the Log on as a batch job right:
    1. Open Local Security Policy from Administrative Tools
    2. In the tree pane, expand Local Policies, then select User Rights Assignment
    3. Double-click Log on as a batch job
    4. Click Add User or Group
    5. Add the user that will be used to run the IIS Application pool identity for the Model Manager Web Service
    6. Click OK

  1. Log on as a service right
    The domain user that you are planning to use as the IIS application pool identity for the Model Manager Web Service requires the Log on as a service right
    1. Open Local Security Policy from Administrative Tools
    2. In the tree pane, expand Local Policies, then select User Rights Assignment
    3. Double-click Log on as a service
    4. Click Add User or Group
    5. Add the user that will be used to run the IIS Application pool identity for the Model Manager Web Service
    6. Click OKConfirm Secondary Logon service is enabled and set Automatic
    7. Disable any Proxy including Automatically Detect Proxy setting in IE
    8. Increase the Connection Timeout for IIS to 12000 IIS Manager > Sites> Set Website Defaults > Connection Limits > Connection Time-out: 12000

Disable Strict Name checking

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters
Under parameters add a new DWORD.
The name is DisableStrictNameChecking, and the value should be set to 1

1.      Make sure that you install .Net framework before installing IIS. If you fail to do so, .Net is not registered properly with IIS. To fix that use the following procedure:

    1. Open a command line on the server as administratorChange directories into your .Net 4.5 directory (most likely C:\Windows\Microsoft.NET\Framework\v4.0.30319)C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -iru
    2. Type aspnet_regiis.exe -i and press enter

Type iisreset and press enter

For the database server ensure that the domain service account you are using has SysAdmin adn DBO for the database.

0 Kudos