VMware Cloud Community
pmilanese
Contributor
Contributor

vCd 8.10 fails to deploy Edge (but wait, it's in vCenter?)

Wondering if there is some insight on this -

I deploy a simple Edge (either within an org vDC, or create a new org with an edge in the configurator).

This is what the resulting error is within vDc -

pastedImage_0.png

However, it creates the Edge Gateway in NSX (vCenter)?

pastedImage_1.png

This was created using the 'compact method'.

I'm not sure how the uuid's should relate in those messages, if they should at all - and not sure which logs will be useful.

Please advise-

Thanks-

P

0 Kudos
4 Replies
Sreec
VMware Employee
VMware Employee

Can you register NSX with VCD once more and do a sync for VCD with VC and give a try ? If it doesn't work,please do check vcloud-container-debug.log and update the results.

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 7x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
0 Kudos
pmilanese
Contributor
Contributor

I don't quite see anything to "register NSX with VCD once more", but I did resync vcenter to no avail - same issue.

I'm checking into that log now! Thanks!

0 Kudos
pmilanese
Contributor
Contributor

Interesting -

Log looks fine except for when I try to delete the failed Edge Deployment within vcd (the log shows 404 on /api/3.0 delete) - then it shows up in stranded (I can delete from there without and issue).

I'm not sure how I reset the NSX/vCD registration, please let me know how that's done.

Here's stack trace on the create-

com.vmware.vcloud.dl.net.exception.NetworkInternalServerException: Deployment of edge gateway test failed.

java.util.concurrent.ExecutionException: org.springframework.web.client.RestClientException: Cannot extract response: no Content-Type found

    at com.vmware.vcloud.dl.net.gateway.impl.GatewayManagerImpl.deployGateway(GatewayManagerImpl.java:1060)

    at com.vmware.vcloud.dl.net.gateway.impl.GatewayManagerImpl.createGatewayAsync(GatewayManagerImpl.java:987)

    at com.vmware.vcloud.management.system.NetworkServiceImpl.createGatewayTask(NetworkServiceImpl.java:2991)

    at com.vmware.vcloud.management.system.NetworkServiceImpl.executeTask(NetworkServiceImpl.java:2394)

    at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase$1.doInSecurityContext(TaskActivity.java:418)

    at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase$1.doInSecurityContext(TaskActivity.java:412)

    at com.vmware.vcloud.backendbase.management.system.TaskActivity$SecurityContextTemplate.executeForOrgAndUser(TaskActivity.java:679)

    at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase.execute(TaskActivity.java:420)

    at com.vmware.vcloud.backendbase.management.system.TaskActivity$ExecutePhase.invoke(TaskActivity.java:380)

    at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:160)

    at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:113)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: org.springframework.web.client.RestClientException: Cannot extract response: no Content-Type found

    at com.vmware.vcloud.activity.toolkit.AbstractToolkitActivity$BasePhase.finish(AbstractToolkitActivity.java:177)

    at com.vmware.vcloud.fabric.net.activities.gateway.DeployGatewayActivity$UpdateHaStatus.invoke(DeployGatewayActivity.java:711)

    ... 7 more

Caused by: java.util.concurrent.ExecutionException: org.springframework.web.client.RestClientException: Cannot extract response: no Content-Type found

    at com.vmware.vcloud.activity.toolkit.AbstractToolkitActivity$BasePhase.finish(AbstractToolkitActivity.java:177)

    at com.vmware.vcloud.fabric.net.activities.AbstractNetworkFabricActivity$AbstractBaseNetworkingActivityPhase.invoke(AbstractNetworkFabricActivity.java:107)

    ... 7 more

Caused by: org.springframework.web.client.RestClientException: Cannot extract response: no Content-Type found

    at com.vmware.vcloud.fabric.nsm.error.NetworkSecurityErrorHandler.processException(NetworkSecurityErrorHandler.java:81)

    at com.vmware.vcloud.fabric.nsm.error.NetworkSecurityErrorHandler.handleError(NetworkSecurityErrorHandler.java:70)

    at org.springframework.web.client.RestTemplate.handleResponseError(RestTemplate.java:566)

    at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:524)

    at com.vmware.vcloud.fabric.net.utils.impl.LoggingRestTemplate.doExecute(LoggingRestTemplate.java:64)

    at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:482)

    at org.springframework.web.client.RestTemplate.put(RestTemplate.java:376)

    at com.vmware.vcloud.fabric.net.utils.impl.RestClient.put(RestClient.java:169)

    at com.vmware.vcloud.fabric.nsm.services.spock.StaticRoutingManagerSpock.setDefaultRouteDto(StaticRoutingManagerSpock.java:236)

    at com.vmware.vcloud.fabric.nsm.services.spock.StaticRoutingManagerSpock.setDefaultRoute(StaticRoutingManagerSpock.java:231)

    at com.vmware.vcloud.fabric.net.activities.gateway.ConfigureDefaultRouteForGatewayActivity$ConfigureDefaultRoute.execute(ConfigureDefaultRouteForGatewayActivity.java:77)

    at com.vmware.vcloud.fabric.net.activities.AbstractNetworkFabricActivity$AbstractBaseNetworkingActivityPhase.invoke(AbstractNetworkFabricActivity.java:101)

    ... 7 more

0 Kudos
Limey005
Contributor
Contributor

I had the exact same issue, I solved it by upgrading directly to 8.20, cleaning up the ESG from vCloud Director & vCenter; then redeploying the ESG through VCD.

Hope this helps

0 Kudos