Skip to content

api: image_status has no 'unknown' member — an unanswerable podman-seam read is indistinguishable from a genuinely missing image #1939

Description

@thinmintdev

Follow-up from #1889 / PR #1937 (open question 1).

ContainerProvider.image_present returns a bool and the image_status payload enumerates present/missing only. When the rootful seam is unanswerable as the hal0 service user (rc 66 operational failure, missing grant, wrapper drift), the API now logs hal0.podman_ro.image_present_unanswered at WARNING but still reports missing — an authoritative-looking answer for an unanswered question. That shape (green/definitive surfaces over an undiagnosable state) is the same failure family as #1888's health surfaces and #1465's seam inventory.

Fix is an API-schema change: add an unknown member (or tri-state) to image_status and propagate the seam's tri-state result. Deliberately out of #1937's scope. Worth deciding before GA whether the schema change rides 1.0 or 1.0.x.

Refs #1889.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageMaintainer needs to evaluate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions