Comment 1 for bug 1960840

Revision history for this message
sean mooney (sean-k-mooney) wrote :

technically these flavor extra specs are ment to be hypervisor independent and we in generall should not enforce limits based on any one implementaiton such as tc.

with that said uint32_max is proably an ok limit to enforce in the general case.

the correct way to enforece this in nova is via the flavor extra spec json schema validations

in addtion to that a second check should be implemented when assigning to nova config object in the libvirt driver that model the xml elements.

we should fail the boot of the server in this case setting it to error and stating that the flavor extra specs exceed the maxium allowable value.

we should also likely update the documentaiton for the extra specs to not that for the libvirt driver the values should be specifed in KB not bytes