-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses volume UUIDs for disk identification
- Traditionally the vSphere CPI used host-relative SCSI IDs for its disk identification to the bosh agent. This does not work in a multi-SCSI controller environment such as Kubernetes, where disk devices may be arbitrarily changed at reboot time (e.g. /dev/sda can't be assumed to be the root disk). - The existing behavior can lead to VMs locked up and/or Kubernetes PV data loss fter a VMware HA event, power outage/reboot, etc. - This fix detects if the VM has `disk.enableUUID` enabled in the BOSH VM, which ensures stable volume UUIDs between vSphere and the guest. It will then use that UUID in its disk identification to the BOSH agent, which already supports UUID matching. - Add integration test - Powered off vms don't report their vmx options correctly that's why we use vm_config in vm_creator. - fix unit test
- Loading branch information
1 parent
5583a83
commit 5626965
Showing
6 changed files
with
440 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.