License verification fails

The installer stops in the license phase, or the bootstrap-flux phase reports that the license Secret is missing or not valid.

The installer stops in the license phase with one of the following messages, or the bootstrap-flux phase reports that the license phase must complete before first Flux bootstrap:

  • license file is required
  • License file is malformed.
  • License file exceeds 16 KB.
  • License signature is invalid.
  • License file is missing required fields
  • License is not yet valid
  • License expired on

The license.txt file is missing from the folder that holds bootstrap.env, is malformed or larger than 16 KB, has a signature that does not validate, lacks a required field, is not yet valid, or is expired. The bootstrap-flux message appears when you run that phase before the license phase completed, or when the ccf-seed-license Secret in the taikun namespace does not hold a valid license.

Resolution

Place the Cloudera-signed license.txt file, unmodified, in the folder that holds bootstrap.env. If the file is expired, is not yet valid, or has an invalid signature, request a new file from Cloudera. Then run the installer again, or run only the license phase with the --phase license option.