Error: "Couldn't fetch manifest file for plugin Data Solutions" when installing Data Solution plugin in VMware Cloud Director
search cancel

Error: "Couldn't fetch manifest file for plugin Data Solutions" when installing Data Solution plugin in VMware Cloud Director

book

Article ID: 447266

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • After upgrading VMware Cloud Director from 10.5.1 to 10.6.1, the Data Solutions plugin fails to install in VMware Cloud Director.

  • The following error message is displayed when the failure occurs:

Couldn't fetch manifest file for plugin Data Solutions. Error: Http failure response for https://<REDACTED_HOSTNAME>/provider/uiPlugins/<PLUGIN_ID>/<INSTANCE_ID>/manifest.json: 404 Not Found

Environment

VMware Cloud Director 10.6.1

Cause

This issue is caused by orphaned DSE 1.x solution instances and an outdated rights bundle left over from the pre-upgrade environment. VCD 10.6.1 cannot resolve the plugin manifest path because it points to legacy entity IDs that are no longer valid after the upgrade.

Resolution

To resolve this issue, try installing the Data Solution extension via CLI by referring to the following documentation: Upgrade VMware Cloud Director Extension for Data Solutions

If the CLI installation method fails, proceed with the API steps below to manually clean up the legacy components and install the Data Solutions extension:

  1. Delete all add-on instances of DSE using the below API from VCD primary cell.

    1. Use the following curl command to retrieve a filtered list of VCD Solution Add-On instances (specifically targeting the vmware.ds- naming convention) currently registered within the Defined Entity framework:

      curl -k --request GET
      --url "https://$vcd_host/cloudapi/1.0.0/entities/types/vmware/solutions_add_on_instance/?filter=name==vmware.ds-"
      --header 'accept: application/json;version=38.0'
      --header "authorization: Bearer $access_token"
      --header 'content-type: application/json'

      Example Output:

      root@vcdhostname [ ~ ]# curl -k -- request GET
      -- url "https://$vcd_host/cloudapi/1.0.0/entities/types/vmware/solutions_add_on_instance/?filter=name ==* vmware.ds -* "
      -- header 'accept: application/json;version=38.0'
      -- header "authorization: Bearer $access token"
      -- header 'content-type: application/json'
      ("resultTotal":0, "pageCount": 0, "page":1, "pageSize":25, "associations":null, "values":[]}

      Note: The ID format returned is urn:vcloud:entity:vmware:solutions_add_on_instance:<instance_id>.

    2. Use the following curl command to Delete the identified add-on instance(s) using the extracted <instance_id> from step 1

      curl -kv --request DELETE \
        --url https://$vcd_host/cloudapi/1.0.0/entities/$instancd_id \         ---  Replace instancd_id from the previous step
        --header 'accept: application/json;version=38.0' \
        --header "authorization: Bearer $access_token" \
        --header 'content-type: application/json'

      Above confirms there are no items matching the search criteria across all pages and there are no Data Solutions add-on instances were returned in the payload.

  2. Clean up the legacy DSE rights bundle.

    Log in to the VCD Provider portal. Navigate to Administration > Tenant Access Control > Rights Bundles. Select the vmware:dataSolutionsRightsBundle and click Delete.

  3. Re-install the DSE add-on instance.

    1. Download the latest compatible DSE ISO (e.g., vmware-vcd-ds-1.6.2-24954857.iso) from the Broadcom Support Portal.

    2. Connect to a Linux VM and save the ISO file to the /tmp/ directory. Execute the following commands to mount the ISO and create the new instance:

      Run the below command to define Environment Variables:

      export vcd_host=<REDACTED_HOSTNAME>
      export pa_user=administrator
      export pa_password='<REDACTED_SECRET>'
      export encryption_key=<REDACTED_SECRET>
      export dse_instance_name=tds1

      Run the below command to Create Directory and Mount the DSE ISO:

      mkdir iso_content
      mount -o loop vmware-vcd-ds-1.6.2-24954857.iso iso_content
      cd iso_content

      Run the below commands to Authenticate, Trust Certificates, and Create an Instance:

      ./linux.run get certificates --accept --host $vcd_host -o /tmp/vcd.crt

      ./linux.run trust --host $vcd_host --username "$pa_user" --password "$pa_password" --certificate-file /tmp/vcd.crt --accept --debug

      ./linux.run create instance --name $dse_instance_name --host $vcd_host --username "$pa_user" --password "$pa_password" --certificate-file /tmp/vcd.crt --accept --debug  --encryption-key=$encryption_key