PKS Upgrade failure at the step "Installing Enterprise PKS"
book
Article ID: 316831
calendar_today
Updated On:
Products
VMware Cloud PKS
Issue/Introduction
Symptoms:
An Enterprise PKS upgrade fails at the step "Installing Enterprise PKS".
One or more snapshots are present on the PKS VM.
BOSH reports that the PKS VM is failing.
The PKS API is inaccessible.
In the BOSH task logs you see messages similar to the following:
"Unknown CPI error ''Unknown'' with message ''Invalid configuration for device ''0''.'' in ''detach_disk'' CPI method
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Environment
VMware PKS 1.x
Cause
BOSH will try to mount the PKS VM disk and would fail with the error ''Invalid configuration for device ''0''.'' in ''detach_disk'' CPI method. This occurs whenever there is any snapshot being taken on the PKS VM (or on any VM created by BOSH).
Resolution
Delete any snapshots taken of the PKS VM.
Additional Information
Snapshots should not be taken on any BOSH created VMs as these VMs have to be managed only by BOSH and any manual configuration of the VM will result in errors.