You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another thing we could do here is add retries; something like rpm-ostree install --retries=3 foo. We should also look at whether yum/dnf have a config flag for this we could honor.
That said...we could also do the network-wait stuff on the libostree side. Speaking as an ostree upstream maintainer I'm 100% on board with adding an API to do this. And in most cases, if we wait on the network availability for the configured base ostree repository, my instinct says that in most cases the configured yum repositories are also accessible.
(OTOH, this network-wait thing would need to be implemented again for container remotes...)
I followed the docs for https://docs.fedoraproject.org/en-US/fedora-coreos/os-extensions/
and of course hit a race between
network-online.target
and actually being able to fetch the repos.The idea of
network-wait
would be:For each configured ostree remote and each enabled yum repository, wait until we can reach those over the network.
We could add
rpm-ostree install -N
to network-wait. It's actually kind of tempting to make it the default...See also https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gnetworkmonitor.h which would be good to use for this.
This also strongly relates to #3041 (comment)
Also zincati could (should) use this instead of polling.
The text was updated successfully, but these errors were encountered: