Build the upgrade preflight report of the installation from the Principal metadata database: the data the transitions of the simplification program will touch, per section with status ok, attention or unknown, counts, up to 20 sample identifiers and an operator note. Targets are never contacted. A section whose source cannot be read is unknown and the response is still 200. The upgrade-preflight command of the backend image prints the same document. Installation-wide: requires the exact health:read installation capability or an organization administrator membership.
Responses
Upgrade preflight report
UpgradePreflightResponse · 6 fields
Build version of the binary that built the report.
Applied metadata database migration. Null when it could not be read.
Whether the last migration was left incomplete. Null when it could not be read.
ok: no remainders. Attention: remainders exist, the note says what to do. Unknown: a source could not be read, the section claims nothing.
okattentionunknown7 fields
Stable section identifier, for example jobs, kubernetes or identities.
ok: no remainders. Attention: remainders exist, the note says what to do. Unknown: a source could not be read, the section claims nothing.
okattentionunknownNamed counts. The keys depend on the section.
Up to 20 identifiers of remainders as "<count key> <kind>:<id>". Never secrets.
Non-numeric facts such as the oldest and newest row of a table (RFC 3339).
What the remainders mean and what the operator should do (Russian).
Authentication required
Installation administrator required (authorization.denied). An API token needs allow_installation_admin (code auth.api_token_not_allowed, details.reason=api_token_installation_admin_not_allowed).
Common errors: 429 504. They mean the same for every operation, see Errors.