an existing host that already contains Ceph daemons, it will cause cephadm to move
those daemons elsewhere (except OSDs, which are not removed automatically).
+* ``_no_autotune_memory``: *Do not autotune memory on this host*.
+
+ This label will prevent daemon memory from being tuned even when the
+ ``osd_memory_target_autotune`` or similar option is enabled for one or more daemons
+ on that host.
+
* ``_admin``: *Distribute client.admin and ceph.conf to this host*.
By default, an ``_admin`` label is applied to the first host in the cluster (where
if r:
failures.append(r)
- if self.mgr.cache.host_needs_autotune_memory(host):
+ if (
+ self.mgr.cache.host_needs_autotune_memory(host)
+ and not self.mgr.inventory.has_label(host, '_no_autotune_memory')
+ ):
self.log.debug(f"autotuning memory for {host}")
self._autotune_host_memory(host)