mass-project / mass_server

Malware Analysis and Storage System - Server repository
https://mass-project.github.io/
MIT License
12 stars 4 forks source link

Scheduler crashes in some situations if no instance of an analysis system exists #113

Open Silberschleier opened 6 years ago

Silberschleier commented 6 years ago
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/usr/lib/python3.6/site-packages/mass_server/bin/mass_scheduler.py", line 59, in _schedule_analysis_request
    instances = InstanceDict._dict[system_id]
KeyError: ObjectId('5ab2385017187f000b14a9a4')

See https://sentry.hive.cs.uni-bonn.de/sentry/mass-server/issues/32/