Error "cannot read properties of undefined(reading includes)" during VMware Cloud Director validation in Cloud Provider Lifecycle Manager
search cancel

Error "cannot read properties of undefined(reading includes)" during VMware Cloud Director validation in Cloud Provider Lifecycle Manager

book

Article ID: 378410

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • While using VMware Cloud Provider Lifecycle Manager(CPLCM) to validate or deploy a new VCD 10.5.1 deployment, an error occurs stating 'Cannot read properties of undefined (reading 'includes')'.





  • The CPLCM repository contained the VCD 10.5.1 OVA at '/cplcmrepo/product-type/version-number/ova'. 
  • VCD 10.4.1.1 deployment using CPLCM completed without errors. Upon comparing the permissions of the VCD 10.4.1.1 directory with those of the VCD 10.5.1 directory, we observed that the VCD 10.5.1 directory did not possess the necessary permissions:

    VCD 10.4.1.1 product directory:



    VCD 10.5.1 product directory:


Environment

VMware Cloud Provider Lifecycle Manager

Cause

This problem arises due to insufficient permissions for the product directory within the CPLCM repository. 

Resolution

After the first boot, VMware Cloud Provider Lifecycle Manager creates a separate repository directory for every product that the appliance can manage. 
At a later stage, if you add a new file to a product directory, the new file does not inherit the permissions from the directory and you must configure the 755 permissions on a directory level again.

For ex: chmod 755 /cplcmrepo/product-type/version-number/ova/filename.ova

For more information, refer section 'Upload the Product OVA Files' here Configure the VMware Cloud Provider Lifecycle Manager Appliance .