Record data source sync errors in the job data #8395

Closed
opened 2025-12-29 20:36:10 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Aug 1, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.5.7

Feature type

Change to existing functionality

Proposed functionality

When a data source sync job fails, record any relevant error message(s) in the job data. (This is handled by the sync_datasource() function.)

Use case

This will make it easier to troubleshoot issues without shell access. Currently, these errors are being logged but not recorded in the job directly.

Database changes

N/A

External dependencies

N/A

Originally created by @jeremystretch on GitHub (Aug 1, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.5.7 ### Feature type Change to existing functionality ### Proposed functionality When a data source sync job fails, record any relevant error message(s) in the job data. (This is handled by the `sync_datasource()` function.) ### Use case This will make it easier to troubleshoot issues without shell access. Currently, these errors are being logged but not recorded in the job directly. ### Database changes N/A ### External dependencies N/A
adam added the status: acceptedtype: feature labels 2025-12-29 20:36:10 +01:00
adam closed this issue 2025-12-29 20:36:10 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 23, 2023):

I'm expanding this to cover all background jobs, regardless of specific function.

@jeremystretch commented on GitHub (Oct 23, 2023): I'm expanding this to cover all background jobs, regardless of specific function.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8395