Skip to content

Bootc error not fully reported #133

Description

@alicefr

Bootc operator reports partially the bootc error. In the status of the bootc node it appears like:

    - lastTransitionTime: "2026-08-10T11:42:54Z"
      message: 'bootc stage failed: running bootc switch: exit status 1'
      observedGeneration: 1
      reason: Error
      status: "True"
      type: Degraded

while running bootc manually reports the full error:

[root@worker ~]# bootc switch ghcr.io/bootc-dev/bink/node@sha256:9ce7d6d15b8558c226b4c41f3b27bf1722897b0c8a66c7a84a2877bca8d049f7
error: Switching: Switching (ostree): Preparing import: Fetching manifest: Target image does not have ostree.bootable label

How to reproduce

Try to apply this bootc pool:

apiVersion: node.bootc.dev/v1alpha1
kind: BootcNodePool
metadata:
  name: workers
spec:
  nodeSelector:
    matchLabels:
      node-role.kubernetes.io/worker: ""
  image:
    ref: ghcr.io/bootc-dev/bink/node@sha256:9ce7d6d15b8558c226b4c41f3b27bf1722897b0c8a66c7a84a2877bca8d049f7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjiraSynchronize the Github issue to Jira

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions