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

[6.16.z] Set DNF proxy for IPv6 runs #16285

Open
wants to merge 1 commit into
base: 6.16.z
Choose a base branch
from

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #16274

Problem Statement

DNF on the IPv6-only Satellite host can not download metadata as the download mirror/host has only A DNS record.

Proxy setting for DNF is being set in the enable_satellite_or_capsule_module_for_rhel8 method. However, this method executes its steps only on RHEL 8, as is stated in its name.

Setting proxy for DNF needs to be moved elsewhere.

Solution

Remove setting DNF proxy from enable_satellite_or_capsule_module_for_rhel8 and move it to a separate method. Call this method from Satellite.register_contenthost method right after we enable the proxy for subscription-manager.

Related Issues

SAT-27846

@Satellite-QE Satellite-QE requested a review from a team as a code owner September 9, 2024 19:43
@Satellite-QE Satellite-QE added 6.16.z Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Sep 9, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: -m build_sanity
env:
    ROBOTTELO_server__is_ipv6: true
    ROBOTTELO_server__version__rhel_version: 9
    BROKER_host_ipv6: true
    BROKER_host_ipv4_fallback: false

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 8537
Build Status: UNSTABLE
PRT Comment: pytest -m build_sanity --external-logging
Test Result : ======== 5563 deselected, 5760 warnings, 13 errors in 255.48s (0:04:15) ========

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.16.z Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches PRT-Failed Indicates that latest PRT run is failed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants