Bug 1931505: [On-prem] - fix vip filtering syntax for Keepalived remove-vips#2548
Conversation
|
/retitle Bug 1931505: [On-prem] - fix grep syntax for Keepalived remove-vips |
|
@yboaron: This pull request references Bugzilla bug 1931505, 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
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (eweiss@redhat.com), skipping review request. DetailsIn 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. |
|
/bugzilla refresh |
|
@stbenjam: This pull request references Bugzilla bug 1931505, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (eweiss@redhat.com), skipping review request. DetailsIn 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. |
There was a problem hiding this comment.
Nit: I'd personally remove the grep in the middle and rely on awk for filtering:
| interface=$(ip -o a | grep "\s${address}/" | awk '{print $2}') | |
| cidr=$(ip -o a | grep "\s${address}/" | awk '{print $4}') | |
| interface=$(ip -o a | awk "/\s${address}/ {print \$2}") | |
| cidr=$(ip -o a | awk "/\s${address}/ {print \$4}") |
2ef70f0 to
a2e4468
Compare
|
@yboaron: This pull request references Bugzilla bug 1931505, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (eweiss@redhat.com), skipping review request. DetailsIn 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. |
cybertron
left a comment
There was a problem hiding this comment.
Argh, I must have added the wrong quotes when I was fixing the vsphere job. :-(
One thing that needs to be fixed inline, but otherwise lgtm.
There was a problem hiding this comment.
This doesn't do quite the same thing. The awk needs to be:
awk "/\s${address}\// {print \$2}"
We need to make sure we match exactly the VIP and not a substring.
a2e4468 to
d250a00
Compare
|
/lgtm |
cybertron
left a comment
There was a problem hiding this comment.
/lgtm
Let's see if the bot likes me better now...
|
Progress! Let's see if it will run the jobs too. :-) /test e2e-openstack |
|
/retest That's...a lotta red. Two of the on-prem platforms passed though so this is likely fine. I see in the metal-ipi job that it did the right thing as well: |
|
/lgtm |
|
I sent a test PR (use grep with " for VIP filtering) to check CI gates with grep instead of awk .. [1] #2550 |
|
/retest |
|
Seems to be working for ovirt and openstack at least. |
|
/retest |
1 similar comment
|
/retest |
|
/test e2e-metal-ipi |
|
/test e2e-vsphere |
|
vsphere passed |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cybertron, Gal-Zaidman, jcpowermac, kikisdeliveryservice, mandre, yboaron The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
6 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. |
|
@yboaron: All pull requests linked via external trackers have merged: Bugzilla bug 1931505 has been moved to the MODIFIED state. DetailsIn 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. |
https://bugzilla.redhat.com/show_bug.cgi?id=1931505 reproduced in QE folks environments even with the latest version,
seems that changing vip filtering syntax solved the problem locally.