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-9994: Verbosity levels for operator and operand #111
Conversation
@swghosh: This pull request references Jira Issue OCPBUGS-9994, 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 kubernetes/test-infra repository. |
/hold |
The bug also mentions |
Yes, we can do that too; in a separate commit in the same PR. |
/remove-hold
Using implementation of OpenShift API server operator resource's xref: https://github.com/openshift/library-go/blob/master/pkg/operator/loglevel/util.go#L14-L27 |
/retest-required |
@swghosh: This pull request references Jira Issue OCPBUGS-9994, 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 kubernetes/test-infra repository. |
@swghosh: This pull request references Jira Issue OCPBUGS-9994, which is invalid:
Comment 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. |
/test all |
f533181
to
a1f35ea
Compare
/assign |
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 you add sample logs of before and after for both the operand and operator? Based on this I want to decide if we want to support operatorLogLevel
(via the operator spec) at all.
Since the operator already has
Line 23 in 70e39c5
pflag.CommandLine.AddGoFlagSet(goflag.CommandLine) |
Assuming the above flow works, I think we can choose not to support the operator logLevel
via the cluster
scoped resource.
/jira refresh |
1 similar comment
/jira refresh |
@swghosh: An error was encountered querying GitHub for users with public email (xxia@redhat.com) for bug OCPBUGS-9994 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.
Post "http://ghproxy/graphql": dial tcp 172.30.229.2:80: connect: connection refused
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 kubernetes/test-infra repository. |
/jira refresh |
@swghosh: This pull request references Jira Issue OCPBUGS-9994, which is valid. 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 kubernetes/test-infra repository. |
This hasn't yet Dev /lgtm label before labeling qe-approved. But anyway, labeling it; would like to do post-merge test since other work (including OCP Auth) items need me :) |
Signed-off-by: Swarup Ghosh <swghosh@redhat.com>
--v, --vmodule Signed-off-by: Swarup Ghosh <swghosh@redhat.com>
to ensure operator log level is Normal by default and would also allow to override the OPERATOR_LOG_LEVEL from subscription object to enforce a custom log level set by the user Signed-off-by: Swarup Ghosh <swghosh@redhat.com>
@swghosh: all tests passed! 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. |
/cc @xenolinux |
/label docs-approved |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: swghosh, thejasn 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 |
/label px-approved |
@swghosh: Jira Issue OCPBUGS-9994: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-9994 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. |
--v
argument on the basis ofoperatorSpec.logLevel
--v
argument of operator binarySigned-off-by: Swarup Ghosh swghosh@redhat.com