Closed funzoneq closed 5 years ago
Thanks for proactively posting a pip freeze
. It seems the culprit is an upstream issue between redis and rq https://github.com/rq/rq/issues/1014
From that issue (which is still open at this time) there is a workaround.
Until this is fixed in RQ you can just explicitly install redis in your project, before RQ:
redis==2.10.6 rq==0.12.0
Just pip install
those, in that order and restart the rqworker process.
@lampwins I can confirm that this resolved the issue above.
Unfortunately not... I'm having the same issue with "waitpid returned 256" and have confirmed it's not memory-related, nor is it to do with the Redis and RQ versions (I have the above versions).
This happens under Kubernetes on DigitalOcean, not locally (same Docker image on both).
Would really welcome some guidance here, thanks!
Just hit the same problem. With the docker image from https://hub.docker.com/r/ninech/netbox/ and netbox running on K8s after upgrade from 2.4.6 to 2.4.8.
Error: https://paste.fedoraproject.org/paste/gbbhfe2V3n-dBaLL3gQ8fg
So the error indeed seems to be related to the upstream issue.
Environment
Steps to Reproduce
Create a webhook for circuits with the following settings:
Object type: Circuits -> Circuit Name: test_circuit_hook Type: Update URL: https://example.com/webhook/ HTTP Content type: JSON No secret Enabled SSL Verification enabled. -> Save
Create a test circuit:
cid: test-001 Provider: test provider Type: Internet Status: Active Tenant: Test tenant Install_date, commit_rate, description, comments empty No custom fields Save the circuit.
No go back and edit the circuit. Change the cid to test-002. This will trigger the webhook.
RQ Worker log:
Expected Behavior
A POST call to be made to https://example.com/webhook/
Observed Behavior
Stacktrace in the rq worker. Job turned to failed.
Also tried with circuits -> Provider webhook, but it fails in a similar way: