Skip to content

aleph file extra attributes gives bootupctl status error #1724

@dustymabe

Description

@dustymabe

There is some history here, but the aleph file for a specific release of Fedora CoreOS on the testing and next streams had an extra field in the aleph file:

cat /sysroot/.coreos-aleph-version.json 
{
        "build": "39.20231204.1.0",
        "version": "39.20231204.1.0",
        "ref": "fedora/x86_64/coreos/next",
        "ostree-commit": "3b5484230c1f1299bdab9d52b3663468db482dc37d80bc511bd1866c8b88fac8",
        "imgid": "fedora-coreos-39.20231204.1.0-qemu.x86_64.qcow2"
}
sudo bootupctl status
 Component EFI
   Installed: grub2-efi-x64-1:2.06-109.fc39.x86_64,shim-x64-15.6-2.x86_64
   Update: Available: grub2-efi-x64-1:2.06-119.fc40.x86_64,shim-x64-15.8-3.x86_64
 No components are adoptable.
 error: duplicate field `version` at line 3 column 11

As far as I can tell this only affected one release of next and testing:

  • next
    • 39.20231119.1.0 -> good
    • 39.20231204.1.0 -> bad
    • 39.20240104.1.0 -> good
  • testing
    • 39.20231119.2.0 -> good
    • 39.20231204.2.1 -> bad
    • 39.20240104.2.0 -> good
  • stable
    • 39.20231101.3.0 -> good
    • 39.20231119.3.0 -> good
    • 39.20231204.3.3 -> good
    • 39.20240104.3.0 -> good
    • 39.20240112.3.0 -> good

We halted the 20231217 releases because we detected this problem:

We reverted the original change that caused this behavior in coreos/coreos-assembler#3686

I guess I had thought that the problematic commit hadn't actually gone into any releases but apparently it had gone out in the previous set of testing and next releases (39.20231204.2.1 and 39.20231204.1.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    jirafor syncing to jira

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions