Currently alerting
cgoubert@deploy1002:~$ sudo systemctl status imagecatalog_record.service ● imagecatalog_record.service - update the image catalog with all images running in prod Loaded: loaded (/lib/systemd/system/imagecatalog_record.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2024-03-21 15:13:14 UTC; 31min ago Docs: https://wikitech.wikimedia.org/wiki/Monitoring/systemd_unit_state Process: 21262 ExecStart=/usr/bin/imagecatalog --database=/srv/deployment/imagecatalog/catalog.sqlite --clusters=staging-eqiad:/etc/kubernetes/imagecatalog-staging-eqiad.conf Main PID: 21262 (code=exited, status=1/FAILURE) Mar 21 15:13:13 deploy1002 imagecatalog[21262]: File "/usr/lib/python3/dist-packages/imagecatalog/cli.py", line 51, in main Mar 21 15:13:13 deploy1002 imagecatalog[21262]: return record(args.database, args.clusters) Mar 21 15:13:13 deploy1002 imagecatalog[21262]: File "/usr/lib/python3/dist-packages/imagecatalog/cli.py", line 24, in record Mar 21 15:13:13 deploy1002 imagecatalog[21262]: image_catalog.record_active_images() Mar 21 15:13:13 deploy1002 imagecatalog[21262]: File "/usr/lib/python3/dist-packages/imagecatalog/catalog.py", line 143, in record_active_images Mar 21 15:13:13 deploy1002 imagecatalog[21262]: image.namespace, image.pod_name, image.container_name)) Mar 21 15:13:13 deploy1002 imagecatalog[21262]: sqlite3.OperationalError: attempt to write a readonly database Mar 21 15:13:14 deploy1002 systemd[1]: imagecatalog_record.service: Main process exited, code=exited, status=1/FAILURE Mar 21 15:13:14 deploy1002 systemd[1]: imagecatalog_record.service: Failed with result 'exit-code'. Mar 21 15:13:14 deploy1002 systemd[1]: Failed to start update the image catalog with all images running in prod.