Closed
Bug 683498
Opened 14 years ago
Closed 14 years ago
Push SUMO 2011-08-31 ASAP
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jsocol, Assigned: jason)
Details
We need to push an emergency fix to SUMO and run a cronjob by hand:
./manage.py cron calculate_related_documents
The tag is 2011-08-31. Thanks!
| Assignee | ||
Updated•14 years ago
|
Assignee: server-ops → jthomas
| Assignee | ||
Comment 1•14 years ago
|
||
Push completed to prod. Cron command executed.
[root@mradm02 ~]# cd /data/sumo_python/src/prod
[root@mradm02 prod]# pwd
/data/sumo_python/src/prod
[root@mradm02 prod]# git fetch -t
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 5 (delta 4), reused 5 (delta 4)
Unpacking objects: 100% (5/5), done.
From http://github.com/jsocol/kitsune
* [new tag] 2011-08-31 -> 2011-08-31
[root@mradm02 prod]# git checkout 2011-08-31
M vendor/src/django-cronjobs
M vendor/src/django-multidb-router
M vendor/src/django-session-csrf
M vendor/src/django-tidings
M vendor/src/django-timezones
Previous HEAD position was a9ffe02... [bug 675628] Add Firefox 7 to Help With dropdown on next.
HEAD is now at 9c4340d... [bug 681807] Exclude archived articles from Related Articles.
[root@mradm02 prod]# git submodule sync
Synchronizing submodule url for 'media/global'
Synchronizing submodule url for 'templates/global'
Synchronizing submodule url for 'vendor/src/bleach'
Synchronizing submodule url for 'vendor/src/cache-panel'
Synchronizing submodule url for 'vendor/src/celery'
Synchronizing submodule url for 'vendor/src/check'
Synchronizing submodule url for 'vendor/src/commonware'
Synchronizing submodule url for 'vendor/src/django'
Synchronizing submodule url for 'vendor/src/django-adminplus'
Synchronizing submodule url for 'vendor/src/django-arecibo'
Synchronizing submodule url for 'vendor/src/django-authority'
Synchronizing submodule url for 'vendor/src/django-cache-machine'
Synchronizing submodule url for 'vendor/src/django-celery'
Synchronizing submodule url for 'vendor/src/django-cronjobs'
Synchronizing submodule url for 'vendor/src/django-csp'
Synchronizing submodule url for 'vendor/src/django-debug-toolbar'
Synchronizing submodule url for 'vendor/src/django-extensions'
Synchronizing submodule url for 'vendor/src/django-mobility'
Synchronizing submodule url for 'vendor/src/django-mozilla-product-details'
Synchronizing submodule url for 'vendor/src/django-multidb-router'
Synchronizing submodule url for 'vendor/src/django-nose'
Synchronizing submodule url for 'vendor/src/django-picklefield'
Synchronizing submodule url for 'vendor/src/django-qunit'
Synchronizing submodule url for 'vendor/src/django-ratelimit'
Synchronizing submodule url for 'vendor/src/django-recaptcha'
Synchronizing submodule url for 'vendor/src/django-session-csrf'
Synchronizing submodule url for 'vendor/src/django-tidings'
Synchronizing submodule url for 'vendor/src/django-timezones'
Synchronizing submodule url for 'vendor/src/django-waffle'
Synchronizing submodule url for 'vendor/src/jingo'
Synchronizing submodule url for 'vendor/src/jingo-minify'
Synchronizing submodule url for 'vendor/src/jstestnetlib'
Synchronizing submodule url for 'vendor/src/kombu'
Synchronizing submodule url for 'vendor/src/py-wikimarkup'
Synchronizing submodule url for 'vendor/src/pystatsd'
Synchronizing submodule url for 'vendor/src/python-recaptcha'
Synchronizing submodule url for 'vendor/src/redis-py'
Synchronizing submodule url for 'vendor/src/schematic'
Synchronizing submodule url for 'vendor/src/sphinxapi'
Synchronizing submodule url for 'vendor/src/test-utils'
Synchronizing submodule url for 'vendor/src/tower'
Synchronizing submodule url for 'vendor/src/tweepy'
[root@mradm02 prod]# git submodule update --init --recursive
[root@mradm02 prod]# python26 manage.py compress_assets
[root@mradm02 prod]# pushd locale && svn up && ./compile-mo.sh . && popd
/data/sumo_python/src/prod/locale /data/sumo_python/src/prod
U zh_TW/LC_MESSAGES/messages.po
Updated to revision 94547.
/data/sumo_python/src/prod
[root@mradm02 prod]# python26 ./vendor/src/schematic/schematic migrations/
[root@mradm02 prod]# /data/sumo/deploy
Do you really want to push SUMO and reload apache? [y/n] y
[master cb4d2c2] SUMO push
4 files changed, 6 insertions(+), 5 deletions(-)
+ cd /data/sync/sumo
+ /usr/bin/git fetch -q
+ /usr/bin/git reset -q --hard origin
+ scp /data/sync/sumo/support.mozilla.com/kitsune/configs/sphinx/sphinx.conf pp-app-sphinx01.phx.mozilla.com:/data/sphinx/support/sphinx.conf
+ scp /data/sync/sumo/support.mozilla.com/kitsune/configs/sphinx/sphinx.conf pp-app-sphinx02.phx.mozilla.com:/data/sphinx/support/sphinx.conf
+ /data/bin/issue-multi-command.py sumo /data/bin/libget/get-php5-www-git.sh
[support3.webapp.phx1.mozilla.com] run: /data/bin/libget/get-php5-www-git.sh
[support4.webapp.phx1.mozilla.com] run: /data/bin/libget/get-php5-www-git.sh
[support2.webapp.phx1.mozilla.com] run: /data/bin/libget/get-php5-www-git.sh
[support1.webapp.phx1.mozilla.com] run: /data/bin/libget/get-php5-www-git.sh
[support1.webapp.phx1.mozilla.com] out: Not removing support.mozilla.com/kitsune/apps/notifications/
[support1.webapp.phx1.mozilla.com] out: Not removing support.mozilla.com/kitsune/vendor/packages/celery/
[support1.webapp.phx1.mozilla.com] out: Not removing support.mozilla.com/kitsune/vendor/packages/django-celery/
[support5.webapp.phx1.mozilla.com] run: /data/bin/libget/get-php5-www-git.sh
+ /data/bin/issue-multi-command.py sumo_celery /data/bin/libget/get-php5-www-git.sh
[sumocelery1.webapp.phx1.mozilla.com] run: /data/bin/libget/get-php5-www-git.sh
[sumocelery1.webapp.phx1.mozilla.com] out: Not removing support.mozilla.com/kitsune/apps/notifications/
[sumocelery1.webapp.phx1.mozilla.com] out: Not removing support.mozilla.com/kitsune/vendor/packages/celery/
[sumocelery1.webapp.phx1.mozilla.com] out: Not removing support.mozilla.com/kitsune/vendor/packages/django-celery/
[sumocelery1.webapp.phx1.mozilla.com] out: Not removing support.mozilla.com/kitsune/vendor/packages/django-picklefield/
+ /data/bin/issue-multi-command.py sumo apachectl graceful
[support3.webapp.phx1.mozilla.com] run: apachectl graceful
[support4.webapp.phx1.mozilla.com] run: apachectl graceful
[support5.webapp.phx1.mozilla.com] run: apachectl graceful
[support2.webapp.phx1.mozilla.com] run: apachectl graceful
[support1.webapp.phx1.mozilla.com] run: apachectl graceful
[sumocelery1.webapp.phx1.mozilla.com] run: /sbin/service celeryd-kitsune-prod restart
[sumocelery1.webapp.phx1.mozilla.com] out: Restarting celery-kitsune-prod: celery-kitsune-prod: stopped
[sumocelery1.webapp.phx1.mozilla.com] out: celery-kitsune-prod: started
[sumocelery1.webapp.phx1.mozilla.com] out: [ OK ]
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 2•14 years ago
|
||
Verified the changes that went with this push actually work!
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•