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

Added network-wait support #3981

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RishabhSaini
Copy link
Contributor

Resolves #3096

The changes required for this to work
libdnf: rpm-software-management/libdnf#1573
librepo: rpm-software-management/librepo#264

rpmostree-pkg-builtins.cxx: Adds a command line flag for --network-wait
rpmostree-sysroot-upgrader.cxx: Adds network_wait to struct SysrootUpgrader and support for setting it
rpmostree-transaction-types.cxx: Addresses a call to network wait by adding to struct sysroot_upgrader

For each configured ostree remote and each enabled yum repository, wait until we can reach those over the network.
This requires modifications in libdnf and librepo

cgwalters
cgwalters previously approved these changes Sep 9, 2022
Copy link
Member

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks sane to me; just blocks on the librepo and libdnf changes.

src/daemon/rpmostreed-transaction-types.cxx Outdated Show resolved Hide resolved
src/daemon/rpmostreed-transaction-types.cxx Outdated Show resolved Hide resolved
src/daemon/rpmostree-sysroot-upgrader.h Outdated Show resolved Hide resolved
rpmostree-pkg-builtins.cxx: Adds a command line flag for --network-wait
rpmostree-sysroot-upgrader.cxx: Adds network_wait to struct SysrootUpgrader and support for setting it
rpmostree-transaction-types.cxx: Addresses a call to network wait by adding to struct sysroot_upgrader

For each configured ostree remote and each enabled yum repository, wait until we can reach those over the network.
This requires modifications in libdnf and librepo
@RishabhSaini
Copy link
Contributor Author

Updated. Resolved the changes

@openshift-merge-robot
Copy link
Collaborator

@RishabhSaini: PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci
Copy link

openshift-ci bot commented Jun 6, 2023

@RishabhSaini: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/images 1a01ee3 link true /test images
ci/prow/fcos-e2e 1a01ee3 link true /test fcos-e2e
ci/prow/kola-upgrade 1a01ee3 link true /test kola-upgrade

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

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

Successfully merging this pull request may close these issues.

Add rpm-ostree network-wait
3 participants