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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we change the repositoryName from etcd to etcd-operator, this problem is caused by issue etcd-io/etcd#15382, one fixed etcd version is suggessted for end user's requirement.
I fixed it in PR 8ddda1a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I will close this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@QiWang19 I double checked the test
TestImageStreamImportQuayIO
which has nothing to do withetcd
image, I agree with your code chage.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/reopen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The coreos organization in quay has been for the most abandoned since the acquisition of CoreOS and the etcd-operator image hasn't been updated in 6-7 years so there is a change that the unit test might fail again in the future if the organization is ever cleaned up.
What would you think about using
quay.io/projectquay/quay:3.13.4
instead? This is the official image for quay so it is more likely to remain available forever.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this would require changing the logic of the this test case, it seems the current test case does not specify the tag, just relies on the latest tag of the repository instead.
I would leave this to the openshift-apiserver to take a look if this change is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the test, it doesn't seem important whether the target image has the "latest" tag or another and since there is now precedence for the latest tag to be removed, we might as well just use a fixed tag that we know will never change / be removed.
I am one of the approver for openshift-apiserver. Technically the change I suggested is not necessary to address the issue at end and using the etcd-operator would work, but since we need to update the image or the tag anyway, we might aswell just use one that we know will never disappear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dgrisonnet Could someone from the OpenShift API Server team take over this bug fix? If so, I'll close my PR.
backport PR #500 is blocked by this issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some people are out because of KubeCon so it might difficult, but I can take over early next week. Feel free to reach out to me on slack if I forget about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dgrisonnet thanks, I assigned OCPBUGS-54458 to you.