manila/releasenotes/notes/hostonly-filter-1a17a70dd0aafb86.yaml
Kiran Pawar 746fb7e2df OnlyHostFilter allows user to specify host during share create.
e.g. manila create NFS 1 --name Share1 --share-network net1 \
--scheduler_hint="only_host=host1@generic1#GENERIC1"

Since there is no way to create share server in manila, we can use a
workaround of creating first share on specific host
(e.g. host@backend#pool). This will then create the share server
automatically on that host and admin can use idle host when other
hosts are overloaded.

New microversion 2.67 introduced.

DocImpact

Closes-Bug: #1946462
Change-Id: I603434cac246e2c0946672d3f0fe469ed5423fa4
2022-01-10 10:06:27 +00:00

11 lines
467 B
YAML

---
features:
- Add OnlyHostFilter to manila's scheduler. This filter needs admin to
specify host@backend#pool to "share.scheduler_hints.only_host" in the
request payload when creating a manila share. The hint is used only
for share creation and not stored as share metadata. For non-admin users
the OnlyHostFilter will always be ignored.
upgrade:
- To add OnlyHostFilter to an active deployment, its reference must be
enabled in manila.conf.