Newly Created Auto Scale Group in VMware Cloud Director does not deploy any virtual Machines
search cancel

Newly Created Auto Scale Group in VMware Cloud Director does not deploy any virtual Machines

book

Article ID: 402862

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Auto Scale Group creation is successful, however it does not deploy any virtual machine's specified in Scale Group creation wizard.
  • Reviewing the monitor tab under the Scale Group, you do not see any tasks for initial grow
  • In /opt/vmware/vcloud-director/logs/autoscale.log of VMware Cloud Director(VCD) cell, you see connection errors similar to the following:

    | INFO     | pool-38-thread-1          | VcdClientConfiguration         | Connecting Simple Login Client to: https://<VCD-URL>
    |ERROR    | pool-38-thread-1          | CheckMqttTask                  | Error while checking mqtt connection. |
    javax.ws.rs.ProcessingException: java.net.SocketException: SocketException invoking https://VCD-URL/cloudapi/1.0.0/sessions/provider: Connection reset
            at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:638)
            at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:612)
            at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:927)
            at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:348)
            at com.sun.proxy.$Proxy251.providerLogin(Unknown Source)
            at jdk.internal.reflect.GeneratedMethodAccessor3825.invoke(Unknown Source)
            at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.base/java.lang.reflect.Method.invoke(Method.java:566)
            at com.vmware.vcloud.api.rest.client.OpenApiClientImpl$SingleUseProxyInvoker.invoke(OpenApiClientImpl.java:302)

  • Attempting to establish a API connection from VCD cell to it's public address URL using the following curl command failed with connection reset errors

    root@VCDCell # curl -ksSL -D - -X POST https://<VCD-URL>/cloudapi/1.0.0/sessions/provider -H "Accept:application/json;version=37.0" -u "administrator@system:password"
    curl: (56) Recv failure: Connection reset by peer

Environment

VMware Cloud Director

Cause

This issue occurs when the VMware Cloud Director cells do not have connectivity to it's API URL defined in public addresses section of provider portal

Resolution

Auto scale feature requires VCD cells to have connectivity to it's Web portal and API URL defined in public addresses to deploy virtual machines. 
To resolve this issue, it is advised to review the network and ensure VCD cells have connectivity to it's Web portal and API URL defined in public addresses.