Commit Graph

54 Commits

Author SHA1 Message Date
James Antill
0633cda299 updates+uptimes: Minor UI tweaks, less hacky sort.
Signed-off-by: James Antill <james@and.org>
2026-02-10 17:21:18 -05:00
James Antill
fef533ae90 updates+uptimes: Minor UI changes, mostly --history
Signed-off-by: James Antill <james@and.org>
2026-01-14 10:59:33 -05:00
James Antill
982818878e updates+uptimes: Add --hist and --osnames options.
Signed-off-by: James Antill <james@and.org>
2025-12-26 13:12:25 -05:00
James Antill
a3617c3707 updates+uptimes: Fix cmd assignment.
Signed-off-by: James Antill <james@and.org>
2025-12-12 16:05:29 -05:00
James Antill
f694f17101 updates+uptimes: Remove hosts that aren't in inventory on update. Help cmds.
Signed-off-by: James Antill <james@and.org>
2025-12-12 15:25:04 -05:00
James Antill
ec0e2b40cd update+uptime: Minor tweaks, mainly to do case insensitive matches.
Signed-off-by: James Antill <james@and.org>
2025-11-20 15:26:59 -05:00
James Antill
f3f9080a47 *-test.*: Add script for reboots, maybe.
Signed-off-by: James Antill <james@and.org>
2025-11-18 18:52:08 -05:00
James Antill
1179ec9d96 updates+uptimes: Use verscmp() for osinfo in stats.
Signed-off-by: James Antill <james@and.org>
2025-11-06 18:08:18 -05:00
James Antill
efb89bfeb1 updates+uptimes: Use hacky verscmp().
Signed-off-by: James Antill <james@and.org>
2025-11-06 16:46:28 -05:00
James Antill
87ef87fb0f updates+uptimes: Add "created" command.
Signed-off-by: James Antill <james@and.org>
2025-11-06 16:45:19 -05:00
James Antill
0dd8bda7ed updates+uptimes: Skip today backup in host output when today is identical.
Signed-off-by: James Antill <james@and.org>
2025-11-01 11:02:33 -04:00
James Antill
e3fb6a82a0 updates+uptimes: have secs2dur always show the long duration.
Signed-off-by: James Antill <james@and.org>
2025-10-30 11:06:35 -04:00
James Antill
d5c0412c7b updates-uptimes: Tiny fix for showing dates in host-u.
Signed-off-by: James Antill <james@and.org>
2025-10-06 15:45:23 -04:00
James Antill
675c66197c updates-uptimes: Fix uptimes. Allow list cmds to add extra matches.
Signed-off-by: James Antill <james@and.org>
2025-10-02 15:45:06 -04:00
James Antill
394102a651 updates-uptimes: Add old-list cmd, and UI tweaks to see old data hosts. Fixes.
Signed-off-by: James Antill <james@and.org>
2025-09-30 21:56:16 -04:00
James Antill
e53cd1b07a updates-uptimes: Add update cmd back, and other fixes for the cron job.
Signed-off-by: James Antill <james@and.org>
2025-09-30 11:33:31 -04:00
James Antill
5a6e1d8874 updates-uptimes: Big freeze updates. Uses argparse now.
Signed-off-by: James Antill <james@and.org>
2025-09-29 18:39:53 -04:00
James Antill
26f36e0820 Second part of fixing the logrotate problem on kojipkgs*. #12398
Adds a script which will compress rotatelogs not being used and delete logs
after 8 days (same as logrotate).

Signed-off-by: James Antill <james@and.org>
2025-09-19 10:54:35 -04:00
James Antill
462ae2c64e updates-uptimes: Fix history when using slow width conf.
Signed-off-by: James Antill <james@and.org>
2025-08-21 14:03:44 -04:00
James Antill
08375ad9e9 updates-uptimes: Fixed facts to be fresh. Fixed unknown val cmp. New host cmd.
Signed-off-by: James Antill <james@and.org>
2025-08-20 13:51:49 -04:00
James Antill
57bdad10fb updates-uptimes: Use machine data to find reboot/etc. utf8 diff. uptime-max.
Signed-off-by: James Antill <james@and.org>
2025-08-19 19:10:58 -04:00
James Antill
573bfa12f7 updates-uptimes: Move the script to the installable dir.
Signed-off-by: James Antill <james@and.org>
2025-08-13 18:27:35 -04:00
Aurélien Bompard
358e1d2b5d Let the jobs-summary script take multiple projects as arguments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-01 15:27:46 +02:00
Aurélien Bompard
820d9ee564 Jobs-summary: handle jobs that are not cronjobs
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-06-21 10:47:05 +02:00
Aurélien Bompard
e871157429 Prettiness. It counts
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-05-29 16:46:29 +02:00
Aurélien Bompard
91bd11b0cc Add a jobs-summary script on the os-control servers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-05-29 14:13:53 +02:00
Aurélien Bompard
2a5c65051b Update create-filelist with PR 86
https://pagure.io/quick-fedora-mirror/pull-request/86

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-02-26 13:23:14 +01:00
Jiri Kucera
e207a4cdf9 lsr-logs-clean: Normalize image names
Normalize RHEL image names to RHEL-X.Y. Since RHEL images are
produced quite frequently it is sufficient to keep just one
RHEL <major>.<minor> after the log expires.

