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

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 Introduced in or relating directly to Satellite 6.16 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
@Gauravtalreja1 Gauravtalreja1 force-pushed the cherry-pick-6.16.z-1f327508f361128b3b15b8f651a0e9ba0a04ec96 branch from 6750b2d to 1cf0f24 Compare September 23, 2024 18:08
Copy link
Collaborator

@Gauravtalreja1 Gauravtalreja1 left a comment

Choose a reason for hiding this comment

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

ACK, I think this can be merged without PRT as @ogajduse mentioned it works locally

@Gauravtalreja1 Gauravtalreja1 enabled auto-merge (squash) September 23, 2024 18:10
@Gauravtalreja1 Gauravtalreja1 merged commit 7cfac20 into 6.16.z Sep 23, 2024
8 checks passed
@Gauravtalreja1 Gauravtalreja1 deleted the cherry-pick-6.16.z-1f327508f361128b3b15b8f651a0e9ba0a04ec96 branch September 23, 2024 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.16.z Introduced in or relating directly to Satellite 6.16 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.

3 participants