Replies: 6 comments 1 reply
-
|
With the experience of several rounds of testing, I like the tool. A potential concern is the tool is kind of analytical, not diagnostic like Another potential objection could be there is not much overlap of code with other subcommands / components of Since there have been thoughts here and there to have such a tool, and this one has a good basis, I m all in. |
Beta Was this translation helpful? Give feedback.
-
|
I've long been wanting to do some kind of However, I am fairly opinionated about how that component should work, at least in terms of what the end user gets as output. I'm firmly in the camp that simply diffing paths is of very limited value, and in something as large as an sos report, it quickly becomes noise and would be unwieldy unless the component does specific comparisons across reports, not just highlighting that collection paths are different. As a specific example with this Further, I don't think it's reasonable to expect users to commit the diff output syntax (e.g. What I would envision as the Obviously not in an actual markdown table, and we'd need to define guardrails for what gets compared vs. what is best left for other analysis tools, but you get the idea. Basically, we'd have plugin-analogous |
Beta Was this translation helpful? Give feedback.
-
|
So you (@TurboTurtle) would like different specification of both:
Good idea we can compare mure than two sosreports, the core implementation should not limit to just 2 (though I think comparing 2 will be the most often use case). Maybe we should align on what do we expect from the
At least for the first point, the tool should hide - or have the option to hide - differences in hostnames and IPs (either the own hostname and IP of the system the report was run on, or all of them - e.g. abstract from cluster hostnames, abstract from all clients of a server, or abstract from different Capsule names in Satellite's sosreport from customer, to compare it with sosreport from my Satellite with my Capsules). What are your use cases or expectations from the tool? About the particular output or filtering options: I dont have much preferences. Just maybe a good additional feature would be an output format that is processable by scripts to alter my system per the other. Like either |
Beta Was this translation helpful? Give feedback.
-
|
@pmoravec @TurboTurtle thank you for sharing your ideas, I fully understand you already have some expectations for the
I'm also thinking that, in a ideal world, the EXCLUDE_FILES could be inherited from the I don't know if |
Beta Was this translation helpful? Give feedback.
-
|
I'll replicate my comment from the original #4262 here: Not spam, thanks for the link! I will check this out when I have some time. On a somewhat related note, if you use a snapshot capable storage stack (currently LVM2/Stratis, but btrfs support is coming Real Soon Now™), you might be interested in Snapshot Manager. We added a new feature back in December that we call the "Difference Engine"—it allows the user to compare snapshot sets to one another, or to the running system. Check it out here: https://github.com/snapshotmanager/snapm I'm hoping to publish some video tutorials & a book in the next few months. Anyway, the reason I mention this (tl;dr sorry!) is that we have an open plan to integrate sos report capture into We currently support Fedora, CentOS, RHEL, Oracle etc. natively & it's an easy port to Debian/Ubuntu/SUSE—it all works pretty fine there, I'm just looking for packagers or time to do it myself. |
Beta Was this translation helpful? Give feedback.
-
|
So, the I have an outstanding TODO to create a freestanding I would absolutely LOVE to collaborate on this. Visualising and comprehending changes on systems... "This Sort of Thing Is My Bag Baby" 😇🛍️✅ We have some screenshots of what the difference tree & diff report rendering look like in our README and there's a bit more detail and worked examples on our blog, especially Your First Snapshot Set and there is a video series & a book in the works. More than happy to chat about any of this, or hop on a call some time. I gotta run & pick my car up at the shop rn, but I'll read the thread and get back to you all when I get home. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I don't pretend to spam, just wanted to share a tool I am working on. sosdiff compares two sosreports by parsing sos_reports/sos.json and showing the differences on collected files and optionally the diff output for those files.
I saw here and there some talks to add similar feature to sos, so I just wanted to present it and hopefully it could be useful for you.
https://github.com/pafernanr/sosdiff
Regards,
Beta Was this translation helpful? Give feedback.
All reactions