Adding TAS 6.0 into a TAS 4.0 env via Ops Manager UI failed due to 'invalid JavaScript' error
search cancel

Adding TAS 6.0 into a TAS 4.0 env via Ops Manager UI failed due to 'invalid JavaScript' error

book

Article ID: 403901

calendar_today

Updated On:

Products

VMware Tanzu Platform - Cloud Foundry VMware Tanzu Application Service

Issue/Introduction

When upgrading VMware Tanzu Application Service for VMs (TAS/TPCF) from version 4.0 to 6.0, you might get error when adding TAS 6.0 product by clicking the + symbol next to a product listing left of Installation Dashboard in Operations Manager UI.  In the current TAS 4.0.x tile - 'Cloud Controller' - 'Available Stacks', option 'cflinuxfs4 only' is selected.

 

In Operations Manager version prior to 3.0.37+LTS-T, the error message looks like:

Invalid Javascript migrations response with properties: 'selector option with no selector'. Please contact your VMware representative.

In Operations Manager version greater than or equal to 3.0.37+LTS-T, the error message looks like:

Unable to upgrade due to invalid Javascript migrations result: 'Migration result contains a selector option property '.properties.cloud_controller_fs4_only.fs3_and_fs4_option.cloud_controller_default_stack' that is nested under a selector property '.properties.cloud_controller_fs4_only' that does not exist'. Please contact your VMware representative. 

Environment

VMware Tanzu Application Service for VMs (Tanzu Platform for Cloud Foundry) 

Resolution

The issue has been fixed in TAS 6.0.12.

Workaround prior to TAS 6.0.12:

  • Select 'Cloud Controller' - 'Available Stacks'-  'cflinuxfs3 and cflinuxfs4' temporarily in TAS 4.0 tile, and then add TAS 6.0 product.