Error: "Unknown CPI error 'Unknown' with message 'Loadbalancer name cannot contain characters that are not letters, or digits or the dash.' in 'create_vm' CPU method" during Tanzu Hub tile install or upgrade
search cancel

Error: "Unknown CPI error 'Unknown' with message 'Loadbalancer name cannot contain characters that are not letters, or digits or the dash.' in 'create_vm' CPU method" during Tanzu Hub tile install or upgrade

book

Article ID: 426145

calendar_today

Updated On:

Products

VMware Tanzu Platform - Hub

Issue/Introduction

  • When installing or upgrading the Tanzu Hub tile, Opsman GUI shows errors on the "Installing Tanzu Hub" section like:

    Unknown CPI error 'Unknown' with message 'Loadbalancer name cannot contain characters that are not letters, or digits or the dash.' in 'create_vm' CPU method
  • This occurs after attempting to configure an AWS ELB target group on the Control VM's via Opsman -> Tanzu Hub tile -> Settings -> Resource Config. Expanding the "Control" jobs section under the Load Balancer configuration.
  • The configuration in use is set with "elb:hub-web-elb-target-group" where hub-web-elb-target-group is the name of the target group you wish to deploy config servers into.

Environment

Tanzu Hub installed in AWS environments

Cause

This is caused by the configuration of Load Balancer options in the Control job configuration in the Hub tile. The use of "elb:" in the configuration is not supported. 

Resolution

When configuring a Load Balancer target group for Tanzu Hub deployed on AWS, use "alb:hub-web-elb-target-group" alb instead of elb will allow the lb_target_group to be selected during Control Instance deployment.