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.13.z] Force keyscan to use ipv4 #14178

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #14017

Problem Statement

a bunch or templatesync tests failing with Host key verification failed when exporting templates to gitea. Turns out that ssh-keyscan opts for ipv6 connenction, where it gets no response

Solution

Force ssh-keyscan to go via ipv6. Also updated filter to use existing template

Co-authored-by: yanpliu <[email protected]>
(cherry picked from commit 226a1f0)
@Satellite-QE Satellite-QE added 6.13.z Introduced in or relating directly to Satellite 6.13 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Feb 26, 2024
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_templatesync.py -k test_positive_update_templates_in_git[non_empty_repo-ssh]

@Satellite-QE Satellite-QE added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Feb 26, 2024
@pondrejk
Copy link
Contributor

trigger: test-robottelo
pytest: tests/foreman/cli/test_templatesync.py -k test_positive_update_templates_in_git[non_empty_repo-ssh]

@Satellite-QE
Copy link
Collaborator Author

PRT Result

Build Number: 5842
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/cli/test_templatesync.py -k test_positive_update_templates_in_git[non_empty_repo-ssh]
Test Result : ============ 1 passed, 7 deselected, 1 warning in 724.31s (0:12:04) ============

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Feb 26, 2024
@Satellite-QE Satellite-QE merged commit d745d07 into 6.13.z Feb 26, 2024
25 of 26 checks passed
@Satellite-QE Satellite-QE deleted the cherry-pick-6.13.z-226a1f0a47b958753dd0f9f220ef3d28b1fbe1bb branch February 26, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.13.z Introduced in or relating directly to Satellite 6.13 Auto_Cherry_Picked Automatically cherrypicked PR using GHA AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing No-CherryPick PR doesnt need CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants