Project

General

Profile

Actions

Bug #18903

closed

[user activity script] does not always initialize user object and other fixes

Added by Ward Vandewege almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
03/24/2022
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

Observed on one of our clusters:

User activity on XXXXX between 2022-03-22 05:00 and 2022-03-23 05:00

Traceback (most recent call last):
  File "/usr/bin/arv-user-activity", line 8, in <module>
    sys.exit(main())
  File "/usr/share/python3/dist/python3-arvados-user-activity/lib/python3.7/site-packages/arvados_user_activity/main.py", line 148, in main
    users[e["object_uuid"]].append("%s Downloaded file \"%s\" from \"%s\" (%s) (%s)" % (event_at,
KeyError: 'XXXXX-tpzed-redactedredacte'

Subtasks 1 (0 open1 closed)

Task #18904: review 18903-fix-activity-scriptResolvedWard Vandewege03/24/2022

Actions

Related issues 1 (0 open1 closed)

Related to Arvados - Bug #18943: [db] add missing created_at,uuid indexesResolvedPeter Amstutz04/01/2022

Actions
Actions

Also available in: Atom PDF