Import VCF Operations fleet management to SDDC Manager fails on subtask "Add vCenter Server and Data Center to VMware Aria Suite Lifecycle"
search cancel

Import VCF Operations fleet management to SDDC Manager fails on subtask "Add vCenter Server and Data Center to VMware Aria Suite Lifecycle"

book

Article ID: 430359

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

Import VCF Operations fleet management to SDDC Manager fails on subtask "Add vCenter Server and Data Center to VMware Aria Suite Lifecycle"

# domainmanager.log

<DATE && TIME> DEBUG [vcf_dm,698aec3d891649ce2314ac8939012374,95e8] [c.v.e.s.r.c.LoggingHttpRequestInterceptor,dm-exec-21]  Request URI: https://<FLEET_NAME>.<domain_name>/lcm/lcops/api/v2/datacenters/DEFAULT_DC/vcenters
Request method: POST
Request body: {"vCenterHost":"<VCSA_NAME>.<domain_name>","vcUsername":"[email protected]","vcPassword":"*****","vCenterName":"<VCSA_NAME>","vcUsedAs":"MANAGEMENT","vcCertificate":"***
**","sddcManagerHostname":"<SDDC MGR FQDN>.<domain_name>"}
Response code: 504 GATEWAY_TIMEOUT
Response headers: [Server:"nginx", Date:"<DATE HERE> GMT", Content-Type:"text/html", Content-Length:"160", Connection:"keep-alive"]
Response body: <html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>

<DATE && TIME> ERROR [vcf_dm,698aec3d891649ce2314ac8939012374,95e8] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-21]  [728ALI] VCF_ERROR_INTERNAL_SERVER_ERROR Invocation of prefix '' part of task AddVcAndDcToVrslcm in plugin VrslcmPlugin failed with exception.
com.vmware.evo.sddc.common.core.error.InternalServerErrorException: Invocation of prefix '' part of task AddVcAndDcToVrslcm in plugin VrslcmPlugin failed with exception.
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:450)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.processTask(ProcessingTaskSubscriber.java:517)
        at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.accept(ProcessingTaskSubscriber.java:128)
        at jdk.internal.reflect.GeneratedMethodAccessor488.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:85)
        at com.google.common.eventbus.Subscriber.lambda$dispatchEvent$0(Subscriber.java:71)
        at com.vmware.vcf.common.tracing.TraceRunnable.run(TraceRunnable.java:63)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.springframework.web.client.HttpServerErrorException$GatewayTimeout: 504 Gateway Time-out: "<html><EOL><EOL><head><title>504 Gateway Time-out</title></head><EOL><EOL><body><EOL><EOL><cente
r><h1>504 Gateway Time-out</h1></center><EOL><EOL><hr><center>nginx</center><EOL><EOL></body><EOL><EOL></html><EOL><EOL>"
        at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:114)
        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:186)
        at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:137)
        at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)


UI print below

Environment

VCF 9.X

Cause

Port connection unavailable  

Resolution

Ports 22 and 443 need to be opened between vCenter and Fleet manager. 
https://ports.broadcom.com/home/vSphere+VMware-Cloud-Foundation-Operations-Fleet-Manager