Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glibc-2.40-3.fc41.i686 from fedora does not belong to a distupgrade repository #233

Open
SHU-red opened this issue Jan 30, 2025 · 6 comments

Comments

@SHU-red
Copy link

SHU-red commented Jan 30, 2025

OK it seems that i did not notice, that my system did not update for a long long time

I am running

  • fedora-coreos:stable-nvidia

Guess there is something obivous i do not really get

[core@blackpearl ~]$ cat /etc/os
os-release  ostree/
[core@blackpearl ~]$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="40.20240416.3.1 (CoreOS)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora CoreOS 40.20240416.3.1"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
HOME_URL="https://getfedora.org/coreos/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-coreos/"
SUPPORT_URL="https://github.com/coreos/fedora-coreos-tracker/"
BUG_REPORT_URL="https://github.com/coreos/fedora-coreos-tracker/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="CoreOS"
VARIANT_ID=coreos
OSTREE_VERSION='40.20240416.3.1'
    - name: ucore-unsigned-autorebase.service
      enabled: true
      contents: |
        [Unit]
        Description=uCore autorebase to unsigned OCI and reboot
        ConditionPathExists=!/etc/ucore-autorebase/unverified
        ConditionPathExists=!/etc/ucore-autorebase/signed
        After=network-online.target
        Wants=network-online.target
        [Service]
        Type=oneshot
        StandardOutput=journal+console
        ExecStart=/usr/bin/rpm-ostree rebase --bypass-driver ostree-unverified-registry:ghcr.io/ublue-os/fedora-coreos:stable-nvidia
        ExecStart=/usr/bin/touch /etc/ucore-autorebase/unverified
        ExecStart=/usr/bin/systemctl disable ucore-unsigned-autorebase.service
        ExecStart=/usr/bin/systemctl reboot
        [Install]
        WantedBy=multi-user.target
^○ zincati.service - Zincati Update Agent
     Loaded: loaded (/usr/lib/systemd/system/zincati.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead) since Thu 2025-01-30 19:22:41 UTC; 1min 3s ago
   Duration: 12ms
       Docs: https://github.com/coreos/zincati
   Main PID: 15146 (code=exited, status=0/SUCCESS)
     Status: "Automatic updates disabled; booted into container image ostree-unverified-registry:ghcr.io/ublue-os/fedora-coreos:stable-nvidia"
        CPU: 37ms

Jan 30 19:22:41 blackpearl systemd[1]: Starting zincati.service - Zincati Update Agent...
Jan 30 19:22:41 blackpearl zincati[15146]: [INFO  zincati::cli::agent] starting update agent (zincati 0.0.27)
Jan 30 19:22:41 blackpearl systemd[1]: Started zincati.service - Zincati Update Agent.
Jan 30 19:22:41 blackpearl zincati[15146]: [ERROR zincati] error: failed to assemble configuration settings
Jan 30 19:22:41 blackpearl zincati[15146]: [ERROR zincati]  -> failed to validate agent identity configuration
Jan 30 19:22:41 blackpearl zincati[15146]: [ERROR zincati]  -> failed to build default identity
Jan 30 19:22:41 blackpearl zincati[15146]: [ERROR zincati]  -> failed to introspect booted OS image
Jan 30 19:22:41 blackpearl zincati[15146]: [ERROR zincati]  -> Automatic updates disabled; booted into container image ostree-unverified-registry:ghcr.io/ublue-os/fedora-coreos:stable-nvidia
Jan 30 19:22:41 blackpearl systemd[1]: zincati.service: Deactivated successfully.
@SHU-red
Copy link
Author

SHU-red commented Jan 31, 2025

Do i maybe have to do something like rpm-ostree cleanup?

https://docs.mirantis.com/mke/3.8/mkex/rpm-ostree-operation/basic-use.html#clear-unused-deployments

@SHU-red
Copy link
Author

SHU-red commented Jan 31, 2025

sudo rpm-ostree upgrade worked but i still get "failed to validate agent identity configuration" on zincati

@francoism90
Copy link
Contributor

Fedora 41 is the current version, seems you're still running the previous one?

Do you have any overlayed packages? What's the output of rpm-ostree status?

@SHU-red
Copy link
Author

SHU-red commented Feb 2, 2025

Hi,
thank you for taking the time

In the meantime i did upgrade manually via sudo rpm-ostree upgrade, what means this is my current state:

[core@blackpearl ~]$ sudo rpm-ostree status
State: idle
Deployments:
● ostree-unverified-registry:ghcr.io/ublue-os/fedora-coreos:stable-nvidia
                   Digest: sha256:0c691576f4a9f9c63685b6eb3162a0418e753736685191700d1c6a3385250033
                  Version: 41.20250105.3.0 (2025-01-31T02:58:45Z)
          LayeredPackages: btop docker-compose helix vim

  ostree-unverified-registry:ghcr.io/ublue-os/fedora-coreos:stable-nvidia
                   Digest: sha256:c461022b0ecce29da4aec38dec5955ad7e57326ecee9fbe26d1717839c1263f8
                  Version: 40.20240416.3.1 (2024-05-07T23:43:23Z)
          LayeredPackages: btop docker-compose helix vim

But still zincati seems to not be able to do the automatic upgrade:

[core@blackpearl ~]$ sudo systemctl status zincati.service
WARNING: terminal is not fully functional
Press RETURN to continue
○ zincati.service - Zincati Update Agent
     Loaded: loaded (/usr/lib/systemd/system/zincati.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf, 50-keep-warm.conf
     Active: inactive (dead) since Fri 2025-01-31 16:52:04 UTC; 1 day 19h ago
   Duration: 9ms
 Invocation: 5d10b0e564ce496ba3304e9d19518827
       Docs: https://github.com/coreos/zincati
    Process: 16318 ExecStart=/usr/libexec/zincati agent ${ZINCATI_VERBOSITY} (code=exited, status=0/SUCCESS)
   Main PID: 16318 (code=exited, status=0/SUCCESS)
     Status: "Automatic updates disabled; booted into container image ostree-unverified-registry:ghcr.io/ublue-os/fedora-coreos:stabl>
   Mem peak: 10.3M
        CPU: 37ms

Jan 31 16:52:04 blackpearl systemd[1]: Starting zincati.service - Zincati Update Agent...
Jan 31 16:52:04 blackpearl zincati[16318]: [INFO  zincati::cli::agent] starting update agent (zincati 0.0.27)
Jan 31 16:52:04 blackpearl systemd[1]: Started zincati.service - Zincati Update Agent.
Jan 31 16:52:04 blackpearl zincati[16318]: [ERROR zincati] error: failed to assemble configuration settings
Jan 31 16:52:04 blackpearl zincati[16318]: [ERROR zincati]  -> failed to validate agent identity configuration
Jan 31 16:52:04 blackpearl zincati[16318]: [ERROR zincati]  -> failed to build default identity
Jan 31 16:52:04 blackpearl zincati[16318]: [ERROR zincati]  -> failed to introspect booted OS image
Jan 31 16:52:04 blackpearl zincati[16318]: [ERROR zincati]  -> Automatic updates disabled; booted into container image ostree-unverif>
Jan 31 16:52:04 blackpearl systemd[1]: zincati.service: Deactivated successfully.

@m2Giles
Copy link
Member

m2Giles commented Feb 2, 2025

Zincati does not work with OCI at this time. Automatic updates can work with rpm-ostree.

coreos/fedora-coreos-tracker#1263

@SHU-red
Copy link
Author

SHU-red commented Feb 2, 2025

Hmh
What exactly does this mean for me?

How can I get automatic updates working for fedora-coreos:stable-nvidia?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants