Ask Your Question

Revision history [back]

The flavor set command just adds a key-value pair to the flavor. You can use it, for example, to link the flavor to an aggregate, or to influence the Nova scheduler, but it doesn't change any of the fundamental flavor parameters (CPU, disk, RAM). Run openstack flavor list or flavor show and check the number of CPUs - it doesn't change.

You can see that there is no Nova command that changes the number of CPUs. There is also no API to update a flavor in the way you want it.

The only solution, afaik, is deleting and recreating your flavor.