File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
common/mayastor/offline_pool_delete Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ import (
99// FixME : error messages related to offline pool delete
1010
1111var (
12- PoolOnlineState = "purge not allowed"
13- DeleteWithoutPurgeFlag = "purge flag is required to delete pool, pool is not in online state"
14- DeleteOfflinePoolWithoutCordon = "cannot delete pool that is offline without cordoning it first"
15- DeleteOfflinePoolWithReplica = "pool has replicas, cannot delete without confirm flag"
16- DeleteOfflinePoolWithSnapshots = "pool has snapshots, cannot delete without confirm snapshot loss flag"
17- DeleteOfflinePoolWithData = "pool has data, cannot delete without confirm data loss flag" // last healthy replica is scheduled on this pool
12+ PoolOnlineState = "purge not allowed"
13+ DeleteWithoutPurgeFlag = "purge flag is required to delete pool, pool is not in online state"
14+ DeleteOfflinePoolWithoutCordon = "cannot delete pool that is offline without cordoning it first"
15+ DeleteOfflinePoolWithReplica = "pool has replicas, cannot delete without confirm flag"
16+ DeleteOfflinePoolWithSnapshots = "pool has snapshots, cannot delete without confirm snapshot loss flag"
17+ DeleteOfflinePoolWithOnlyReplicaCordon = "pool must be cordoned with snapshot and replica flag to delete pool"
18+ DeleteOfflinePoolWithOnlySnapshotCordon = "pool must be cordoned with snapshot and replica flag to delete pool"
19+ DeleteOfflinePoolWithData = "pool has data, cannot delete without confirm data loss flag" // last healthy replica is scheduled on this pool
1820)
1921
2022// DeleteOfflinePool deletes the offline pool via control plane plugin
You can’t perform that action at this time.
0 commit comments