-
Notifications
You must be signed in to change notification settings - Fork 539
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
friendly naming pattern not providing time #1963
Comments
We discussed this internally and I don't know if minute accuracy makes sense. My counter proposal was to just take the minutes in the day and divide by 15 - to always get a 2 digit number for that day. That way it's just +2digits and implies about the accuracy of what time period we are collecting. Also, any reason to not use the checksum hash instead of random? |
The binary will be renamed. The project has always been called 'sos'. With the different sub commands planned, I would imagine we'd keep the identifier in the name of whatever we're outputting (e.g.
For sosreports taken within the same 15-minute block, would that not land us right back here?
Length. The name pattern change was initiated due to archive names that were really unfriendly on the eyes due to the timestamp used. A checksum hash is making that situation worse, imo. |
If you transfer the sosreport archive from it's original place, the timestamp shown in ls for the given archive will change. Which make Where it has been created: After the transfert to another machine, it wil take the time of the other machine and so on. If you don't transfert them in the right order, extra reading and care need to be taken to make sure you put back the archives in the right order of time. It's not impossible, but it can clearly become an annoyance. |
|
FWIW, if the Ubuntu contributors/users really want a timestamp of any kind, you can make it a policy-specific one by just changing The change from legacy to friendly for RH was a bit of a mixed bag - the majority of people wanted it and responded positively, but a loud minority were against any changes at all to the name pattern - but internally we're all settled on it and fine now. I would not want to disrupt that again. |
Original host from where sosreport has been generated
Wait a couple of minutes, then sftp the archive to our ftp and then downloading the archive from the ftp to a analysis system:
We completely loose track of the time and if created and downloaded in diff TZ it add an extra layer of distraction. I really don't think we should drop the time at all IMHO (minus the second, which I don't think add any value) Having the time in the archive name is quick and easy reference. |
We will evaluate internally what are the next step, if we stick to friendly mode or adapt name_pattern in ubuntu policy. Thanks for the context @TurboTurtle |
Not providing time may be challenging for customer sending multiple sosreport archive in the same day for the same host, to know the order of creation.
Yes, we can workaround it with label (e.g. 1strun, 2ndrun, ....) but it's not as efficient as the time.
Time exist in legacy mode, but has been dropped in 'friendly' mode.
Which I assume the decision was made to restrict the amount of digit in the archive name.
What about adding the time back in 'HHMM' format and rename sosreport to sos, which anyway IIUC, 4.0 will be called
sos subcommand
instead ofsosreport,
so that would stay align with current 4.0 development plan.Removing 'report' == - 6 digits
Adding HHMM == + 4digits
The archive name benefit of 2 digits less longer with that approach, and the naming to be more valuable IMHO.
(e.g.sos-tux-mylabel-123456-2017-12-24-1455-ezcfcop.tar.xz')
The text was updated successfully, but these errors were encountered: