-
Notifications
You must be signed in to change notification settings - Fork 4.7k
NO-JIRA: OVNK BGP: workaround OCPBUGS-56488 #29853
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
NO-JIRA: OVNK BGP: workaround OCPBUGS-56488 #29853
Conversation
@jcaamano: This pull request explicitly references no jira issue. 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. |
/test e2e-metal-ipi-ovn-dualstack-bgp-local-gw-techpreview |
|
||
// This is a workaround for OCPBUGS-56488: scale down | ||
// nmstate operator and disable liveness probe | ||
o.Eventually(workaroundOCPBUGS56488).WithArguments(oc).WithTimeout(3 * time.Minute).WithPolling(5 * time.Second).Should(o.BeTrue()) |
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.
Can this end up running in paralel ? Or we have just one test at this BeforeEach ?
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.
its only one test, but it wouldn't be an issue if it ran in parallel
opPatch := []byte(`{"spec":{"replicas": 0}}`) | ||
_, err := oc.AdminKubeClient().AppsV1().Deployments(nmstateNamespace).Patch(context.Background(), "nmstate-operator", types.MergePatchType, opPatch, metav1.PatchOptions{}) | ||
if err != nil { | ||
return false, err | ||
} |
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.
maybe we need to wait nmstate-operator pods to not be there after scale them down ?
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.
unlikely to be an issue since we are waiting until the daemonset is fully deployed with the new prob so it would require the operator to not have scaled down yet but also it not updating the daemonset in all that time.
Anyway, added a check for this as well.
46b90af
to
2b66987
Compare
/test e2e-metal-ipi-ovn-dualstack-bgp-local-gw-techpreview |
5717d28
to
fb607fb
Compare
/test e2e-metal-ipi-ovn-dualstack-bgp-local-gw-techpreview |
/test ? |
@jcaamano: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
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. |
/test e2e-aws-ovn-ipsec-serial |
fb607fb
to
ea97140
Compare
/test e2e-aws-ovn-ipsec-serial |
Job Failure Risk Analysis for sha: ea97140
|
/test e2e-metal-ipi-ovn-dualstack-bgp-local-gw-techpreview |
ea97140
to
26364f4
Compare
/lgtm |
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
26364f4
to
712a943
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcaamano, qinqon 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 |
/retest-required |
@jcaamano: The following tests 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-sigs/prow repository. I understand the commands that are listed here. |
Job Failure Risk Analysis for sha: 712a943
|
88edc2f
into
openshift:main
[ART PR BUILD NOTIFIER] Distgit: openshift-enterprise-tests |
Due to a bug in the liveness probe of kubernetes-nmstate reported in OCPBUGS-56488, we need, as a workaround, to scale down the operator and disable the probe.