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

Use controlplane ip from compute nodes instead of hostname for gathering the sosreport logs #50

Closed
wants to merge 0 commits into from

Conversation

rebtoor
Copy link
Contributor

@rebtoor rebtoor commented May 8, 2024

This patch is a followup of
#49 since we can't ssh to $hostname from must-gather container because it doesn't have access to OSP controlplane DNS server.

To enhance readability and maintainability of the script, acquiring the
required parameters in the $data variable was changed from
go-template to json, using jq command as its parser.

An updated Dockerfile was provided to install jq in the must-gather
image.

@rebtoor rebtoor requested a review from fmount May 8, 2024 16:48
@openshift-ci openshift-ci bot requested a review from dprince May 8, 2024 16:48
@rebtoor rebtoor force-pushed the get-compute-ip branch 2 times, most recently from a1e2cb6 to 9485e00 Compare May 9, 2024 08:22
@rebtoor
Copy link
Contributor Author

rebtoor commented May 9, 2024

/hold

@rebtoor rebtoor changed the title Use ctlplane ip from status.allIPs if ansibleHost isn't available Use controlplane ip from compute nodes instead of hostname for gather sosreport logs May 9, 2024
@rebtoor rebtoor changed the title Use controlplane ip from compute nodes instead of hostname for gather sosreport logs Use controlplane ip from compute nodes instead of hostname for gathering the sosreport logs May 9, 2024
@rebtoor rebtoor closed this May 10, 2024
Copy link

openshift-ci bot commented May 10, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rebtoor rebtoor deleted the get-compute-ip branch May 10, 2024 16:21
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.

1 participant