cedadev / jasmin-cloud

Web portal for the JASMIN Scientific cloud.
http://jasmin.ac.uk/
5 stars 3 forks source link

Add support for deprecating templates #48

Open mkjpryor-stfc opened 6 years ago

mkjpryor-stfc commented 6 years ago

At the moment, all templates that are available can be used to deploy a machine. When a template is removed, it is no longer possible to know how a machine was deployed.

A solution is to use an OpenStack metadata item to indicate that a template is deprecated, and have this be respected by the portal. That way, the portal can still show the template for older machines, but prevent new machines being deployed using it.