coreos / rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://coreos.github.io/rpm-ostree
Other
871 stars 195 forks source link

OstreeRemoteStatus: Remote "kinoite" not found #2850

Open SampsonF opened 3 years ago

SampsonF commented 3 years ago

Host system details Silverblue 34

Provide the output of rpm-ostree status:

ostree://fedora:fedora/34/x86_64/silverblue
                   Version: 34.20210520.0 (2021-05-20T00:44:26Z)
                BaseCommit: a2feef03926f00b8897444990e03f57c056a6c932c1a91efa59974b275a5c995
              GPGSignature: Valid signature by 8C5BA6990BDB26E19F2A1A801161AE6945719A39
           LayeredPackages: gnome-tweaks iotop sway

Expected vs actual behavior

When not being booted, this deployment kinoite shows "Remote "kinoite" not found":

ostree://kinoite:fedora/34/x86_64/kinoite
        OstreeRemoteStatus: Remote "kinoite" not found
                   Version: Kinoite 34.20210517.0 (2021-05-17T12:30:04Z)
                BaseCommit: 5fd0c525b4959b5088aff1fefa33d0b1432da2a168621511f72f98c69fbefde6
           LayeredPackages: qemu-img smartmontools
                    Pinned: yes

When deployment "kinoite" is booted, then OstreeRemoteStatus is normal:

Steps to reproduce it

Install Silverblue 34 Update to latest

$ curl -O https://tim.siosm.fr/downloads/siosm_gpg.pub $ sudo ostree remote add kinoite https://siosm.fr/kinoite/ --gpg-import siosm_gpg.pub $ sudo rpm-ostree rebase kinoite:fedora/34/x86_64/kinoite $ sudo systemctl reboot

Provide any additional data that may help debug this - which specific version of an RPM is in the repo, or any host system configuration.

Would you like to work on the issue?

Please let us know if you can work on it or the issue should be assigned to someone else.

travier commented 3 years ago

It is when you're running Silverblue, the kinoite remote is not found and when you're running Kinoite the Silverblue one is not found?

SampsonF commented 3 years ago

It is when you're running Silverblue, the kinoite remote is not found and when you're running Kinoite the Silverblue one is not found?

No matter how I boot my system, those official Fedora deployment always show normal status.

After further testing this issue, I notice more details:

This issue occurs when:

  1. Kinoite is not the '0' deployment, and
  2. Kinoite is not booted

`[fcc@dv34 ~] 2021-05-23 09:47:12 $ rpm-ostree status State: idle Deployments: ● ostree://fedora:fedora/rawhide/x86_64/kinoite Version: Rawhide.20210522.n.0 (2021-05-22T06:12:12Z) Commit: 91636f984e25d879c375bb3a00cee27e804028b76154165f4ac4c080328aadcd GPGSignature: Valid signature by 787EA6AE1147EEE56C40B30CDB4639719867C58F Pinned: yes

ostree://fedora:fedora/rawhide/x86_64/silverblue Version: Rawhide.20210520.n.1 (2021-05-20T23:09:56Z) Commit: 3270109897541853f16e60fda9a006307613cea9652457c9a5b72f019c9fe267 GPGSignature: Valid signature by 787EA6AE1147EEE56C40B30CDB4639719867C58F Pinned: yes

ostree://kinoite:fedora/34/x86_64/kinoite OstreeRemoteStatus: Remote "kinoite" not found Version: Kinoite 34.20210517.0 (2021-05-17T12:30:04Z) Commit: 5fd0c525b4959b5088aff1fefa33d0b1432da2a168621511f72f98c69fbefde6 Pinned: yes`