Worker Timeout when changing tags #6071

Closed
opened 2025-12-29 19:36:21 +01:00 by adam · 2 comments
Owner

Originally created by @esapozhnikov-wish on GitHub (Feb 9, 2022).

NetBox version

v3.1.6

Python version

3.7

Steps to Reproduce

  1. Click on a device with an existing tag and click Edit
  2. Replace current Tag with a different existing tag and click save

As a note if I edit device to remove tag and save and then edit device again to add new tag things work as expected

Also observing same behavior when using pynetbox module. Replacing an existing tag fails but removing a tag saving and then adding a tag works

Expected Behavior

Device page loads with new tag in place

Observed Behavior

Receive a 502 error from Nginx and see the following in the debug log:

[2022-02-09 20:11:10 +0000] [7] [DEBUG] GET /dcim/devices/1676/edit/

172.17.42.1 - - [09/Feb/2022:20:11:11 +0000] "GET /dcim/devices/1676/edit/ HTTP/1.0" 200 144786 "http://netbox-dev.i.wish.com/dcim/devices/1676/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"

[2022-02-09 20:11:14 +0000] [13] [DEBUG] GET /api/extras/tags/

172.17.42.1 - - [09/Feb/2022:20:11:17 +0000] "GET /api/extras/tags/?brief=true HTTP/1.0" 200 6712 "http://netbox-dev.i.wish.com/dcim/devices/1676/edit/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"

[2022-02-09 20:11:20 +0000] [12] [DEBUG] GET /api/extras/tags/

172.17.42.1 - - [09/Feb/2022:20:11:20 +0000] "GET /api/extras/tags/?brief=true&q=Read HTTP/1.0" 200 324 "http://netbox-dev.i.wish.com/dcim/devices/1676/edit/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36"

[2022-02-09 20:11:23 +0000] [12] [DEBUG] POST /dcim/devices/1676/edit/

[2022-02-09 20:11:54 +0000] [5] [CRITICAL] WORKER TIMEOUT (pid:12)

[2022-02-09 20:11:55 +0000] [5] [WARNING] Worker with pid 12 was terminated due to signal 9

[2022-02-09 20:11:55 +0000] [14] [INFO] Booting worker with pid: 14
Originally created by @esapozhnikov-wish on GitHub (Feb 9, 2022). ### NetBox version v3.1.6 ### Python version 3.7 ### Steps to Reproduce 1. Click on a device with an existing tag and click Edit 2. Replace current Tag with a different existing tag and click save As a note if I edit device to remove tag and save and then edit device again to add new tag things work as expected Also observing same behavior when using pynetbox module. Replacing an existing tag fails but removing a tag saving and then adding a tag works ### Expected Behavior Device page loads with new tag in place ### Observed Behavior Receive a 502 error from Nginx and see the following in the debug log: ``` [2022-02-09 20:11:10 +0000] [7] [DEBUG] GET /dcim/devices/1676/edit/ 172.17.42.1 - - [09/Feb/2022:20:11:11 +0000] "GET /dcim/devices/1676/edit/ HTTP/1.0" 200 144786 "http://netbox-dev.i.wish.com/dcim/devices/1676/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" [2022-02-09 20:11:14 +0000] [13] [DEBUG] GET /api/extras/tags/ 172.17.42.1 - - [09/Feb/2022:20:11:17 +0000] "GET /api/extras/tags/?brief=true HTTP/1.0" 200 6712 "http://netbox-dev.i.wish.com/dcim/devices/1676/edit/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" [2022-02-09 20:11:20 +0000] [12] [DEBUG] GET /api/extras/tags/ 172.17.42.1 - - [09/Feb/2022:20:11:20 +0000] "GET /api/extras/tags/?brief=true&q=Read HTTP/1.0" 200 324 "http://netbox-dev.i.wish.com/dcim/devices/1676/edit/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" [2022-02-09 20:11:23 +0000] [12] [DEBUG] POST /dcim/devices/1676/edit/ [2022-02-09 20:11:54 +0000] [5] [CRITICAL] WORKER TIMEOUT (pid:12) [2022-02-09 20:11:55 +0000] [5] [WARNING] Worker with pid 12 was terminated due to signal 9 [2022-02-09 20:11:55 +0000] [14] [INFO] Booting worker with pid: 14 ```
adam added the type: bugstatus: revisions needed labels 2025-12-29 19:36:21 +01:00
adam closed this issue 2025-12-29 19:36:21 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 9, 2022):

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

@jeremystretch commented on GitHub (Feb 9, 2022): Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.
Author
Owner

@jeremystretch commented on GitHub (Feb 17, 2022):

Closing as there has been no further response.

@jeremystretch commented on GitHub (Feb 17, 2022): Closing as there has been no further response.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6071