Specify host during share creation as scheduler-hint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Description
===========
Manila allows to create shares agnostic to user/admin. However in certain use cases, user/admin wants to create share on specific host since other hosts might be overloaded. User can create new share-type and then create shares using that type to get allocation on new host. But it has limitation since, we need to add new type every-time for new host and we can not delete it unless all shares of that type are deleted.
Thus we need a simple way to create share on specific host, since its first share it will in-turn create SVM. As manila does not provide a way to create SVM, this is another use case as well.
Approach
========
Recently added affinity/
e.g. manila create 1 nfs --scheduler-hints "only_host=
This hint will not be stored as metadata and only used for creating share. May be we can restrict to admin only.
Changed in manila: | |
status: | New → In Progress |
PR raised https:/ /review. opendev. org/c/openstack /manila/ +/813293