Also add contacts to Linux system roles maintainers.

Signed-off-by: Jiri Kucera <jkucera@redhat.com>
2023-02-07 16:39:46 +01:00
Jiri Kucera
dc8c275f09 Clean /srv/pub/alt/linuxsystemroles/logs
Add cron task that prune /srv/pub/alt/linuxsystemroles/logs.

Related: RHELPLAN-104620

Sign-off-by: Jiri Kucera <jkucera@redhat.com>
2023-02-07 16:39:46 +01:00
Kevin Fenzi
ddffeebb63 proxies: drop ipv6 restart script
Yesterdays fix: a script that restarted networking to bring back a ipv6
route on proxy11, causes:
Todays bug: restarting the interface every minute causes the nameserver
to burp and not find sundries01, so all the rsyncs fail. It seems to
handle this just fine now, so lets retire this glorious hack.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-19 16:31:30 -07:00
Nils Philippsen
f710f4102a use script file instead of inline shell
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 15:19:37 +01:00
Kevin Fenzi
ab3f501820 secondary01: Copy to secondary01 a python2 version of create-filelist because it can't run the python3 one.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:16 +02:00
Kevin Fenzi
b68b6cbb82 create-filelist: update to use python3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Stephen Smoogen
f5e30686d1 put in fixes for hidden .nfs files 2018-05-18 19:52:50 +00:00
Patrick Uiterwijk
cc886bfdc0 Make sure create-filelist always exports ints for ctime
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-05-17 13:32:43 +02:00
Kevin Fenzi
1c7b0be223 we do not want output from nmcli here 2017-12-26 22:23:37 +00:00
Kevin Fenzi
9d34078176 commit workaround for proxy11 in ansible 2017-12-26 21:04:33 +00:00
Jason Tibbitts
6db4fd0ca6 Update create-filelist to latest upstream. 2017-05-05 15:23:46 +00:00
Kevin Fenzi
a1ecb9decb fix for bash arrays from upstream. fixes multiple mod updates at once 2016-11-26 19:31:41 +00:00
Adam Williamson
b99a4a6381 create-filelist: also skip the imagelist when making others
add the imagelist's name to skip_files as we do for the other
two files. tibbs is committing the same change to upstream.
2016-11-23 09:29:24 -08:00
Adam Williamson
2e09ca2d00 turn 'filterlist' into 'imagelist', using productmd
This adopts https://pagure.io/quick-fedora-mirror/pull-request/27
and adapts to it, so we get `imagelist` files rather than
`filterlist` files (see recent commits for this). The rationale
is more fully explained in that PR (and in PR #26 also) - on
further inspection it turns out that we have to filter out an
awful lot of extensions to create small filterlists for all
three modules, and I'm worried that other file extensions may
appear in the future and cause the filterlists to suddenly get
bigger again. Instead, we have create-filelist use the productmd
constant that defines valid image formats, and only include files
that match those formats in the list. The downside of this
approach is we have to ensure productmd on all the systems that
run `create-filelist` is kept up to date if the list of valid
image formats changes.
2016-11-23 09:21:45 -08:00
Adam Williamson
3d9840d867 create-filelist: add '.' to png and jpg
Brown paper bag fix for previous commit. Sigh.
2016-11-19 15:53:42 -08:00
Adam Williamson
6fa8dbfcf2 create-filelist: filter png and jpg too (acked by nirik)
This is a tiny change to the previous commit to just filter
png and jpg files too, as alt has tons of pngs. Will send a
PR for upstream create-filelist.
2016-11-19 15:49:37 -08:00
Adam Williamson
45d8ea3f89 Generate filtered file lists for fedfind to use
This adds `filterlist` files alongside the `fullfilelist` and
`fullfiletimelist` files. These are much, much shorter lists
which skip the entries for packages, ARM device tree boot files
and directories. They are intended for consumption by fedfind,
so it can stop using rync scraping to discover the image files
it looks for. To enable this, we update to a newer version of
`create-filelist` from upstream `quick-fedora-mirror` and make
`update-fullfiletimelist` create the filterlist files as well.

We also delete a couple of old copies of `create-filelist`;
nirik made the two roles that use it share a common copy a few
months back, but missed deleting the copy each role had in its
`files` directory.
2016-11-19 15:15:53 -08:00
Kevin Fenzi
03a8923c04 Update create-filelist and wrapper from upstream quick mirror.
Merge all the various copies of the wrapper into one copy.
Setup arguments as needed for each call.
2016-07-15 20:05:53 +00:00
Kevin Fenzi
d5e67b45fe Some server side improvements for quick-mirror 2016-06-22 21:51:06 +00:00
Kevin Fenzi
e7a8652831 Fix missing space 2016-05-28 16:53:35 +00:00
Kevin Fenzi
baafbbc7e8 Helps if it has the right path too. 2016-05-28 16:47:16 +00:00
Kevin Fenzi
09a1b3e878 Also update create-filelist 2016-05-28 16:46:28 +00:00
Kevin Fenzi
c54d26a9f9 Update new version from upstream 2016-05-28 16:42:05 +00:00