When Apply Changes is performed on Tanzu Operations Manager/Foundation Core it would fail on the Bosh Director deployment during the stemcell upload tasks as below:
creating stemcell (bosh-vsphere-esxi-ubuntu-jammy-go_agent 1.222):
CPI 'create_stemcell' method responded with error: CmdError{"type":"Unknown","message":"undefined method `property_collector' for nil:NilClass\n\n @property_collector = service_instance.retrieve_content.property_collector\n ^^^^^^^^^^^^^^^^^^^","ok_to_retry":false}
Exit code 1
2026-05-12 10:14:12 UTC Finished "/usr/local/bin/bosh --no-color --non-interactive --tty create-env /var/tempest/workspaces/default/deployments/bosh.yml"; Duration: 36s; Exit Status: 1
Exited with 1.
Tanzu Operations Manager
Foundation Core
Bosh Director
This can happen if the vSphere CPI release is incompatible with the vCenter version, in this case Opsman was running on 3.0.15 while vCenter version was running on 8.0.3
You can review the version requirements in the Opsman documentation https://techdocs.broadcom.com/us/en/vmware-tanzu/platform/tanzu-operations-manager/3-1/tanzu-ops-manager/install-vsphere.html#-version-requirements
Upgrade the Operations Manager to a higher version post verifying the compatability, in this case upgrading from 3.0.15 to 3.0.41 fixed the issue.