basic_pool_options_bluestore NOT REPORTING: NOT OPTED-IN Per-pool bluestore config options
basic_pool_usage NOT REPORTING: NOT OPTED-IN Default pool application and usage statistics
basic_rook_v01 NOT REPORTING: NOT OPTED-IN Basic Rook deployment data
+ basic_stretch_cluster NOT REPORTING: NOT OPTED-IN Stretch Mode information for stretch clusters deployments
basic_usage_by_class NOT REPORTING: NOT OPTED-IN Default device class usage statistics
crash_base NOT REPORTING: NOT OPTED-IN Information about daemon crashes (daemon type and version, backtrace, etc.)
device_base NOT REPORTING: NOT OPTED-IN Information about device health metrics
perf_memory_metrics = 'perf_memory_metrics'
basic_pool_options_bluestore = 'basic_pool_options_bluestore'
basic_pool_flags = 'basic_pool_flags'
+ basic_stretch_cluster = 'basic_stretch_cluster'
MODULE_COLLECTION : List[Dict] = [
{
"channel": "basic",
"nag": False
},
+ {
+ "name": Collection.basic_stretch_cluster,
+ "description": "Stretch mode information for stretch clusters",
+ "channel": "basic",
+ "nag": False
+ },
]
ROOK_KEYS_BY_COLLECTION : List[Tuple[str, Collection]] = [
# Rook
self.get_rook_data(report)
+ # Stretch Mode
+ if self.is_enabled_collection(Collection.basic_stretch_cluster):
+ stretch_mode = osd_map.get("stretch_mode", {})
+ report['stretch_cluster'] = {
+ 'stretch_mode_enabled': stretch_mode.get("stretch_mode_enabled", {}),
+ 'stretch_bucket_count': stretch_mode.get("stretch_bucket_count", {}),
+ 'degraded_stretch_mode': stretch_mode.get("degraded_stretch_mode", {}),
+ 'recovering_stretch_mode': stretch_mode.get("recovering_stretch_mode", {}),
+ 'stretch_mode_bucket': stretch_mode.get("stretch_mode_bucket", {}),
+ }
+
if 'crash' in channels:
report['crashes'] = self.gather_crashinfo()