Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record data source sync errors in the job data #13334

Closed
jeremystretch opened this issue Aug 1, 2023 · 1 comment
Closed

Record data source sync errors in the job data #13334

jeremystretch opened this issue Aug 1, 2023 · 1 comment
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@jeremystretch
Copy link
Member

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

@jeremystretch jeremystretch added type: feature Introduction of new functionality to the application status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Aug 1, 2023
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Oct 13, 2023
@jeremystretch jeremystretch added this to the v3.7 milestone Oct 13, 2023
@jeremystretch jeremystretch self-assigned this Oct 23, 2023
@jeremystretch
Copy link
Member Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant