If a DataSource sync fails (for example RQ timeout), the DataSource will be stuck as un-syncable. #7597

Closed
opened 2025-12-29 20:25:53 +01:00 by adam · 0 comments
Owner

Originally created by @kkthxbye-code on GitHub (Feb 3, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.5.0-dev

Python version

3.10

Steps to Reproduce

Sorry for the iffy replication steps, I ran into this while debugging rqworker which made the job timeout.

  1. Create a DataSouce pointing to a local directory
  2. Create a file in the local directory
  3. Sync the DataSource
  4. Make sure the job doesn't finish within the configured RQ_DEFAULT_TIMEOUT (for example by debugging)

Expected Behavior

The DataSource should be syncable still.

Observed Behavior

The status of the DataSource is stuck at syncing causing the sync button to be greyed out.

Originally created by @kkthxbye-code on GitHub (Feb 3, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.5.0-dev ### Python version 3.10 ### Steps to Reproduce Sorry for the iffy replication steps, I ran into this while debugging rqworker which made the job timeout. 1. Create a DataSouce pointing to a local directory 2. Create a file in the local directory 3. Sync the DataSource 4. Make sure the job doesn't finish within the configured RQ_DEFAULT_TIMEOUT (for example by debugging) ### Expected Behavior The DataSource should be syncable still. ### Observed Behavior The status of the DataSource is stuck at `syncing` causing the sync button to be greyed out.
adam added the type: bugstatus: acceptedbeta labels 2025-12-29 20:25:53 +01:00
adam closed this issue 2025-12-29 20:25:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7597