Skip to content

OCPBUGS-77830: skip redirect when validating endpoint accessibility#10360

Open
tthvo wants to merge 1 commit intoopenshift:mainfrom
tthvo:ep-validate
Open

OCPBUGS-77830: skip redirect when validating endpoint accessibility#10360
tthvo wants to merge 1 commit intoopenshift:mainfrom
tthvo:ep-validate

Conversation

@tthvo
Copy link
Member

@tthvo tthvo commented Mar 4, 2026

The installer uses HTTP HEAD to validate if user-provided service endpoint URLs are reachable. However, in some cases, the request results in a redirect to AWS doc URL, which can causes install failure in disconnected environment. The users should not be required to open access to AWS docs to install.

For example:

$ curl --head https://sts.ap-southeast-1.amazonaws.com HTTP/1.1 302 Found
Location: https://aws.amazon.com/iam

The installer uses HTTP HEAD to validate if user-provided service
endpoint URLs are reachable. However, in some cases, the request results
in a redirect to AWS doc URL, which can causes install failure in
disconnected environment. The users should not be required to open
access to AWS docs to install.

For example:

$ curl --head https://sts.ap-southeast-1.amazonaws.com
HTTP/1.1 302 Found
Location: https://aws.amazon.com/iam
@openshift-ci-robot
Copy link
Contributor

@tthvo: This pull request explicitly references no jira issue.

Details

In response to this:

The installer uses HTTP HEAD to validate if user-provided service endpoint URLs are reachable. However, in some cases, the request results in a redirect to AWS doc URL, which can causes install failure in disconnected environment. The users should not be required to open access to AWS docs to install.

For example:

$ curl --head https://sts.ap-southeast-1.amazonaws.com HTTP/1.1 302 Found
Location: https://aws.amazon.com/iam

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 4, 2026
@openshift-ci openshift-ci bot requested review from mtulio and patrickdillon March 4, 2026 20:15
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 4, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign patrickdillon for approval. For more information see the Code Review Process.

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

Details 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

@tthvo
Copy link
Member Author

tthvo commented Mar 4, 2026

/cc @barbacbd

@openshift-ci openshift-ci bot requested a review from barbacbd March 4, 2026 20:15
@tthvo
Copy link
Member Author

tthvo commented Mar 4, 2026

For more information, we are having an internal discussion here: https://redhat-internal.slack.com/archives/C68TNFWA2/p1772550190769159

@tthvo
Copy link
Member Author

tthvo commented Mar 4, 2026

/test images

@tthvo
Copy link
Member Author

tthvo commented Mar 4, 2026

/payload-job periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-aws-usgov-ipi-private-ep-fips-f7

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 4, 2026

@tthvo: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-openshift-tests-private-release-4.22-amd64-nightly-aws-usgov-ipi-private-ep-fips-f7

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/f0f1aa00-1817-11f1-9934-a73d804ad55f-0

@tthvo
Copy link
Member Author

tthvo commented Mar 5, 2026

/retitle OCPBUGS-77830: skip redirect when validating endpoint accessibility

@openshift-ci openshift-ci bot changed the title no-jira: skip redirect when validating endpoint accessibility OCPBUGS-77830: skip redirect when validating endpoint accessibility Mar 5, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Mar 5, 2026
@openshift-ci-robot
Copy link
Contributor

@tthvo: This pull request references Jira Issue OCPBUGS-77830, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @gpei

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

The installer uses HTTP HEAD to validate if user-provided service endpoint URLs are reachable. However, in some cases, the request results in a redirect to AWS doc URL, which can causes install failure in disconnected environment. The users should not be required to open access to AWS docs to install.

For example:

$ curl --head https://sts.ap-southeast-1.amazonaws.com HTTP/1.1 302 Found
Location: https://aws.amazon.com/iam

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from gpei March 5, 2026 20:26
@tthvo
Copy link
Member Author

tthvo commented Mar 5, 2026

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@tthvo: This pull request references Jira Issue OCPBUGS-77830, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.22.0) matches configured target version for branch (4.22.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @yunjiang29

Details

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from yunjiang29 March 5, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants