RebalanceJobPropertiesStatus Class

The status of the rebalance job.

Constructor

RebalanceJobPropertiesStatus(*args: Any, **kwargs: Any)

Variables

Name Description
state

The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully. Failed indicates the rebalance was unable to complete due to a fatal error. Deleting indicates the job is being cleaned up during deletion. RollingBack indicates the orchestrator is rolling back provisioned resources after a failure. Known values are: "InProgress", "Cancelling", "Canceled", "Completed", "Failed", "Deleting", and "RollingBack".

status_code
str

Server-defined status code for rebalance job.

status_message
str

Server-defined status message for rebalance job.

percent_complete

The percentage of rebalance job completion.

balance_percent

The balance percentage (0-100). Represents cumulative progress since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

estimated_remaining_seconds
int

Estimated remaining time in seconds. Omitted during initial assessment before the rebalancer has enough data to estimate.

files_migrated
int

Total number of files migrated since the rebalance started. Counts OST-phase (data) work items. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

dirs_migrated
int

Total number of directories migrated since the rebalance started. Counts MDT-phase (metadata) work items, reported separately from filesMigrated (OST-phase data migrations). Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

bytes_moved
int

Total number of bytes moved since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

files_moved_per_second

Average files moved per second over the most recent reporting interval.

throughput_mi_bps

Average throughput in mebibytes per second (1024x1024 bytes per second) over the most recent reporting interval.

total_errors
int

Total cumulative non-skip errors since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

total_skipped
int

Total cumulative benign skips since the rebalance started: files intentionally not migrated (for example, a lost migration lease or a stale layout), as distinct from the hard failures counted in totalErrors. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

start_time_utc

The time (in UTC) the rebalance job started.

completion_time_utc

The time (in UTC) when the rebalance job completed. Only populated when the job reaches a terminal state (Completed, Failed, or Canceled).

Attributes

balance_percent

The balance percentage (0-100). Represents cumulative progress since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

balance_percent: float | None

bytes_moved

Total number of bytes moved since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

bytes_moved: int | None

completion_time_utc

The time (in UTC) when the rebalance job completed. Only populated when the job reaches a terminal state (Completed, Failed, or Canceled).

completion_time_utc: datetime | None

dirs_migrated

Total number of directories migrated since the rebalance started. Counts MDT-phase (metadata) work items, reported separately from filesMigrated (OST-phase data migrations). Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

dirs_migrated: int | None

estimated_remaining_seconds

Estimated remaining time in seconds. Omitted during initial assessment before the rebalancer has enough data to estimate.

estimated_remaining_seconds: int | None

files_migrated

Total number of files migrated since the rebalance started. Counts OST-phase (data) work items. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

files_migrated: int | None

files_moved_per_second

Average files moved per second over the most recent reporting interval.

files_moved_per_second: float | None

percent_complete

The percentage of rebalance job completion.

percent_complete: float | None

start_time_utc

The time (in UTC) the rebalance job started.

start_time_utc: datetime | None

state

The operational state of the rebalance job. InProgress indicates the rebalance is running on the cluster. Cancelling indicates a cancel has been requested. Canceled indicates the rebalance was cancelled. Completed indicates the rebalance finished successfully. Failed indicates the rebalance was unable to complete due to a fatal error. Deleting indicates the job is being cleaned up during deletion. RollingBack indicates the orchestrator is rolling back provisioned resources after a failure. Known values are: "InProgress", "Cancelling", "Canceled", "Completed", "Failed", "Deleting", and "RollingBack".

state: str | _models.RebalanceJobStatusType | None

status_code

Server-defined status code for rebalance job.

status_code: str | None

status_message

Server-defined status message for rebalance job.

status_message: str | None

throughput_mi_bps

Average throughput in mebibytes per second (1024x1024 bytes per second) over the most recent reporting interval.

throughput_mi_bps: float | None

total_errors

Total cumulative non-skip errors since the rebalance started. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

total_errors: int | None

total_skipped

files intentionally not migrated (for example, a lost migration lease or a stale layout), as distinct from the hard failures counted in totalErrors. Reported in periodic rebalance status updates. Resets to 0 if the rebalancer node restarts.

total_skipped: int | None