/etc/cron.daily/sync-http-logs-and-merge.sh on log01 errors #12833
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#12833
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This daily cron job is outputting errors:
The kojipkgs errors are likely because they don't have the rsyncd role setup to allow collecting from them.
No idea on the other one. ;)
Metadata Update from @james:
simple_message_to_bus is a path problem.
Metadata Update from @james:
Issue tagged with: sprint-0
FYI, the current logs have:
I wonder how the cron job itself is executed. As I tried
run-parts /etc/cron.dailyand didn't saw the error. The PATH is correctly configured in/etc/crontabproxy03/14 were because the vpn ip wasn't getting staticly assigned. I fixed that.
proxy05 is down.
kojipkgs01 looks like a rhit firewall issue. We will need to file a internal ticket to get that allowed.
Not sure why kojipkgs02 isn't listed, it should be (and also doesn't work)
Hi @kevin,
I've submitted a PR to address the
simple_message_to_bus: command not founderrors seen in the logs.In essence, t he issue was that the cron jobs were running with a restricted
PATH, and thecountmescripts specifically were attempting to call the message bus before the local path was updated. I've moved the path export to the top of the logic for all affected scripts in theweb-data-analysisrole.PR: infra/ansible!3165
I verified the fix locally by simulating the cron environment (
env PATH=/usr/bin:/bin). This should clear up the command errors while the rsync/firewall issues are being addressed.PS: Also removed some funny comments ; )
Merged that. We will see tomorrow if it worked as expected?
All the simple_message_to_bus messages are gone. Great!
There's some other messages tho:
Awesome, glad the path fix worked!
Regarding the new
gnuploterrors, the culprit was just a hardcoded date. Themirrors-data.gpscript was strictly limiting the X-axis for all graphs to end on"2024-12-31". Since the logs are now parsing 2025/2026 data, gnuplot threw theundefined y valueerror because the new data fell completely outside the plotting window.I've submitted a follow-up PR to change these to open-ended date ranges (e.g.,
["2007-05-17":]) so it will automatically autoscale to whatever the newest data point is moving forward:PR: [Insert your PR number/link here, e.g., infra/ansible!3191]
I verified the fix locally by feeding the script some mock 2026 data, and the graphs generated perfectly.
This should clear things up
No log problems since merging that pr.
The graphs look a bit weird... but that might be the old vs new data...
Lets trace that in #12426 and close this.
Thanks for the pr!