When adding support for new guest OS and their hypervisor mappings, the upgrade path(s) have historically assumed static guest OS id in the schema/upgrade paths even for id which is an AUTO_INCREMENT column. This can break on environments who add their custom guest OS and hypervisor mappings. The implementation should be improved to allow insertion of guest OS either via APIs or via schema upgrade paths without making such static assumptions.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
4.11.x, 4.13.x, all previous
When adding support for new guest OS and their hypervisor mappings, the upgrade path(s) have historically assumed static guest OS
idin the schema/upgrade paths even foridwhich is an AUTO_INCREMENT column. This can break on environments who add their custom guest OS and hypervisor mappings. The implementation should be improved to allow insertion of guest OS either via APIs or via schema upgrade paths without making such static assumptions.ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION