To create flavors please use the CLI. There are in fact problems with the dashboard. In particular if you change the access list of a flavor, this is implemented by deleting and creating a new flavor. The new flavor will have the same name, but a different id, and this can cause problems.
Do you want to create a public flavor ? [1]
Public flavors are visible by ALL projects
Create public flavor [2]
The flavor name must be cloudveneto.<n>cores<m>GB<p>GB, where where n is the # VCPUs, m is the RAM size (in GB), and p is the disk size (in GB)
E.g. to create a public flavor with 2 GB of RAM (2048 MB), 25 GB of ephemeral disk and 2 VCPUs, use the command:
nova flavor-create --is-public true cloudveneto.2cores2GB25GB auto 2048 25 2
Then tag the flavor with size=normal, e.g:
nova flavor-key <id> set aggregate_instance_extra_specs:size=normal
Create private flavor [3]
The flavor name must be cloudveneto.<n>cores<m>GB<p>GB, where n is the # VCPUs, m is the RAM size (in GB), and p is the disk size (in GB)
E.g. to create a private flavor with 4 GB of RAM (4096 MB), 25 GB of ephemeral disk and 2 VCPUs, use the command:
nova flavor-create --is-public false cloudveneto.2cores4GB25GB auto 4096 25 2
Then tag the flavor with 'size=normal', e.g:
nova flavor-key <id> set aggregate_instance_extra_specs:size=normal
This will create a private flavor, without projects allowed to use it.
Authorize the relevant project(s) to use the newly created flavor [4]
To allow a certain project to use a private flavor, please use the nova flavor-access-add command.
E.g.to allow the project with id 4cef2dfb47bb484391c255508356b124 to use the flavor with id 6436d279-08d5-44ef-a809-15e72ccdf07a, use the command:
nova flavor-access-add 6436d279-08d5-44ef-a809-15e72ccdf07a 4cef2dfb47bb484391c255508356b124
The nova flavor-access-list command can be used to check which projects can use a certain flavor.
E.g.:
[root@cld-ctrl-01 ~]# nova flavor-access-list --flavor 6436d279-08d5-44ef-a809-15e72ccdf07a +--------------------------------------+----------------------------------+ | Flavor_ID | Tenant_ID | +--------------------------------------+----------------------------------+ | 6436d279-08d5-44ef-a809-15e72ccdf07a | 4cef2dfb47bb484391c255508356b124 | +--------------------------------------+----------------------------------+ [root@cld-ctrl-01 ~]#