TAP Deployment Fails Due to Misconfigured Cartographer Concurrency Settings
search cancel

TAP Deployment Fails Due to Misconfigured Cartographer Concurrency Settings

book

Article ID: 410802

calendar_today

Updated On:

Products

VMware Tanzu Application Platform

Issue/Introduction

Customer attempts to modify the maximum concurrency settings for Cartographer in Tanzu Application Platform (TAP). Upon applying the configuration, an error could be encountered:

9:27:52AM: Deploy started 
9:27:52AM: Deploy failed 
    | kapp: Error: waiting on reconcile packageinstall/cartographer (packaging.carvel.dev/v1alpha1) namespace: tap-install:
    |   Finished unsuccessfully (Reconcile failed:  (message: ytt: Error: Overlaying data values (in following order: additional data values):
    | One or more data values were invalid
    | ====================================
    | Given data value is not declared in schema
    | values.yaml:
    |     |
    |   5 | concurrency:
    |     |
    |     = found: concurrency
    |     = expected: one of { aws_iam_role_arn, ca_cert_data, cartographer, excluded_components } (from objects/ytt/schema.yaml:16)
    | ))
    | Deploying: Error (see .status.usefulErrorMessage for details)
9:27:52AM: Error tailing app: Reconciling app: Deploy failed
 
9:27:53AM: packageinstall/tap (packaging.carvel.dev/v1alpha1) namespace: tap-install: ReconcileFailed
Error: packageinstall/tap (packaging.carvel.dev/v1alpha1) namespace: tap-install: Reconciling: kapp: Error: waiting on reconcile packageinstall/cartographer (packaging.carvel.dev/v1alpha1) namespace: tap-install:
  Finished unsuccessfully (Reconcile failed:  (message: ytt: Error: Overlaying data values (in following order: additional data values):
One or more data values were invalid
====================================
Given data value is not declared in schema
values.yaml:
    |
  5 | concurrency:
    |
    = found: concurrency
    = expected: one of { aws_iam_role_arn, ca_cert_data, cartographer, excluded_components } (from objects/ytt/schema.yaml:16)
)). Reconcile failed: Error (see .status.usefulErrorMessage for details)
 

Environment

Tanzu Application Platform

Resolution

The error is caused by an incorrect YAML structure in the configuration file. Refer: Scale workloads.

Incorrect Configuration:

yaml:

cartographer:
  concurrency:
    max_workloads: 10
    max_deliveries: 10
    max_runnables: 10

Correct Configuration:

yaml:
cartographer:
  cartographer:
    concurrency:
      max_workloads: 10
      max_deliveries: 10
      max_runnables: 10