Merge "Deprecated Noisy Neighbor strategy"
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
Noisy Neighbor strategy is deprecated and will be removed in a future release.
|
||||||
|
This strategy relies on Last Level Cache metrics that are not available in Nova
|
||||||
|
since `Victoria release <https://docs.openstack.org/releasenotes/nova/victoria.html>`_.
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
# date but we do not test them so no guarantee of having them all correct. If
|
# date but we do not test them so no guarantee of having them all correct. If
|
||||||
# you find any incorrect lower bounds, let us know or propose a fix.
|
# you find any incorrect lower bounds, let us know or propose a fix.
|
||||||
apscheduler>=3.5.1 # MIT License
|
apscheduler>=3.5.1 # MIT License
|
||||||
|
debtcollector>=1.2.0 # Apache-2.0
|
||||||
eventlet>=0.27.0 # MIT
|
eventlet>=0.27.0 # MIT
|
||||||
jsonpatch>=1.21 # BSD
|
jsonpatch>=1.21 # BSD
|
||||||
keystoneauth1>=3.4.0 # Apache-2.0
|
keystoneauth1>=3.4.0 # Apache-2.0
|
||||||
|
|||||||
@@ -16,8 +16,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
from debtcollector import removals
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
import warnings
|
||||||
|
|
||||||
from watcher._i18n import _
|
from watcher._i18n import _
|
||||||
from watcher.decision_engine.strategy.strategies import base
|
from watcher.decision_engine.strategy.strategies import base
|
||||||
@@ -25,7 +27,11 @@ from watcher.decision_engine.strategy.strategies import base
|
|||||||
LOG = log.getLogger(__name__)
|
LOG = log.getLogger(__name__)
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
|
warnings.simplefilter('always')
|
||||||
|
|
||||||
|
|
||||||
|
@removals.removed_class("NoisyNeighbor", version="2025.2",
|
||||||
|
removal_version="2026.2")
|
||||||
class NoisyNeighbor(base.NoisyNeighborBaseStrategy):
|
class NoisyNeighbor(base.NoisyNeighborBaseStrategy):
|
||||||
"""Noisy Neighbor strategy using live migration
|
"""Noisy Neighbor strategy using live migration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user