There is not *one OpenStack*, there are plenty. Installations differ by version, by set of enabled projects, and by configuration. Validating that Bosh can be used on a specific installation is a tedious and error-prone manual task. The fact that the teams using Bosh are not the ones responsible for setting up and running OpenStack doesn’t help either. The Bosh OpenStack CPI team is building an executable validation test suite that gives non Bosh-experts a tool to find out if an OpenStack installation is ready to run Bosh, or which changes need to be done.
The testsuite is based on the generic lifecycle contract between Bosh and the external CPI. It can also become useful for all authors of additional CPIs. They can plugin their CPI implementation and configuration to test against a different IaaS than OpenStack instead of writing their own lifecycle testsuite.
In this talk, we show how the testsuite can be used to validate an OpenStack installation and how authors of other CPIs could use the testsuite to avoid building their own generic lifecycle tests. Furthermore, we show how IaaS specific tests can be added to account for differences between the IaaS and CPI implementations.
Beyhan is a software engineer in the BOSH team at SAP. He is a committer on the BOSH project in the last 4 year. He was working on different topics of the SAP Cloud Platform prior that.