[pve-devel] [PATCH pve-manager] api: ceph: improve reporting of ceph OSD memory usage

Stefan Hanreich s.hanreich at proxmox.com
Wed Aug 16 17:11:09 CEST 2023



On 8/16/23 16:59, Aaron Lauterer wrote:
 > one small nitL: if the OSD is powered off, we now send null for the
 > meminfo. Maybe set it explicitly to 0 to not change the behavior?

ah yes, I even had it that way initially but seems like it got removed 
again when I tried to be smart and culled the line (which I changed prior):

	$memory = defined($memory) ? int($memory) : 0;


I'll send a v2 shortly





More information about the pve-devel mailing list