Files
floci/src
Priamo Germosen 16ff5a2c74 feat(emr): give a cluster a bootstrap failure ended its ErrorDetails (#8267)
A cluster whose bootstrap action failed in the docker runner mode ended with
BOOTSTRAP_FAILURE and AWS's message, but DescribeCluster and ListClusters gave
no Status.ErrorDetails, which the Management Guide's error code pages point to
for the failed action, its return code and its script.

- An action that exits with another code than 0 gives
  BOOTSTRAP_FAILURE_PRIMARY_WITH_NON_ZERO_CODE, with the ErrorData keys its page
  lists: primary-instance-id, bootstrap-action, return-code, amazon-s3-path and
  public-doc. A script that cannot be read gives
  BOOTSTRAP_FAILURE_BA_DOWNLOAD_FAILED_PRIMARY, with the same keys but
  return-code. ErrorData is a list of maps and no source shows how AWS spreads
  the keys over them: Floci gives one map holding them all. ErrorMessage is the
  reason's message and the error code's page, in Floci's words.
- A bootstrap that cannot run at all, or that Floci stopped, ends with
  INTERNAL_ERROR as before and has no ErrorDetails: no documented code fits.
- The details are stored with the cluster, so they survive a restart with
  persistent storage, and emr.md says what Floci gives.
2026-11-14 01:03:43 -04:00
..