-
Notifications
You must be signed in to change notification settings - Fork 248
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
Error Analyzer - Print error msg #6686
Conversation
|
I think |
Hi, Thank you for the PR @Roy214. Overall the approach looks good to me, but some changes are still needed.
|
|
Hi @alexey-tikhonov, Without root or sudo it's failing.
|
I am yet to do the second part. "For methods which are moved to util.py, please also remove them from request.py and make sure sssctl analyze request still works as expected." |
Is it really useful to add What about adding it to "footer" or "header" once? |
Something like below:
|
Updated the error page link at the bottom.
|
After deleting the matched_line and load function from resquest.py
|
@justin-stephenson,
Waiting for review. I am not able to apply the label. |
Hi, I don't see any changes to Please also check the problems identified by @github-code-scanning - they are commented here also and should be addressed. It would be great if you can also squash your commits into a single commit (See interactive rebase approach here https://www.cloudbees.com/blog/git-squash-how-to-condense-your-commit-history) |
fe28090
to
cb0e84f
Compare
Hello @justin-stephenson, Please have a look once. |
I see 2 commits now in this Pull Request, it should be just 1. |
I have made the changes could you please review. I can not change the status. |
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.
Thank you for the patch Roy. Looks good to me.
@thalman @justin-stephenson, Do we need to change the labels. |
I removed the "change requested" label, now it is waiting for your approval @justin-stephenson |
@justin-stephenson, "waiting for your review" |
I am hoping someone from the SSSD team can approve SSSD/sssd.io#67 so these two PRs will be merged at the same time. |
@alexey-tikhonov @justin-stephenson @sumit-bose we were discussing this (#4830), do you think this kind of work can be also done with sssctl analyze? |
@andreboscatto, could you please clarify the question? |
Hi, instead of reading a man page to troubleshoot Smartcard authentication use this tool to get the related log message and maybe some hints what to do to avoid the error. bye, |
For sure this is possible, it is essentially the same as what @Roy214 is creating here but for SSSD general error messages, i.e. Search for certain log messages, and print a link to a sssd.io page with tips on how resolve it. This is more reactive than proactive, geared towards troubleshooting over general setup and configuration however. |
@justin-stephenson @sumit-bose
@justin-stephenson @alexey-tikhonov @andreboscatto @sumit-bose If you guys agree I can try to implement the same kind of stuff for #4830 |
Why not?! If you have suitable time it would be great :) |
Approved from my side, now that the sssd.io errors page is merged. |
Also removing unused variable and import.
I just changed the commit subject and rebased. |
Resolves: #6679