Creating missing vms fails with Unknown CPI error 'Unknown' with message should have the following properties: ["snapshot", "datastore"]
search cancel

Creating missing vms fails with Unknown CPI error 'Unknown' with message should have the following properties: ["snapshot", "datastore"]

book

Article ID: 433577

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

Creating missing vms fails with Unknown CPI error 'Unknown' with message 'The object[s] '<[Vim.VirtualMachine] vm-6046>' should have the following properties: ["snapshot", "datastore"]

Environment

Tanzu Kubernetes Grid Integrated (TKGI) 

Cause

The initial snapshot from the stemcell VM has been deleted.

To verify this, log in to the vSphere client. Navigate to the cluster hosting the TKGi VMs, and under the VMs tab, identify the stemcell VM (which starts with 'sc-'). Then, check its managed snapshots. If you do not find the initial snapshot, it confirms that it has been deleted.

Resolution

However, there is a workaround for this issue if the snapshots have been deleted: you can manually take a snapshot for the stemcell VM, name it "initial," and then run "apply changes" from Ops Manager.

To take the manual snapshot, right-click the stemcell VM, select **Snapshot**, take a snapshot, name it "initial," and save.