Auto-Scale plugin's Initial growth is not functioning in VMware Cloud Director
search cancel

Auto-Scale plugin's Initial growth is not functioning in VMware Cloud Director

book

Article ID: 375029

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • After creating scale groups in VMware Cloud Director (VCD), the initial growth does not occur. This issue is specifically observed when attempting to initiate the auto-scale functionality.
  • From VMware Cloud Director logs: /opt/vmware/vcloud-director/logs/vcloud-container-debug.log, the following entries are seen:

2024-08-14 06:25:01,630 | ERROR    | pool-38-thread-1          | CheckMqttTask                  | Error while checking mqtt connection. |

[VcdErrorResponseException] HTTP status code = 401
Request ID: 978b2345-e5eb-4df2-a932-389dae036376-bf565ed4-c3de-416e-8724-11ced3647ff1
VCD Error: null
VCD ErrorType: major error code = 0, minor error code = -
Server stack trace: null
Caused by: javax.ws.rs.NotAuthorizedException: Unauthorized

Environment

VMware Cloud Director 10.4.x

VMware Cloud Director 10.5.x

Cause

The 401 Unauthorized error indicates that the VCD client is unable to authenticate or authorize the connection to the MQTT broker.

Resolution

To resolve this, create a new auto-scale user account with a password that excludes special character (!) to prevent potential authentication issues.

Ensuring the credentials are correct and avoiding special characters in the password should resolve the "401 Unauthorized" error, allowing the Auto Scale Plug-in to function properly.