-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Milestone
Description
NetBox version
v3.6.5
Python version
3.10
Steps to Reproduce
- Upload a simple script that executes cleanly. (It doesn't have to do anything.)
- Create a webhook.
- Content types: Extras > Script
- Events: Job executions, job terminations
- URL: Where you have a receiver running (can use the
webhook_receivermanagement command locally)
- Ensure the RQ worker process is running.
- Run the script you uploaded and verify that it completes successfully.
Expected Behavior
Two webhooks should be sent: One when the script starts, and another when it ends.
Observed Behavior
The webhook is not triggered for either event. This is because the content type with which the webhook is associated (extras.Script) differs from the job's object type (extras.ScriptModule). This can be confirmed by inspecting the completed job under operations > jobs.
Metadata
Metadata
Assignees
Labels
severity: mediumResults in substantial degraded or broken functionality for specfic workflowsResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application