-
Notifications
You must be signed in to change notification settings - Fork 188
Failing to create service in heroku-type deployment #42
Comments
Perhaps related: |
It feels like openduty is trying to save the Service with an id of '0', but since postgres doesn't think '0' is a proper UUID, it fails? |
Wow, amazing bugreport, looking right into the issue. |
The commit above should fix your issue, could you please confirm, that it did? If so, please close this issue @blysik |
Also, if you use a heroku-like env to run openduty, don't forget to launch your workers also. You could add the required commands to launch celeryd to the procfile |
Deploying the fix now. Here's what I've added to my Procfile for the worker stuff:
That look fine? |
yeah, totally |
Looks like a different error now. Here's the error from the postgres log side:
|
The error page is showing it to be line 90, at services.py. That service.save() |
Thanks, will check that overnight. |
Any other data I can provide to help troubleshoot this? |
Thanks, data provided is enough, i think i'll find the time tomorrow to look into it, sorry for the delay of things, I'm pretty busy at the moment. |
BTW i tested it on Heroku, and for me my patch DID work with postgres without any errors. |
No problem at all! I appreciate you looking at it. I wonder if it's a versioning issue of my postgres. |
HI! I just got back to this, Is it still actual @blysik ? If yes dont hesitate to ask around |
Yes, I just checked, and that error still happens when I try to save a service. |
… Django 1.8, closes ustream#42 Conflicts: openduty/models.py
… Django 1.8, closes ustream#42
It's not happening anymore without django-uuidfield requirement.
|
… Django 1.8, closes ustream#42
I have it deployed in a Heroku-like system. (Uses Heroku buildpacks, generally behaves like Heroku.) Everything looks good.
However, when I try to save a new Service, I get this error:
In the Postgres log:
Any ideas?
The text was updated successfully, but these errors were encountered: