-
Notifications
You must be signed in to change notification settings - Fork 114
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
OCPBUGS-32710: pkg/storage/s3: use force path style in favour of virtual hosted style config #1028
OCPBUGS-32710: pkg/storage/s3: use force path style in favour of virtual hosted style config #1028
Conversation
@flavianmissi: This pull request references Jira Issue OCPBUGS-32710, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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. |
let's hold for pre-merge testing |
/jira refresh |
@flavianmissi: This pull request references Jira Issue OCPBUGS-32710, which is invalid:
Comment In response to this:
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. |
the latest upgrade of our openshift/docker-distribution fork brought in a patch introducing `forcepathstyle` configuration, which was mistakenly merged the openshift only `virtualhostedstyle` configuration. to workaround the issue we simply drop the use of `virtualhostedstyle` in favour of `forcepathstyle`. we will eventually remove our custom `virtualhostedstyle` path from our docker-distribution fork, but using `.spec.storage.s3.virtualHostedStyle` should work as expected regardless.
e755d6e
to
fde302b
Compare
FTR this needs to be tested in both AWS S3 as well as IBM COS (apparently the virtual hosted style was hard coded there to false) |
/retest |
@flavianmissi Hi, could I understand if REGISTRY_STORAGE_S3_FORCEPATHSTYLE=true, our retrieve blob address should be like https://s3-endpoint.etc/bucket-name/docker/registry/v2/blobs/sha256/<>/data ? |
Hi @xiuwang - yes that is my understanding as well! |
/label qe-approved |
/label cherry-pick-approved |
/jira refresh |
@flavianmissi: This pull request references Jira Issue OCPBUGS-32710, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
/hold cancel |
/jira refresh |
@flavianmissi: This pull request references Jira Issue OCPBUGS-32710, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
We're seeing failures on a test in vsphere in another PR - I'll try to run that same test against this PR to see if I can reproduce the issue (and confirm it's unrelated to that PR). |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dmage, flavianmissi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/jira refresh The requirements for Jira bugs have changed (Jira issues linked to PRs on main branch need to target different OCP), recalculating validity. |
@openshift-bot: This pull request references Jira Issue OCPBUGS-32710, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
/jira refresh The requirements for Jira bugs have changed (Jira issues linked to PRs on main branch need to target different OCP), recalculating validity. |
@openshift-bot: This pull request references Jira Issue OCPBUGS-32710, which is invalid:
Comment In response to this:
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. |
/jira refresh |
@flavianmissi: This pull request references Jira Issue OCPBUGS-32710, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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. |
@flavianmissi: all tests passed! Full PR test history. Your PR dashboard. 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
@flavianmissi: Jira Issue OCPBUGS-32710: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-32710 has been moved to the MODIFIED state. In response to this:
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. |
[ART PR BUILD NOTIFIER] This PR has been included in build ose-cluster-image-registry-operator-container-v4.17.0-202405212243.p0.g053bc77.assembly.stream.el9 for distgit ose-cluster-image-registry-operator. |
/cherry-pick release-4.16 |
@flavianmissi: new pull request created: #1042 In response to this:
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 kubernetes-sigs/prow repository. |
the latest upgrade of our openshift/docker-distribution fork brought in a patch introducing
forcepathstyle
configuration, which was mistakenly merged the openshift onlyvirtualhostedstyle
configuration.to workaround the issue we simply drop the use of
virtualhostedstyle
in favour offorcepathstyle
.we will eventually remove our custom
virtualhostedstyle
path from our docker-distribution fork, but using.spec.storage.s3.virtualHostedStyle
should work as expected regardless.