You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MTV-4498 | Add checking for related storage class space for conversio… (#4865)
…nTempStorageSize
Check CSIStorageCapacity when conversionTempStorageClass and
conversionTempStorageSize are set. Block migration (critical condition)
when the storage class reports insufficient capacity; add advisory
warning when capacity cannot be verified. Register storage/v1 in
controller scheme for CSIStorageCapacity list.
RESOLVES: MTV-4498
https://issues.redhat.com/browse/MTV-4498
Signed-off-by: Gwen Casey <gcasey@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
r.Log.Info("Could not list CSIStorageCapacity (capacity check skipped)", "error", err.Error(), "storageClass", storageClassName)
1990
+
plan.Status.SetCondition(libcnd.Condition{
1991
+
Type: NotValid,
1992
+
Status: True,
1993
+
Category: api.CategoryAdvisory,
1994
+
Message: fmt.Sprintf("Storage capacity for ConversionTempStorageClass %q could not be verified. Ensure sufficient space is available.", storageClassName),
// Have capacity info but no entry can satisfy the requested size
2029
+
plan.Status.SetCondition(libcnd.Condition{
2030
+
Type: NotValid,
2031
+
Status: True,
2032
+
Category: api.CategoryCritical,
2033
+
Message: fmt.Sprintf("Insufficient space in storage class %q for conversion temp storage (requested %s). Migration may fail.", storageClassName, requested.String()),
0 commit comments