Skip to content

Instantly share code, notes, and snippets.

@gab-satchi
gab-satchi / summary.md
Created August 28, 2019 17:57
PKS Windows stemcell upgarde investigation

Problem

PKS 1.5 requires a minimum Windows stemcell version 2019.7, however if you provide a greater version (2019.8), cluster creation fails. Full repro here: https://www.pivotaltracker.com/n/projects/2375339/stories/167688170 The root of the problem was the service adapter had 2019.7 hardcoded and always looked for that stemcell when deploying clusters.

On-demand service broker (ODB) does not allow using "latest" for stemcell version so we had to find a way to send the currently uploaded Windows stemcell version from OpsManager to the broker. The Linux stemcell version was always passed using the tile metadata.

Current solution

PKS tile metadata has been updated to include the Windows stemcell versions found in