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
Bug 1914932: Put correct resource name in relatedObjects #945
Bug 1914932: Put correct resource name in relatedObjects #945
Conversation
Signed-off-by: Alexander Constantinescu <aconstan@redhat.com>
Hooray, upgrades pass! Let's review this and get it in! @squeed : could you review this tomorrow? /retitle Bug 1914932: Put correct resource name in relatedObjects |
@alexanderConstantinescu: This pull request references Bugzilla bug 1914932, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
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/test-infra repository. |
Suggestion: just always add the object in |
That's what's happening here:
Anyhow, the goal is to remove the skip altogether in a succeeding PR as I mentioned in the description. |
That's a good point. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexanderConstantinescu, squeed 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 |
/test e2e-aws-sdn-multi |
/retest Please review the full test history for this PR and help us cut down flakes. |
7 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@danwinship : could you override e2e-aws-sdn-multi ? Its history looks grim https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-openshift-cluster-network-operator-master-e2e-aws-sdn-multi and I don't want to hold this PR anymore because of it EDIT: never mind, it started passing. |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/cherry-pick release-4.6 |
@juanluisvaladas: once the present PR merges, I will cherry-pick it on top of release-4.6 in a new PR and assign it to you. 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/test-infra repository. |
/cherry-pick release-4.6 cancel We shouldn't cherry-pick this as-is. I need another PR towards master after this one merges, as mentioned in the description. |
@alexanderConstantinescu: once the present PR merges, I will cherry-pick it on top of release-4.6 cancel in a new PR and assign it to you. 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/test-infra repository. |
/retest |
@@ -97,6 +95,11 @@ func (status *StatusManager) deleteRelatedObjectsNotRendered(co *configv1.Cluste | |||
log.Printf("Object Kind is Namespace, skip") | |||
continue | |||
} | |||
// @aconstan: remove this after having the PR implementing this change, integrated. |
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.
Ugh. If we add new objects to relatedObjects
to get them must-gathered, then that means we'll end up deleting those objects when you downgrade to a version of CNO where they weren't part of relatedObjects
. This may be the cause of the "openshift-sdn CRDs get deleted when downgrading" bug? (Not sure where that is or who was working on it...)
We need to avoid doing deleteRelatedObjectsNotRendered
on downgrade. @squeed
For now, the fix is probably to backport this hack to 4.6 and 4.5
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.
It is the cause of it, @juanluisvaladas verified it with PR: #948. We need this back-ported.
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@alexanderConstantinescu: The following test failed, say
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. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@alexanderConstantinescu: All pull requests linked via external trackers have merged: Bugzilla bug 1914932 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 kubernetes/test-infra repository. |
@juanluisvaladas: #945 failed to apply on top of branch "release-4.6":
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/test-infra repository. |
@alexanderConstantinescu: cannot checkout release-4.6 cancel: error checking out release-4.6 cancel: exit status 1. output: error: pathspec 'release-4.6 cancel' did not match any file(s) known to git 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/test-infra repository. |
PR: #873 was missing a correct resource name for
networks.operator.openshift.io
to be exported properly to a must-gather. PR: #877 tried fixing this, but was missing a piece to be able to pass the CI upgrade jobs, which this PR now adds.Essentially upgrade jobs upgrade from HEAD to HEAD + patch. So with #873: HEAD now has a resource name which is incorrect, if we now want to fix this we will incorrectly delete
networks.operator.openshift.io
on such upgrades. This is not yet a problem for any OpenShift release, since #873 is only on master. The only fix I could think of was to explicitly skip the deletion of the CRD for now. Once this PR has merged we can then delete that explicit skip, since master will have the correct resource name and we won't expect that to change thereafter. I will file a PR for that once this integrates./assign @squeed