-
Notifications
You must be signed in to change notification settings - Fork 115
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
Fix ssh command usage #14703
Merged
Merged
Fix ssh command usage #14703
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trigger: test-robottelo |
PRT Result
|
Satellite-QE
added
PRT-Passed
Indicates that latest PRT run is passed for the PR
and removed
PRT-Passed
Indicates that latest PRT run is passed for the PR
labels
Apr 9, 2024
|
PRT Result
|
Satellite-QE
added
the
PRT-Failed
Indicates that latest PRT run is failed for the PR
label
Apr 10, 2024
PRT Result
|
Satellite-QE
removed
the
PRT-Failed
Indicates that latest PRT run is failed for the PR
label
Apr 10, 2024
|
PRT Result
|
Satellite-QE
added
the
PRT-Failed
Indicates that latest PRT run is failed for the PR
label
Apr 10, 2024
tpapaioa
removed
the
PRT-Failed
Indicates that latest PRT run is failed for the PR
label
Apr 10, 2024
|
PRT Result
|
Satellite-QE
added
PRT-Passed
Indicates that latest PRT run is passed for the PR
and removed
PRT-Passed
Indicates that latest PRT run is passed for the PR
labels
Apr 10, 2024
|
|
1 similar comment
|
PRT Result
|
Satellite-QE
added
the
PRT-Passed
Indicates that latest PRT run is passed for the PR
label
Apr 10, 2024
tpapaioa
removed
the
PRT-Passed
Indicates that latest PRT run is passed for the PR
label
Apr 10, 2024
|
PRT Result
|
Satellite-QE
added
the
PRT-Passed
Indicates that latest PRT run is passed for the PR
label
Apr 10, 2024
|
PRT Result
|
Satellite-QE
added
the
PRT-Passed
Indicates that latest PRT run is passed for the PR
label
Apr 11, 2024
JacobCallahan
approved these changes
Apr 11, 2024
ogajduse
approved these changes
Apr 11, 2024
JacobCallahan
added
CherryPick
PR needs CherryPick to previous branches
6.13.z
Introduced in or relating directly to Satellite 6.13
6.14.z
Introduced in or relating directly to Satellite 6.14
6.15.z
Introduced in or relating directly to Satellite 6.15
and removed
No-CherryPick
PR doesnt need CherryPick to previous branches
labels
Jun 10, 2024
This was referenced Jun 10, 2024
JacobCallahan
pushed a commit
to JacobCallahan/robottelo
that referenced
this pull request
Jun 10, 2024
JacobCallahan
pushed a commit
to JacobCallahan/robottelo
that referenced
this pull request
Jun 10, 2024
JacobCallahan
pushed a commit
to JacobCallahan/robottelo
that referenced
this pull request
Jun 10, 2024
Gauravtalreja1
pushed a commit
that referenced
this pull request
Jun 11, 2024
Fix ssh command usage (#14703) Co-authored-by: Tasos Papaioannou <[email protected]>
Gauravtalreja1
pushed a commit
that referenced
this pull request
Jun 11, 2024
Fix ssh command usage (#14703) Co-authored-by: Tasos Papaioannou <[email protected]>
Gauravtalreja1
pushed a commit
that referenced
this pull request
Jun 11, 2024
Fix ssh command usage (#14703) Co-authored-by: Tasos Papaioannou <[email protected]>
shweta83
pushed a commit
to shweta83/robottelo
that referenced
this pull request
Jun 11, 2024
…lliteQE#15387) Fix ssh command usage (SatelliteQE#14703) Co-authored-by: Tasos Papaioannou <[email protected]>
jyejare
pushed a commit
to jyejare/robottelo
that referenced
this pull request
Oct 19, 2024
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
6.14.z
Introduced in or relating directly to Satellite 6.14
6.15.z
Introduced in or relating directly to Satellite 6.15
CherryPick
PR needs CherryPick to previous branches
PRT-Passed
Indicates that latest PRT run is passed for the PR
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem Statement
The
Base.execute()
method, which is used to run hammer CLI commands via broker's ssh client, currently encodes the hammer command as abytes
object before sending it to broker. Broker and its current ssh library (ssh2-python312
) expect astr
instead, although the library silently accepts thebytes
object and runs the command successfully.With support for other ssh libraries being added to broker in SatelliteQE/broker#282, passing in a
bytes
object won't work anymore:Solution
This PR updates
Host.execute()
to pass a string-valued command instead.PRT test runs:
Related Issues