500 internal server error during decommission attempt due to stale EC repair job
Applies to
StorageGRID 12.0
Issue
- When attempting to start decommission task, StorageGRID manager reports 500 internal server error observed
- Primary admin node's bycast-err.log reports the following:
ERROR Failed to retrieve erasure-coded repair statusERROR no implicit conversion of nil into String (TypeError)ERROR /usr/lib/ruby/2.7.0/time.rb:372:in `_parse'ERROR /usr/lib/ruby/2.7.0/time.rb:372:in `parse'ERROR /usr/local/lib/site_ruby/mgmt-api/data-recovery/data-recovery.rb:568:in `parse_ec_repair_status'ERROR Failed to retry erasure-coded repair due to no implicit conversion of nil into StringERROR Data Recovery Manager failed to retry EC repairERROR Failed to retry repair: no implicit conversion of nil into String (MgmtApi::LocalizedRuntimeError)ERROR /usr/local/lib/site_ruby/mgmt-api/data-recovery/data-recovery.rb:747:in `most_recently_failed_repair'ERROR /usr/local/lib/site_ruby/mgmt-api/data-recovery/data-recovery.rb:780:in `call!'ERROR /usr/local/lib/site_ruby/mgmt-api/data-recovery/manager.rb:112:in `block (2 levels) in periodic_refresh!'