Comments (2)
We deployed a fix on Friday afternoon to our staging server, but we were still getting errors showing tracebacks from the previous code this morning. I verified that the code checked out on the server was the updated code, so apparently the server processes (or at least one of them) were still running the old code.
Here's a bit of the minion log from Friday:
2015-09-18 21:32:09,753 [salt.loaded.int.module.cmdmod][ERROR ] Command '/srv/pycon/env/bin/python manage.py migrate --noinput && /srv/pycon/env/bin/python manage.py compress --force && /srv/pycon/env/bin/python manage.py collectstatic -v0 --noinput' failed with return code: 139
2015-09-18 21:32:09,757 [salt.loaded.int.module.cmdmod][ERROR ] stderr: /bin/bash: line 1: 9661 Segmentation fault /srv/pycon/env/bin/python manage.py migrate --noinput
2015-09-18 21:32:09,757 [salt.loaded.int.module.cmdmod][ERROR ] retcode: 139
2015-09-18 21:32:09,760 [salt.state ][ERROR ] {'pid': 9660, 'retcode': 139, 'stderr': '/bin/bash: line 1: 9661 Segmentation fault /srv/pycon/env/bin/python manage.py migrate --noinput', 'stdout': ''}
I think here's what happened:
- We updated the staging branch
- The next deploy checked out the updated code
- A later state segfaulted while trying to run migrations (I don't know why it segfaulted), so that Salt never got to the server restart step
- The next time the deploy ran, the code didn't need to be updated, so none of the rest of the steps that include restarting the server ever got run
I still don't have any wonderful ideas for fixing this kind of problem. See my previous comments in this issue.
from psf-salt.
We now deploy the pycon site via Heroku, so this is no longer relevant.
from psf-salt.
Related Issues (20)
- Deprecated sshd configurations when upgrading to ubuntu 20.04 HOT 1
- Upgrade our roles to be compatible with Ubuntu 20.04 HOT 3
- Add some VCL to fastly so docs can be purged by top or 2nd level folder HOT 4
- Automate fetching lists of new Fastly IPs HOT 3
- cdn-logs: Hourly cronjob for logrotate not firing HOT 2
- "Invalid compound target: for results: " error when calling state.highstate
- "module.run" is using its deprecated version and will expire in version "Phosphorus" HOT 2
- `pkgrepo.managed` state reports Changed on every run
- Publishing salt-server-list.rst back to psf-salt onchanges HOT 2
- mail.python.org not listening on IPv6 HOT 1
- Can the build_docs.py cron be started hourly?
- postgresql gpg key is "not readable by user '_apt' executing apt-key" HOT 1
- correct step 7 infra.psf.io migration guide
- Provisioning static files for codespeed
- pin proper ubuntu versions
- deadman snitch and migrating hosts
- bpo migration HOT 1
- Add a "MANAGED!" to MOTD
- Restore mail gateway for roundup installations HOT 3
- SSL renew issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psf-salt.