This allows specifying functions that further optimize the scheduling
of shares across backend stanzas.
This is needed due to a netapp-driver specific problem when using
SVM scoped accounts. It does not have enough permissions to obtain
the total_capacity_gb information, so it cannot calculate utilization,
and therefore the goodness_function always returns 50 and end up
scheduling shares always to the same pool.
Closes-bug: #2073537
Change-Id: Ia151c50421e75282f633e0b004c2e6c1bda638f3
(cherry picked from commit 94a4d30901bf9edac08cdcb7363dcb42680e8c80)
(cherry picked from commit 5b8c04db1da67cdb22f137968d617bc29b9b9f53)
Reviewed: https:/ /review. opendev. org/c/openstack /charm- manila- netapp/ +/925978 /opendev. org/openstack/ charm-manila- netapp/ commit/ b550021fe2372bc bb6482d9851e7d8 aa9e6017d8
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit b550021fe2372bc bb6482d9851e7d8 aa9e6017d8
Author: Rodrigo Barbieri <email address hidden>
Date: Thu Jul 18 17:09:24 2024 -0300
Add goodness-function config
This allows specifying functions that further optimize the scheduling
of shares across backend stanzas.
This is needed due to a netapp-driver specific problem when using
SVM scoped accounts. It does not have enough permissions to obtain
the total_capacity_gb information, so it cannot calculate utilization,
and therefore the goodness_function always returns 50 and end up
scheduling shares always to the same pool.
Closes-bug: #2073537 82f633e0b004c2e 6c1bda638f3 ac08cdcb7363dcb 42680e8c80) b22f137968d617b c29b9b9f53)
Change-Id: Ia151c50421e752
(cherry picked from commit 94a4d30901bf9ed
(cherry picked from commit 5b8c04db1da67cd