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 failed9:27:53AM: packageinstall/tap (packaging.carvel.dev/v1alpha1) namespace: tap-install: ReconcileFailedError: 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 schemavalues.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)Tanzu Application Platform
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:
cartographer:
cartographer:
concurrency:
max_workloads: 10
max_deliveries: 10
max_runnables: 10