From 430d07ec79cf7da50ec09a179b900d0f6b1a29dc Mon Sep 17 00:00:00 2001
From: c3y1huang Issue: https://github.com/longhorn/longhorn/issues/8508 Given a volume is created and attached to a pod
And the volume is healthy When crash the volume engine process
+ When mount the volume as read-only
And wait for the volume to become healthy
And write the data to the pod
And flush data to persistent storage in the pod with sync commandReturns
+def remount_volume_read_only(client, core_api, volume_name)
+
def reset_disks_for_all_nodes(client)
Methods
read_pod_block_volume_data
read_volume_data
recurring_job_feature_supported
remount_volume_read_only
reset_disks_for_all_nodes
reset_engine_image
reset_longhorn_node_zone
Functions
Functions
prometheus_client to validate the return value.
-def wait_for_metric(core_api, metric_name, metric_labels, expected_value)
+def wait_for_metric(core_api, metric_name, metric_labels, expected_value, metric_node_id=None)