Open cdfgallo opened 6 months ago
@cdfgallo , this sounds like more than one feature/enhancement request. Are you working on these? If not, and to enhance the chance of those getting implemented, can you split them and expand with screen shots/depiction of the desired situation.
@DaanHoogland you are right, this is an enhancement request. Ok, I will split them.
Ty, Fabio
Not sure but could Flexible Tags functionality help in achieving a preferred pool allocation, @JoaoJandre?
Hello @cdfgallo @shwstppr,
You could use flexible tags to finely choose which hosts receive which VMs and the same with storages and volumes. You can make rules to specifically allow only certain groups of tags into each host/storage. You can read a little more about tags and flexible tags in the documentation. Let me know if you do not understand the docs, and have further questions about flexible tags; I can try to answer them.
However, if you only want preferred and not exclusive hosts/storages, regular tags would do just fine as well.
@JoaoJandre I don't have much idea about flexible tags. Can you provide an example rule of how someone can use flexible tags in a way similar to preferred.storage.pool
but per zone or cluster instead of an account?
Hi @cdfgallo @JoaoJandre @DaanHoogland @shwstppr @vishesh92 I was investigating a bit about this issue:
preferred.storage.pool
setting is granular to accounts, I can draft a PR changing its scope to Zone (or Cluster) and do some testing@JoaoJandre I don't have much idea about flexible tags. Can you provide an example rule of how someone can use flexible tags in a way similar to
preferred.storage.pool
but per zone or cluster instead of an account?
@vishesh92, @nvazquez Sorry for the delayed response, after taking a proper look at the way that the preferred.storage.pool config works, simulating it with tags is somewhat painful. I think that extending the config to zone/cluster scope is an easier approach.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
There should be better management regarding resource allocation on primary storages. This could be done by allowing the user to be able to choose the disk offering when creating a VM via template via UI (as already happens when creating a VM via API).
Also the parameter "Preferred storage pool" (preferred.storage.pool) (The UUID of preferred storage pool for allocation.) should be configurable in the Cluster or Zone settings so the admin could always choose the preferred PS for every zone. This could be very useful also during storage migrations.
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS