-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-30641 Fetch pod logs for ZAP report #18200
Conversation
Before this PR, WU ZAP report has only one log file which contains the WU log lines from all pods. In this PR, each pod where the WU works on has a log file in the WU ZAP report. The createWULogFile() is replaced by new readWULogToFiles() which does the following: 1. check whether Remote Log Accessor is available or not. 2. find out the pods where the WU works on. 3. read the log lines into the log files for the pods. Signed-off-by: wangkx <[email protected]>
https://track.hpccsystems.com/browse/HPCC-30641 |
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.
@wangkx - looks ok afaict, I assume tested.
Have you also tested that bare-metal ZAP report creation still works in bare-metal?
I tested ZAP report creation on both cloud and bare metal. The ZAP reports are created fine. |
@jakesmith In bare metal, the ECLWatch does show a warning: "Warning: may not be able to include log file because Remote Log Access plug-in is not available!" Should I change the code (in CWsWorkunitsEx::onWUGetZAPInfo()) to only show the warning if isContainerized()?
|
Does it ever try to use the Remote Log Access interface in bare-metal at the moment? If not, then yes the warning should be suppressed - but if not new, change that in a separate PR. If it Remote Log Access can be hit in bare-metal - when does it go one route vs the other? |
no
It is from #16957. I will create a separate JIRA/PR. |
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.
@wangkx - looks good.
@ghalliday please merge this PR. |
Before this PR, WU ZAP report has only one log file which contains the WU log lines from all pods. In this PR, each pod where the WU works on has a log file in the WU ZAP report.
The createWULogFile() is replaced by new readWULogToFiles() which does the following: 1. check whether Remote Log Accessor is available or not. 2. find out the pods where the WU works on. 3. read the log lines into the log files for the pods.
Type of change:
Checklist:
Smoketest:
Testing: