-
Notifications
You must be signed in to change notification settings - Fork 98
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
Collect Info about Openshift scheduler #558
Collect Info about Openshift scheduler #558
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Sergey1011010 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 |
scheduler := &schedulers.Items[i] | ||
|
||
records = append(records, record.Record{ | ||
Name: fmt.Sprintf("config/schedulers/%v/%v", scheduler.Namespace, scheduler.Name), |
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 looks like the scheduler
is cluster-wide (i.e no namespace) and this leads to no name directory.
|
||
// GatherSchedulers collects information about schedulers | ||
// | ||
// * Location in archive: config/pod/openshift-authentication/logs/{pod-name}/errors.log |
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.
The location is not correct here.
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.
We can add a link to API here as well IMO
// Response see: | ||
// https://docs.openshift.com/container-platform/4.6/rest_api/workloads_apis/pod-core-v1.html#apiv1namespacesnamespacepodsnamelog | ||
// | ||
// * Location in archive: config/pod/openshift-kube-scheduler/logs/{pod-name}/errors.log |
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.
You called it messages.log
:)
It would be nice to add some unit test for the new gatherers. |
ab0965f
to
db9d61d
Compare
docs/gathered-data.md
Outdated
|
||
collects information about schedulers | ||
|
||
* Location in archive: config/pod/openshift-authentication/logs/{pod-name}/errors.log |
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.
Please regenerate the docs
/label docs-approved |
/label px-approved |
Reviewed and verified. Thanks. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
6 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/label qe-approved |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
12 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
a5923db
to
b1f0e75
Compare
This was simple rebase. Approving again. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
7 similar comments
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
/retest-required Please review the full test history for this PR and help us cut down flakes. |
Categories
Sample Archive
docs/insights-archive-sample/config/schedulers/cluster.json
docs/insights-archive-sample/config/pod/openshift-kube-scheduler/logs/{NODE_NAME}/messages.log
Documentation
docs/gathered-data.md
Unit Tests
Privacy
Yes. There are no sensitive data in the newly collected information.
Changelog
No
Breaking Changes
No
References
https://issues.redhat.com/browse/CCXDEV-6202
https://bugzilla.redhat.com/show_bug.cgi?id=???
https://access.redhat.com/solutions/???