Closed miaow2 closed 1 week ago
This issue is a duplicate of https://github.com/netbox-community/netbox/issues/17923, https://github.com/netbox-community/netbox/issues/17921. A PR is already provided and ready to merge. :)
This appears to be a duplicate of #17921, which has been resolved by PR #17932.
Deployment Type
Self-hosted
Triage priority
I volunteer to perform this work (if approved)
NetBox Version
v4.1.6
Python Version
3.11
Steps to Reproduce
Expected Behavior
The script successfully runs and creates a new scheduled job
Observed Behavior
A new job is not scheduled, traceback from worker
This happens because the rescheduling mechanism does not pass
name
to the Job enqueue andname
field is obligatory in Job model.This can be fixed by passing
job.name
tocls.enqueue
here.Feel free to assign this issue to me, I will create PR to fix this issue.A new