VMware Cloud Community
CityRoamer
Contributor
Contributor
Jump to solution

vCAC IaaS web component upgrade v.6.2.2 to v.6.2.5 failure - File DynamicOps.ManagementModel.dll not found

Keep running into this same error when running the upgrader onto the primary leg of our Windows 2012 R2 IaaS web server.  We have already completed the following pre-reqs, but they have not resolved the issue:

  • Disable secondary Web server in load balancer configuration and shut off IIS in secondary web server
  • Upgrade to .NET Framework 4.5
  • Obtain new updated Symantec signed cert and import into IIS and update binding
  • Add entry to hosts file to re-direct traffic from load balancer to local server
  • Run Brian Graf’s pre-req PS automation script successfully (https://blogs.vmware.com/vsphere/2013/12/vmware-vcloud-automation-center-6-pre-req-automation-script...)
  • Create BackConnectionHostNames registry key in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0

[3/6/2017 2:15:49 PM]Installer version 6.2.5.8780, checking installed components:

[3/6/2017 2:15:49 PM]Found component C:\Program Files (x86)\VMware\vCAC\Server\ (), version 6.2.5.8780

[3/6/2017 2:15:49 PM]Found component D:\vcac\Server\Website\ (), version 6.2.5.8780

[3/6/2017 2:15:49 PM]Found component D:\vcac\Server\Model Manager Data\ (), version 6.2.5.8780

[3/6/2017 2:15:49 PM]Found component D:\vcac (), version 6.2.2.4020

[3/6/2017 2:15:49 PM]Found component D:\vcac\Server\Model Manager Web\ (), version 6.2.5.8780

[3/6/2017 2:15:49 PM]Found component D:\vcac\Management Agent\ (), version 6.2.2.4020

[3/6/2017 2:18:28 PM]Backing up existing website data.

[3/6/2017 2:18:28 PM]Upgrading all local server components.

[3/6/2017 2:18:28 PM]Installing vCAC Server Setup files on the disk

[3/6/2017 2:18:28 PM]Executing:"C:\Users\a0120154\AppData\Local\Temp\2\vCAC\Msi\vCAC-Server-Setup.exe" /s /w /V"/qn ADDLOCAL=Database,Website,ModelManagerWeb,ModelManagerData,ManagerService /norestart /Lvoicewarmup! \"C:\Program Files (x86)\VMware\vCAC\InstallLogs\Server-Setup.log""

[3/6/2017 2:18:42 PM]vCAC Server Setup Installation Succeeded, ExitCode:0

[3/6/2017 2:18:42 PM]Execution time:14.328

[3/6/2017 2:18:42 PM]Started updating Model Manager Web configuration file.

[3/6/2017 2:18:42 PM]Updated Model Manager Web configuration file.

[3/6/2017 2:18:42 PM]Updating web.config.

[3/6/2017 2:18:43 PM]Started updating website configuration file

[3/6/2017 2:18:43 PM]Updated website configuration file.

[3/6/2017 2:18:43 PM]Upgrading core repository models.

[3/6/2017 2:18:43 PM]Started initializing Repository via RepoReg CLI.

[3/6/2017 2:18:43 PM]Microsoft (R) Build Engine version 4.6.1055.0

[3/6/2017 2:18:43 PM][Microsoft .NET Framework, version 4.0.30319.42000]

[3/6/2017 2:18:43 PM]Copyright (C) Microsoft Corporation. All rights reserved.

[3/6/2017 2:18:43 PM]

[3/6/2017 2:18:43 PM]Build started 3/6/2017 2:18:43 PM.

[3/6/2017 2:18:44 PM]Project "D:\vcac\Server\Model Manager Data\DeployRepository.xml" on node 1 (UpdateRepo target(s)).

[3/6/2017 2:18:44 PM]UpdateRepo:

[3/6/2017 2:18:44 PM]  "D:\vcac\Server\Model Manager Data\Reporeg.exe" Update-MetaModel -s "<servername>" -d "vcac"  --Filename "D:\vcac\Server\Model Manager Data\Cafe\Vcac-Config.data" -v

[3/6/2017 2:18:44 PM]  [Repo Reg]Running SQL Commands

[3/6/2017 2:18:44 PM] 

[3/6/2017 2:18:44 PM]  [Repo Reg]Initialize Repository Model

[3/6/2017 2:18:44 PM] 

[3/6/2017 2:18:45 PM]  [Repo Reg]Initialize Security Model

[3/6/2017 2:18:45 PM] 

[3/6/2017 2:18:45 PM]  [Repo Reg]Initialize TrackingModel

[3/6/2017 2:18:45 PM] 

[3/6/2017 2:18:45 PM]  [Repo Reg]Initialize Core Model

[3/6/2017 2:18:45 PM] 

[3/6/2017 2:18:46 PM]  [Repo Reg]Done

[3/6/2017 2:18:46 PM] 

[3/6/2017 2:18:46 PM]Done Building Project "D:\vcac\Server\Model Manager Data\DeployRepository.xml" (UpdateRepo target(s)).

[3/6/2017 2:18:46 PM]

[3/6/2017 2:18:46 PM]Build succeeded.

[3/6/2017 2:18:46 PM]    0 Warning(s)

[3/6/2017 2:18:46 PM]    0 Error(s)

[3/6/2017 2:18:46 PM]

[3/6/2017 2:18:46 PM]Time Elapsed 00:00:02.37

[3/6/2017 2:18:46 PM]Initialized repository.

[3/6/2017 2:18:58 PM]Info: Performed IIS administrative task.

[3/6/2017 2:18:58 PM]Upgrading all models.

[3/6/2017 2:18:58 PM]Started initializing Repository via RepoReg CLI.

[3/6/2017 2:18:58 PM]Microsoft (R) Build Engine version 4.6.1055.0

[3/6/2017 2:18:58 PM][Microsoft .NET Framework, version 4.0.30319.42000]

[3/6/2017 2:18:58 PM]Copyright (C) Microsoft Corporation. All rights reserved.

[3/6/2017 2:18:58 PM]

[3/6/2017 2:18:58 PM]Build started 3/6/2017 2:18:58 PM.

[3/6/2017 2:18:58 PM]Project "D:\vcac\Server\Model Manager Data\DeployRepository.xml" on node 1 (InstallRepoModel target(s)).

[3/6/2017 2:18:58 PM]UnInstallRepoModel:

[3/6/2017 2:18:58 PM]   UnInstallRepoModel target is running -------------------

[3/6/2017 2:18:58 PM]  "D:\vcac\Server\Model Manager Data\RepoUtil.exe" Model-Uninstall -f DynamicOps.ManagementModel.dll -v

[3/6/2017 2:19:03 PM]  System.InvalidOperationException: File DynamicOps.ManagementModel.dll not found.

[3/6/2017 2:19:03 PM]     at DynamicOps.Tools.Common.ModelHelpers.UninstallModel(String fileName, String httpRootRepository)

[3/6/2017 2:19:03 PM]     at DynamicOps.Tools.Repoutil.Commands.ModelUninstallCommand.Execute(CommandLineParser parser)

[3/6/2017 2:19:03 PM]  Warning: Non-zero return code. Command failed.

[3/6/2017 2:19:03 PM]D:\vcac\Server\Model Manager Data\DeployRepository.xml(888,5): error MSB3073: The command ""D:\vcac\Server\Model Manager Data\RepoUtil.exe" Model-Uninstall -f DynamicOps.ManagementModel.dll -v" exited with code 1.

[3/6/2017 2:19:03 PM]Done Building Project "D:\vcac\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target(s)) -- FAILED.

[3/6/2017 2:19:03 PM]

[3/6/2017 2:19:03 PM]Build FAILED.

[3/6/2017 2:19:03 PM]

[3/6/2017 2:19:03 PM]"D:\vcac\Server\Model Manager Data\DeployRepository.xml" (InstallRepoModel target) (1) ->

[3/6/2017 2:19:03 PM](UnInstallRepoModel target) ->

[3/6/2017 2:19:03 PM]  D:\vcac\Server\Model Manager Data\DeployRepository.xml(888,5): error MSB3073: The command ""D:\vcac\Server\Model Manager Data\RepoUtil.exe" Model-Uninstall -f DynamicOps.ManagementModel.dll -v" exited with code 1.

[3/6/2017 2:19:03 PM]

[3/6/2017 2:19:03 PM]    0 Warning(s)

[3/6/2017 2:19:03 PM]    1 Error(s)

[3/6/2017 2:19:03 PM]

[3/6/2017 2:19:03 PM]Time Elapsed 00:00:04.95

[3/6/2017 2:19:03 PM]Failed to initialize repository.

[3/6/2017 2:19:03 PM]

[3/6/2017 2:19:03 PM]

[3/6/2017 2:19:08 PM]Installation failed. For more information, see log file.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
CityRoamer
Contributor
Contributor
Jump to solution

Update:  We were able to get this resolved with a VMware vRA support engineer. Needed to re-register assemblies into SQL DB in order for installer to un-register and upgrade them.  Most likely occurred from mutliple install attempts that had failed for other reasons, but left these asemblies as already registered and the installation didn't like that.  Ran following commands:

"C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Assembly-List

"C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" model-sqlupdate -f DynamicOps.ManagementModel.dll -v -s <servername> -d vcac

/****** Script for SelectTopNRows command from SSMS  ******/

SELECT TOP 1000 [Id]

      ,[FullyQualifiedName]

      ,[FileName]

      ,[Content]

  FROM [vCAC].[DynamicOps.RepositoryModel].[Assemblies]

RepoUtil.exe Model-Install -f DynamicOps.ManagementModel.dll -s "<servername>" -d "vcac" -c "ManagementModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.AmazonWSModel.dll -s "<servername>" -d "vcac" -c "AmazonWSModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.UcsModel.dll -s "<servername>" -d "vcac" -c "UcsModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.ScvmmModel.dll -s "<servername>" -d "vcac" -c "ScvmmModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.VMWareModel.dll -s "<servername>" -d "vcac" -c "VMWareModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.VCNSModel.dll -s "<servername>" -d "vcac" -c "VCNSModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.WorkQueueModel.dll -s "<servername>" -d "vcac" -c "WorkQueueModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.OpenstackModel.dll -s "<servername>" -d "vcac" -c "OpenstackModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.ReportsModel.dll -s "<servername>" -d "vcac" -c "ReportsModelSecurityConfig.xml" -v

-v

View solution in original post

0 Kudos
1 Reply
CityRoamer
Contributor
Contributor
Jump to solution

Update:  We were able to get this resolved with a VMware vRA support engineer. Needed to re-register assemblies into SQL DB in order for installer to un-register and upgrade them.  Most likely occurred from mutliple install attempts that had failed for other reasons, but left these asemblies as already registered and the installation didn't like that.  Ran following commands:

"C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Assembly-List

"C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" model-sqlupdate -f DynamicOps.ManagementModel.dll -v -s <servername> -d vcac

/****** Script for SelectTopNRows command from SSMS  ******/

SELECT TOP 1000 [Id]

      ,[FullyQualifiedName]

      ,[FileName]

      ,[Content]

  FROM [vCAC].[DynamicOps.RepositoryModel].[Assemblies]

RepoUtil.exe Model-Install -f DynamicOps.ManagementModel.dll -s "<servername>" -d "vcac" -c "ManagementModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.AmazonWSModel.dll -s "<servername>" -d "vcac" -c "AmazonWSModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.UcsModel.dll -s "<servername>" -d "vcac" -c "UcsModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.ScvmmModel.dll -s "<servername>" -d "vcac" -c "ScvmmModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.VMWareModel.dll -s "<servername>" -d "vcac" -c "VMWareModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.VCNSModel.dll -s "<servername>" -d "vcac" -c "VCNSModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.WorkQueueModel.dll -s "<servername>" -d "vcac" -c "WorkQueueModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.OpenstackModel.dll -s "<servername>" -d "vcac" -c "OpenstackModelSecurityConfig.xml" -v

RepoUtil.exe Model-Install -f DynamicOps.ReportsModel.dll -s "<servername>" -d "vcac" -c "ReportsModelSecurityConfig.xml" -v

-v

0 Kudos