eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

Skip appending ':443: suffix to the image URLs

Open wongni opened this issue 2 years ago • 14 comments

Issue #, if available: https://github.com/aws/eks-anywhere/issues/1602

Description of changes: Skip appending ':443: suffix to the image URLs when the registry mirror endpoint port is not specified or the same as the default HTTPS port.

Testing (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

wongni avatar Mar 23 '22 21:03 wongni

/cc @vignesh-goutham

wongni avatar Mar 24 '22 19:03 wongni

/cc @maxdrib

wongni avatar Mar 24 '22 19:03 wongni

Does appending the ":443" port cause any issues with pushing the images?

abhinavmpandey08 avatar Mar 25 '22 18:03 abhinavmpandey08

Does appending the ":443" port cause any issues with pushing the images?

A certain customer registry rejects the push request. They manually tested the push after removing the suffix ":443", and it worked in their environment.

wongni avatar Mar 28 '22 15:03 wongni

Different registries might have different behaviour when it comes to pushing images. I suggest we hold this until we research a bit more on the topic.

vignesh-goutham avatar Mar 28 '22 19:03 vignesh-goutham

/hold

vignesh-goutham avatar Mar 28 '22 19:03 vignesh-goutham

Does appending the ":443" port cause any issues with pushing the images?

A certain customer registry rejects the push request. They manually tested the push after removing the suffix ":443", and it worked in their environment.

Are you running the registry on port 443? Or is it running on a different port? Also, can you share the exact error you see when you try to run docker push <some-registry>:443/<some-image>

abhinavmpandey08 avatar Mar 29 '22 23:03 abhinavmpandey08

/override eks-anywhere-release-tooling-test-presubmit

abhay-krishna avatar Apr 12 '22 19:04 abhay-krishna

@abhay-krishna: Failed to get presubmits

In response to this:

/override eks-anywhere-release-tooling-test-presubmit

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/test-infra repository.

eks-distro-bot avatar Apr 12 '22 19:04 eks-distro-bot

/override eks-anywhere-release-tooling-test-presubmit

abhay-krishna avatar Apr 12 '22 19:04 abhay-krishna

@abhay-krishna: Failed to get presubmits

In response to this:

/override eks-anywhere-release-tooling-test-presubmit

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/test-infra repository.

eks-distro-bot avatar Apr 12 '22 19:04 eks-distro-bot

We are also running into the exact same issue, has there been any progress made with the research?

robbo10 avatar Aug 01 '22 14:08 robbo10

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: To complete the pull request process, please assign ahreehong after the PR has been reviewed. You can assign the PR to them by writing /assign @ahreehong in a comment when ready.

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

eks-distro-bot avatar Aug 01 '22 15:08 eks-distro-bot

@wongni: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
eks-anywhere-release-tooling-test-presubmit 2f9e07f3045ec6ae62ca387f28a7d4748cb4729b link /test eks-anywhere-release-tooling-test-presubmit
eks-anywhere-presubmit e6b7e328d802fa3df3116c7ba9c37724d1919069 link true /test eks-anywhere-presubmit
eks-anywhere-e2e-presubmit e6b7e328d802fa3df3116c7ba9c37724d1919069 link true /test eks-anywhere-e2e-presubmit

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/test-infra repository. I understand the commands that are listed here.

eks-distro-bot avatar Aug 01 '22 15:08 eks-distro-bot