VMware Cloud Community
justme00
Enthusiast
Enthusiast

vRA IaaS upgrade from 6.2.2 to 6.2.3 - VMware vCloud Automation Center Management Agent error

Hello,

  I've ugpraded vRA from 6.2.2 to 6.2.3 . Everything went ok . Afterwards I've upgraded the IaaS Components  -> Again , no issue . However , I encounter the below error with the VMware vCloud Automation Center Management Agent service . It starts the automatically stops , and this is the error that I see in Application log:

Log Name:      Application

Source:        ManagementAgentService

Date:          9/14/2015 8:46:41 PM

Event ID:      0

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      xxxxx

Description:

Service cannot be started. System.Configuration.ConfigurationErrorsException: Required attribute 'id' not found. (C:\Program Files (x86)\VMware\vCAC\Management Agent\VMware.IaaS.Management.Agent.exe.Config line 7)

   at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)

   at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)

   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)

   at VMware.IaaS.Management.Agent.ConfigurationManagerWrapper.GetSection[T](String sectionName)

   at VMware.IaaS.Management.Agent.ApplicationSettingsService.get_AgentIdentifier()

...

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="ManagementAgentService" />

    <EventID Qualifiers="0">0</EventID>

    <Level>2</Level>

    <Task>0</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2015-09-14T17:46:41.000000000Z" />

    <EventRecordID>38943</EventRecordID>

    <Channel>Application</Channel>

    <Computer>xxxxxx</Computer>

    <Security />

  </System>

  <EventData>

    <Data>Service cannot be started. System.Configuration.ConfigurationErrorsException: Required attribute 'id' not found. (C:\Program Files (x86)\VMware\vCAC\Management Agent\VMware.IaaS.Management.Agent.exe.Config line 7)

   at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)

   at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object&amp; result, Object&amp; resultRuntimeObject)

   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object&amp; result, Object&amp; resultRuntimeObject)

   at VMware.IaaS.Management.Agent.ConfigurationManagerWrapper.GetSection[T](String sectionName)

   at VMware.IaaS.Management.Agent.ApplicationSettingsService.get_AgentIdentifier()

...</Data>

  </EventData>

</Event>

I'm also pasting the contents of the file C:\Program Files (x86)\VMware\vCAC\Management Agent\VMware.IaaS.Management.Agent.exe.Config  :

<?xml version="1.0" encoding="utf-8"?>

<configuration>

  <configSections>

    <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    <section name="agentConfiguration" type="VMware.IaaS.Management.Agent.Configuration.ManagementAgentConfigurationSection, VMware.IaaS.Management.Agent"/>

  </configSections>

  <agentConfiguration pollingInterval="00:03:00">

    <managementEndpoints>

      <endpoint address="https://vra.fqdn:5480/" thumbprint="0F51520ABB5484507A03A113EA00D18E77DC2E7E"/>

    </managementEndpoints>

  </agentConfiguration>

 

<loggingConfiguration configSource="VMware.IaaS.Management.Agent.Logging.config"/></configuration>

Any ideeas ? Thank you .

Tags (3)
0 Kudos
6 Replies
justme00
Enthusiast
Enthusiast

Any advice on this ? Or did anyone else encountered this ?

Thank you.

0 Kudos
kumarankpl
Hot Shot
Hot Shot

Looks like your config file is missing some require values. Is there an old config file available some where in the file systesm?

Thanks

Kumaran

0 Kudos
kumarankpl
Hot Shot
Hot Shot

Forgot to ask whether its fresh install or upgraded enviornment. to 6.2.3 ?

Thanks

Kumaran

0 Kudos
kumarankpl
Hot Shot
Hot Shot

Sorry forgot to read the Post. Looks like you have upgraded then there should be a config file. Then you should be able to compare both the config files. Then you could see some missing elements like id and few more paramenters.

Thanks

Kumaran

willonit
Hot Shot
Hot Shot

There are known issues with 6.2.3 and it has currently been pulled. If you continue experiencing issues open an SR to see if your issue is related.

justme00
Enthusiast
Enthusiast

Makes no sense to open a SR , as this is a test environment . Reverted back to the snapshots , will wait for a future release.

Thank you all.

0 Kudos