-
Notifications
You must be signed in to change notification settings - Fork 430
OCPBUGS-45621: Fix dynamic-system-reserved-calc.sh
when only true
parameter is used
#4733
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
OCPBUGS-45621: Fix dynamic-system-reserved-calc.sh
when only true
parameter is used
#4733
Conversation
When using the command with only `true` parameter, the call to function `dynamic_node_sizing` only has 1 parameter, and `dynamic_cpu_sizing $2` has no parameter.
@oarribas: This pull request references Jira Issue OCPBUGS-45621, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
/jira refresh |
@oarribas: This pull request references Jira Issue OCPBUGS-45621, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
/retest |
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 for the change @oarribas
/lgtm
/retest |
1 similar comment
/retest |
/retest-required |
/retest |
/retest-required |
/retest |
@oarribas: 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. |
/retest-required |
Hi @djoshy, can this PR be approved as per above comment? |
Will defer to node teams approval, as I'm not a kubelet parameter expert. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: djoshy, oarribas, sairameshv 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 |
c8f545b
into
openshift:main
@oarribas: An error was encountered updating to the MODIFIED state for bug OCPBUGS-45621 on the Jira server at https://issues.redhat.com/. No known errors were detected, please see the full error message for details. Full error message.
No response returned: Post "https://issues.redhat.com/rest/api/2/issue/OCPBUGS-45621/transitions": POST https://issues.redhat.com/rest/api/2/issue/OCPBUGS-45621/transitions giving up after 5 attempt(s)
Please contact an administrator to resolve this issue, then request a bug refresh with 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. |
[ART PR BUILD NOTIFIER] Distgit: ose-machine-config-operator |
/jira refresh |
@oarribas: An error was encountered updating to the MODIFIED state for bug OCPBUGS-45621 on the Jira server at https://issues.redhat.com/. No known errors were detected, please see the full error message for details. Full error message.
No response returned: Post "https://issues.redhat.com/rest/api/2/issue/OCPBUGS-45621/transitions": POST https://issues.redhat.com/rest/api/2/issue/OCPBUGS-45621/transitions giving up after 5 attempt(s)
Please contact an administrator to resolve this issue, then request a bug refresh with 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. |
/jira refresh |
@sairameshv: Jira Issue OCPBUGS-45621: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-45621 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 openshift-eng/jira-lifecycle-plugin repository. |
/cherry-pick release-4.19 |
@BhargaviGudi: new pull request created: #5094 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. |
/cherry-pick release-4.18 |
/cherry-pick release-4.17 |
@BhargaviGudi: new pull request created: #5095 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. |
@BhargaviGudi: new pull request created: #5096 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. |
When using the
dynamic-system-reserved-calc.sh
command with onlytrue
parameter, the call to functiondynamic_node_sizing
only has 1 parameter, and then the call to functiondynamic_cpu_sizing $2
has no parameter and fail.Fixes: OCPBUGS-45621
- What I did
Changed the order of the parameters passed to function
dynamic_node_sizing
, as$4
is optional- How to verify it
Run the command this way (to not override the default env file) and check the output file:
- Description for the changelog
Fix the
dynamic-system-reserved-calc.sh
script when onlytrue
parameter is used.