VMware Cloud Community
rchaubey
Enthusiast
Enthusiast

Unable to integrate NSX-v with vRA 8.0

Hello Expert,

When I am trying to integrate NSX-v with vRA 8.0 getting below error message .

pastedImage_3.png

Unable to validate the provided access credentials: Failed to validate credentials. Error: checkServerTrusted was not called or was not successful. Cloud account: null Task: /provisioning/endpoint-tasks/7e87bfc90245d8755a28bd19764b8

I did try with NSX ip and host name but still have same error. I am able to login NSX manager with same credential. 

---------------------------------------------------------------------------------------------------------------------------------------------------------------

52e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.vmware.admiral.host.ProvisioningHost.log:448 - Adding tenant links [[/tenants/organization/0ffb25da-675d-44eb-8411-dcb0db90b231]] to POST operation on 'http://10.244.0.153:8282/provisioning/uerp/provisioning/mgmt/endpoints?validate'

2020-04-04T08:57:52.731Z [priority='INFO' thread='reactor-http-epoll-1' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.v.a.c.endpoint.EndpointAdapterService.log:448 - [8282/provisioning/mgmt/endpoints] Retrieving endpoint null

2020-04-04T08:57:52.739Z [priority='DEBUG' thread='xn-index-queries-11' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.vmware.admiral.host.ProvisioningHost.log:448 - Successfully started service /provisioning/endpoint-tasks/7e87bfc90245d8755a2733aaa4f60. Resubmitting request PATCH 1175511

2020-04-04T08:57:52.740Z [priority='INFO' thread='xn-index-queries-11' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.v.p.c.m.t.EndpointAllocationTaskService.log:448 - [8282/provisioning/endpoint-tasks/7e87bfc90245d8755a2733aaa4f60] Moving from POPULATE_ADAPTER_REFERENCE(CREATED) to POPULATE_ADAPTER_REFERENCE(STARTED)

2020-04-04T08:57:52.742Z [priority='DEBUG' thread='xn-index-queries-20' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.vmware.admiral.host.ProvisioningHost.log:448 - Successfully started service /provisioning/endpoint-tasks/7e87bfc90245d8755a2733aaa4f60. Resubmitting request GET 1175514

2020-04-04T08:57:52.743Z [priority='INFO' thread='xn-index-queries-20' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.vmware.admiral.host.ProvisioningHost.log:448 - Scheduling operation retry in 1000 ms, 599 retries left

2020-04-04T08:57:52.743Z [priority='DEBUG' thread='xn-index-queries-11' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.vmware.admiral.host.ProvisioningHost.log:448 - Successfully started service /config/photon-model-adapters-registry/nsxv. Resubmitting request GET 1175520

2020-04-04T08:57:52.754Z [priority='DEBUG' thread='xn-index-queries-35' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.vmware.admiral.host.ProvisioningHost.log:448 - Successfully started service /provisioning/config/toggles/DISABLE_PUBLIC_CLOUDS. Resubmitting request GET 1175525

2020-04-04T08:57:52.755Z [priority='INFO' thread='xn-index-queries-35' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.vmware.admiral.host.ProvisioningHost.log:448 - [getAdapterUri] adapterRef = http://provisioning-service.prelude.svc.cluster.local:8282/provisioning/nsxv/endpoint-config-adapter... SUCCESS

2020-04-04T08:57:52.757Z [priority='DEBUG' thread='xn-index-queries-35' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.vmware.admiral.host.ProvisioningHost.log:448 - Successfully started service /provisioning/endpoint-tasks/7e87bfc90245d8755a2733aaa4f60. Resubmitting request PATCH 1175529

2020-04-04T08:57:52.758Z [priority='INFO' thread='xn-index-queries-35' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.v.p.c.m.t.EndpointAllocationTaskService.log:448 - [8282/provisioning/endpoint-tasks/7e87bfc90245d8755a2733aaa4f60] Moving from POPULATE_ADAPTER_REFERENCE(STARTED) to VALIDATE_CREDENTIALS(STARTED)

2020-04-04T08:57:52.764Z [priority='INFO' thread='reactor-http-epoll-2' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='39110164-4221-4509-be0a-6b95ecd8cda8' token='98e60add-00c7-4d96-9c26-5e286dbbfba0'] c.v.m.adapter.nsxv.NsxVEndpointService.log:448 - [8282/provisioning/nsxv/endpoint-config-adapter] Validating credentials for operation (1175535): STARTING

2020-04-04T08:57:52.768Z [priority='INFO' thread='xn-index-queries-10' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='39110164-4221-4509-be0a-6b95ecd8cda8' token='98e60add-00c7-4d96-9c26-5e286dbbfba0'] c.vmware.admiral.host.ProvisioningHost.log:448 - Adding tenant links [[/tenants/organization/0ffb25da-675d-44eb-8411-dcb0db90b231, /tenants/project/9b15084f143f3475-7f703c5265a63d87]] to 'QueryTask' in POST to 'http://10.244.0.153:8282/core/local-query-tasks': SUCCESS

2020-04-04T08:57:52.771Z [priority='INFO' thread='xn-index-queries-10' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='39110164-4221-4509-be0a-6b95ecd8cda8' token='98e60add-00c7-4d96-9c26-5e286dbbfba0'] c.v.p.c.m.security.util.CertificateUtil.resolveCertificate:476 - resolveCertificate with proxyUsername: null

2020-04-04T08:57:52.804Z [priority='WARN' thread='xn-index-queries-10' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='39110164-4221-4509-be0a-6b95ecd8cda8' token='98e60add-00c7-4d96-9c26-5e286dbbfba0'] c.v.xenon.common.ServiceErrorResponse.log:448 - [create] message: checkServerTrusted was not called or was not successful., statusCode: 400, serverErrorId: cdea5756-e745-4603-9195-29cbafe7f61b: Caused by null

2020-04-04T08:57:52.807Z [priority='INFO' thread='xn-index-queries-10' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='39110164-4221-4509-be0a-6b95ecd8cda8' token='98e60add-00c7-4d96-9c26-5e286dbbfba0'] c.v.m.adapter.nsxv.NsxVEndpointService.log:448 - [8282/provisioning/nsxv/endpoint-config-adapter] Validating credentials for operation (1175535): FAILED

2020-04-04T08:57:52.805Z [priority='INFO' thread='reactor-http-epoll-2' user='' org='' context='' parent='' token=''] reactor.netty.http.server.AccessLog.info:274 - 10.244.0.1 - - [04/Apr/2020:08:57:52 +0000] "PATCH /provisioning/nsxv/endpoint-config-adapter HTTP/1.1" 400 218 8282 44 ms

2020-04-04T08:57:52.808Z [priority='INFO' thread='reactor-http-epoll-1' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] com.vmware.xenon.common.SpringHostUtils.responseEntityToOperation:981 - [http://provisioning-service.prelude.svc.cluster.local:8282/provisioning/nsxv/endpoint-config-adapter] JSON error response, status code: 400, body: [{"message":"checkServerTrusted was not called or was not successful.","statusCode":400,"errorCode":0,"serverErrorId":"cdea5756-e745-4603-9195-29cbafe7f61b","documentKind":"com:vmware:xenon:common:ServiceErrorResponse"}]

2020-04-04T08:57:52.813Z [priority='WARN' thread='reactor-http-epoll-1' user='ranchaub' org='0ffb25da-675d-44eb-8411-dcb0db90b231' context='0c252e21-adf6-40f1-9c98-c7a50a2a81db' parent='' token='7b6aca07-87f0-4f5e-8987-7061e5eeb251'] c.v.xenon.common.ServiceErrorResponse.log:448 - [create] message: checkServerTrusted was not called or was not successful., statusCode: 400, serverErrorId: a4e90594-80de-4dcc-8132-4d4b2cf01781: Caused by java.lang.RuntimeException: checkServerTrusted was not called or was not successful.

  at com.vmware.xenon.common.SpringHostUtils.responseEntityToOperation(SpringHostUtils.java:983)

  at com.vmware.xenon.common.SpringHostUtils.lambda$sendRequest$3(SpringHostUtils.java:246)

  at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)

  at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)

your help will be much appreciated......

0 Kudos
1 Reply
Gajendrapundier
Enthusiast
Enthusiast

Are you trying to integrate with AD service account or NSX local account?

Tried with NSX local account and my issue was resolved.

0 Kudos