VMware Cloud Community
bradger33
Enthusiast
Enthusiast

Upgrade vRA IaaS 6.2.1 - 6.2.2

Hi All,

I am having issues upgrading IaaS from 6.2.1 to 6.2.2. The vRA appliance upgraded with no issues, this is purely IaaS. Everything (agents, DEM) is on the same single windows 2012R2 box. The end of the log is below. The error is MSB3073 seems very generic and i also see an HTTP status 400 error. There is no proxy in the way and all ports are open as they should be (nothing changed at the network layer since the original install).

Has anyone seen this issue in any upgrades performed?

C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\DeployRepository.xml(795,5): error MSB3073: The command ""C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe" Property-SetValue -n "ReconfigureVM.AuditReconfigureProperties","HostNameVerifyDNS.AssemblyName","HostNameVerifyDNS.BaseTypeName","HostNameVerifyDNS.IsActive","HostNameVerifyDNS.IsUnique","HostNameVerifyAD.AssemblyName","HostNameVerifyAD.BaseTypeName","HostNameVerifyAD.IsActive","HostNameVerifyAD.IsUnique","HostNameVerifyVirtualMachines.AssemblyName","HostNameVerifyVirtualMachines.BaseTypeName","HostNameVerifyVirtualMachines.IsActive","HostNameVerifyVirtualMachines.IsUnique","HostNameCreateByPrefix.AssemblyName","HostNameCreateByPrefix.BaseTypeName","HostNameCreateByPrefix.IsActive","HostNameCreateByPrefix.IsUnique","UserInformationGetGroupEmail.AssemblyName","UserInformationGetGroupEmail.BaseTypeName","UserInformationGetGroupEmail.IsActive","UserInformationGetGroupEmail.IsUnique","vCloud.Director.VappActivityTaskTimeout","Agent.RecoverableErrors.DisposeVM","vCNS.MaxNumberOfRetries","Openstack.Default.Release","SCCM.MachineRegistration.Timeout","vRO.RestRequestTimeoutSeconds" -val  "False","DynamicOps.ManagementModel","HostNameVerifyBase","false","false","DynamicOps.ManagementModel","HostNameVerifyBase","false","false","DynamicOps.ManagementModel","HostNameVerifyBase","true","false","DynamicOps.ManagementModel","HostNameCreateBase","true","true","DynamicOps.ManagementModel","UserInformationGetBase","false","false","00:30","The request failed with HTTP status 400|Unable to connect to the remote server","5","","5","100" -v" exited with code 1.

[8/31/2015 10:19:37 AM]

[8/31/2015 10:19:37 AM]    4 Warning(s)

[8/31/2015 10:19:37 AM]    1 Error(s)

[8/31/2015 10:19:37 AM]

[8/31/2015 10:19:37 AM]Time Elapsed 00:02:59.73

[8/31/2015 10:19:37 AM]Failed to initialize repository.

[8/31/2015 10:19:37 AM]

[8/31/2015 10:19:37 AM]

[8/31/2015 10:21:22 AM]Installation failed. For more information, see log file.

Thanks!

0 Kudos
5 Replies
bradger33
Enthusiast
Enthusiast

Just in addtion , the section failing is setting the vCAC global properties

!-- Set vCAC Global Properties -->

<Exec Command=""$(RepoUtilDir)\RepoUtil.exe" Property-SetValue -n $(vCACPropertyNames) -val $(vCACPropertyValues) -v" WorkingDirectory="$(MSBuildProjectDirectory)"/>

0 Kudos
kumarankpl
Hot Shot
Hot Shot

Can you run the below command and see whether  "C:\Program Files (x86)\VMware\vCAC\Server\Model Manager Data\RepoUtil.exe"  Assembly-List.  And also could you the Repository.log file ? Any exceptions over there ?

Thanks

Kumaran

0 Kudos
bradger33
Enthusiast
Enthusiast

thanks for the reply. The repository.log looks fine and i have compared the assembly-list to a working version of 6.2.2 and all seems OK also.

This line looks to be the problem after looking more art the logs - but im unsure where htis value is coming from as its not in the deployrepository.xml

8/31/2015 10:19:36 AM]  System.InvalidOperationException: Failed to set Global Property value, property not found: vRO.RestRequestTimeoutSeconds

[8/31/2015 10:19:36 AM]     at DynamicOps.Repository.Core.GlobalPropertyHelper.SetValue(CoreModelEntities coreContext, String propertyName, String propertyValue)

0 Kudos
Aronov
VMware Employee
VMware Employee

Did you run the step to upgrade the database? any errors there?

Can you please logon to the MS SQL box and run the following

select * from [DynamicOps.Core].GlobalPropertyItem where Name like '%vRO.RestRequestTimeoutSeconds%'

This should return one row, if it doesent it will explain why you get the error.

0 Kudos
bradger33
Enthusiast
Enthusiast

thanks for your reply - i had indeed ran the DB upgrade first and all was successful. I have executed the query you suggested and this returned a row as expected.

cheers

0 Kudos