top of page

Experienced Technology Product Manager adept at steering success throughout the entire product lifecycle, from conceptualization to market delivery. Proficient in market analysis, strategic planning, and effective team leadership, utilizing data-driven approaches for ongoing enhancements.

  • Twitter
  • LinkedIn
White Background

No valid endpoints found in the Management Agent

You may encounter the following exception during vRA 7.x patching


While executing patchscript.sh file, following exception, is seen



_main__ - ERROR : 242 - ('Command execution result:\nCommand id: edc117f3-bd3e-4589-8891-a9c889f2262f\n Type: upgrade->management-agent\n Node id: 523C2C66-A308-43AE-8D2A-63FE41C19A9F\n Node host: seveniaas.prem.com\n Result: No >valid endpoints found in the Management Agent\'s configuration.\n Result description: System.InvalidOperationException: >No valid endpoints found in the Management Agent\'s configuration.\r\n at >VMware.IaaS.Management.Commands.Installation.ParameterHelper.GetFirstAvailableEndpointFromContext(IExecutionContext >context)\r\n at VMware.IaaS.Management.Commands.Installation.ParameterHelper.SetContextParameters(IExecutionContext >context, InstallParameters installParameters)\r\n at >VMware.IaaS.Management.Commands.Installation.UpgradeManagementAgentCommand.Execute(IExecutionContext context, IList`1 >parameters)\n Error: {"1":[{"resultDescr":"System.InvalidOperationException: No valid endpoints found in the Management >Agent\'s configuration.\\r\\n at >VMware.IaaS.Management.Commands.Installation.ParameterHelper.GetFirstAvailableEndpointFromContext(IExecutionContext >context)\\r\\n at VMware.IaaS.Management.Commands.Installation.ParameterHelper.SetContextParameters(IExecutionContext >context, InstallParameters installParameters)\\r\\n at >VMware.IaaS.Management.Commands.Installation.UpgradeManagementAgentCommand.Execute(IExecutionContext context, IList`1 >parameters)","resultMsg":"No valid endpoints found in the Management Agent\'s configuration."}]}\n Status: FAILED\n\n', >'Error executing command')

This resolution works only if there aren't any patch applied in the environment i.e Environment is on GA


Here's the resolution

1. SSH into the virtual appliance master node and replace the "isApplied" value to true by running this command: 
sed -i 's/false/true/g' /usr/lib/vcac/patches/repo/contents/vRA-patch/self-patch.json

2. Take "vCAC-IaaSManagementAgent-Setup.msi" file from this location of virtual appliance master node: "/usr/lib/vcac/patches/repo/contents/vRA-patch" and put into all the IAAS Nodes.

3. Uninstall previously installed management agent and install new management agent by clicking this new vCAC-IaaSManagementAgent->Setup.msi file.

4. After management agent is installed successfully in all IAAS Nodes, Verify in cluster tab of vRA that version of >management agent has been updated for all the IAAS Nodes.

5. Run precheck. Once precheck is successful start installation of the patch.

6. After patch is installed succesfully, SSH into the virtual appliance master node and run selfpatch again by executing this command: sh /usr/lib/vcac/patches/repo/contents/vRA-patch/patchscript.sh

7. Now you shouldn't see the error "No valid endpoints found in the Management Agent\'s configuration" in the logs. If >above executed command completes successfully, Installation is completed.

182 views0 comments

Recent Posts

See All

Comentários

Avaliado com 0 de 5 estrelas.
Ainda sem avaliações

Adicione uma avaliação
bottom of page