Emergency SUMO push 2011-12-29

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
--
critical
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: rrosario, Assigned: jason)

Tracking

Details

(Reporter)

Description

6 years ago
As part of the move to .org, we have to change our webtrends tag. In addition, another "major" bug was also uncovered today. So, we'd like to get these two fixes in.

The code is already tagged as: 2011-12-29
(Assignee)

Updated

6 years ago
Assignee: server-ops → jthomas
(Assignee)

Comment 1

6 years ago
Pushed to prod.

[root@supportadm.private.phx1 support.mozilla.org]# ./update 2011-12-29
+ cd /data/support/src/support.mozilla.org/kitsune
+ echo -e 'Fetching tags...'
Fetching tags...
+ git fetch -t
remote: Counting objects: 24, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 15 (delta 10), reused 15 (delta 10)
Unpacking objects: 100% (15/15), done.
From git://github.com/mozilla/kitsune
 * [new tag]         2011-12-29 -> 2011-12-29
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Updating code...'
Updating code...
+ git checkout 2011-12-29
Previous HEAD position was bdace12... [bug 676265] Upgrade to version of arecibo that tolerates data in the request that isn't UTF-8 encodable.
HEAD is now at 744ae8b... [bug 714064] Fix button enabling.
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Sync submodule...'
Sync submodule...
+ 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/elasticutils'
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/oedipus'
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'
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Update submodule...'
Update submodule...
+ git submodule update --init --recursive
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/support/src/support.mozilla.org/kitsune
+ find /data/support/src/support.mozilla.org/kitsune -name '*.pyc' -delete
+ python ./manage.py compress_assets
To turn on cache busting, use settings.CACHEBUST_IMGS
Minifying /data/support/src/support.mozilla.org/kitsune/media/js/wiki-all.js (using YUI Compressor)
Unchanged files skipped for minification: 37
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ python ./vendor/src/schematic/schematic migrations/
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/support/src/support.mozilla.org/kitsune/locale
+ svn up
U    uk/LC_MESSAGES/javascript.po
U    uk/LC_MESSAGES/messages.po
U    ms/LC_MESSAGES/javascript.po
U    ms/LC_MESSAGES/messages.po
U    my/LC_MESSAGES/javascript.po
U    my/LC_MESSAGES/messages.po
U    fa/LC_MESSAGES/javascript.po
U    fa/LC_MESSAGES/messages.po
U    hi_IN/LC_MESSAGES/javascript.po
U    hi_IN/LC_MESSAGES/messages.po
U    pa_IN/LC_MESSAGES/javascript.po
U    pa_IN/LC_MESSAGES/messages.po
U    bg/LC_MESSAGES/javascript.po
U    bg/LC_MESSAGES/messages.po
U    ja/LC_MESSAGES/javascript.po
U    ja/LC_MESSAGES/messages.po
U    nb_NO/LC_MESSAGES/javascript.po
U    nb_NO/LC_MESSAGES/messages.po
U    xx_testing/LC_MESSAGES/javascript.po
U    xx_testing/LC_MESSAGES/messages.po
U    hy_AM/LC_MESSAGES/javascript.po
U    hy_AM/LC_MESSAGES/messages.po
U    fi/LC_MESSAGES/javascript.po
U    fi/LC_MESSAGES/messages.po
U    gu_IN/LC_MESSAGES/javascript.po
U    gu_IN/LC_MESSAGES/messages.po
U    bs/LC_MESSAGES/javascript.po
U    bs/LC_MESSAGES/messages.po
U    fr/LC_MESSAGES/javascript.po
U    fr/LC_MESSAGES/messages.po
U    nl/LC_MESSAGES/javascript.po
U    nl/LC_MESSAGES/messages.po
U    no/LC_MESSAGES/javascript.po
U    no/LC_MESSAGES/messages.po
U    sr_CYRL/LC_MESSAGES/javascript.po
U    sr_CYRL/LC_MESSAGES/messages.po
U    rm/LC_MESSAGES/javascript.po
U    rm/LC_MESSAGES/messages.po
U    vi/LC_MESSAGES/javascript.po
U    vi/LC_MESSAGES/messages.po
U    ro/LC_MESSAGES/javascript.po
U    ro/LC_MESSAGES/messages.po
U    ca/LC_MESSAGES/javascript.po
U    ca/LC_MESSAGES/messages.po
U    ru/LC_MESSAGES/javascript.po
U    ru/LC_MESSAGES/messages.po
U    pt_PT/LC_MESSAGES/javascript.po
U    pt_PT/LC_MESSAGES/messages.po
U    rw/LC_MESSAGES/javascript.po
U    rw/LC_MESSAGES/messages.po
U    gd/LC_MESSAGES/javascript.po
U    gd/LC_MESSAGES/messages.po
U    zh_TW/LC_MESSAGES/javascript.po
U    zh_TW/LC_MESSAGES/messages.po
U    oc/LC_MESSAGES/javascript.po
U    oc/LC_MESSAGES/messages.po
U    gl/LC_MESSAGES/javascript.po
U    gl/LC_MESSAGES/messages.po
U    sr_LATN/LC_MESSAGES/javascript.po
U    sr_LATN/LC_MESSAGES/messages.po
U    cs/LC_MESSAGES/javascript.po
U    cs/LC_MESSAGES/messages.po
U    kk/LC_MESSAGES/javascript.po
U    kk/LC_MESSAGES/messages.po
U    fy_NL/LC_MESSAGES/javascript.po
U    fy_NL/LC_MESSAGES/messages.po
U    km/LC_MESSAGES/javascript.po
U    km/LC_MESSAGES/messages.po
U    kn/LC_MESSAGES/javascript.po
U    kn/LC_MESSAGES/messages.po
U    ko/LC_MESSAGES/javascript.po
U    ko/LC_MESSAGES/messages.po
U    si/LC_MESSAGES/javascript.po
U    si/LC_MESSAGES/messages.po
U    sk/LC_MESSAGES/javascript.po
U    sk/LC_MESSAGES/messages.po
U    sl/LC_MESSAGES/javascript.po
U    sl/LC_MESSAGES/messages.po
U    sv_SE/LC_MESSAGES/javascript.po
U    sv_SE/LC_MESSAGES/messages.po
U    sq/LC_MESSAGES/javascript.po
U    sq/LC_MESSAGES/messages.po
U    da/LC_MESSAGES/javascript.po
U    da/LC_MESSAGES/messages.po
U    de/LC_MESSAGES/javascript.po
U    de/LC_MESSAGES/messages.po
U    he/LC_MESSAGES/javascript.po
U    he/LC_MESSAGES/messages.po
U    pt_BR/LC_MESSAGES/javascript.po
U    pt_BR/LC_MESSAGES/messages.po
U    te/LC_MESSAGES/javascript.po
U    te/LC_MESSAGES/messages.po
U    hr/LC_MESSAGES/javascript.po
U    hr/LC_MESSAGES/messages.po
U    th/LC_MESSAGES/javascript.po
U    th/LC_MESSAGES/messages.po
U    pl/LC_MESSAGES/javascript.po
U    pl/LC_MESSAGES/messages.po
U    hu/LC_MESSAGES/javascript.po
U    hu/LC_MESSAGES/messages.po
U    lt/LC_MESSAGES/javascript.po
U    lt/LC_MESSAGES/messages.po
U    tr/LC_MESSAGES/javascript.po
U    tr/LC_MESSAGES/messages.po
U    bn_IN/LC_MESSAGES/javascript.po
U    bn_IN/LC_MESSAGES/messages.po
U    ast/LC_MESSAGES/javascript.po
U    ast/LC_MESSAGES/messages.po
U    ta_LK/LC_MESSAGES/javascript.po
U    ta_LK/LC_MESSAGES/messages.po
U    ak/LC_MESSAGES/javascript.po
U    ak/LC_MESSAGES/messages.po
U    fur/LC_MESSAGES/javascript.po
U    fur/LC_MESSAGES/messages.po
U    id/LC_MESSAGES/javascript.po
U    id/LC_MESSAGES/messages.po
U    templates/LC_MESSAGES/javascript.pot
U    templates/LC_MESSAGES/messages.pot
U    el/LC_MESSAGES/javascript.po
U    el/LC_MESSAGES/messages.po
U    zh_CN/LC_MESSAGES/javascript.po
U    zh_CN/LC_MESSAGES/messages.po
U    ar/LC_MESSAGES/javascript.po
U    ar/LC_MESSAGES/messages.po
U    as/LC_MESSAGES/javascript.po
U    as/LC_MESSAGES/messages.po
U    eo/LC_MESSAGES/javascript.po
U    eo/LC_MESSAGES/messages.po
U    bn_BD/LC_MESSAGES/javascript.po
U    bn_BD/LC_MESSAGES/messages.po
U    ga_IE/LC_MESSAGES/javascript.po
U    ga_IE/LC_MESSAGES/messages.po
U    mk/LC_MESSAGES/javascript.po
U    mk/LC_MESSAGES/messages.po
U    es/LC_MESSAGES/javascript.po
U    es/LC_MESSAGES/messages.po
U    et/LC_MESSAGES/javascript.po
U    et/LC_MESSAGES/messages.po
U    en_US/LC_MESSAGES/javascript.po
U    en_US/LC_MESSAGES/messages.po
U    eu/LC_MESSAGES/javascript.po
U    eu/LC_MESSAGES/messages.po
U    mn/LC_MESSAGES/javascript.po
U    mn/LC_MESSAGES/messages.po
U    is/LC_MESSAGES/javascript.po
U    is/LC_MESSAGES/messages.po
U    it/LC_MESSAGES/javascript.po
U    it/LC_MESSAGES/messages.po
U    mr/LC_MESSAGES/javascript.po
U    mr/LC_MESSAGES/messages.po
Updated to revision 99469.
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ ./compile-mo.sh .
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/support/src/support.mozilla.org/kitsune/scripts/crontab
+ ./gen-crons.py -k /data/support/src/support.mozilla.org/kitsune -u apache
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/support/src/support.mozilla.org/kitsune
+ find /data/support/src/support.mozilla.org/kitsune -name '*.pyc' -delete
+ read -p 'Do you really want to push SUMO and reload apache? [y/n] ' YESNO
Do you really want to push SUMO and reload apache? [y/n] y
+ [[ y != \y ]]
+ /data/support/deploy -n support.mozilla.org
[2011-12-29 10:54:23] Running rsync_project
[2011-12-29 10:54:23] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --delete /data/support/src/support.mozilla.org/ /data/support/www/support.mozilla.org/
[2011-12-29 10:54:28] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --delete /data/support/src/support.mozilla.org/ /data/support/www/support.mozilla.org/ (5.499s)
+ issue-multi-command support /data/bin/update-www.sh
[2011-12-29 10:54:28] [support1.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh
[2011-12-29 10:54:28] [support2.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh
[2011-12-29 10:54:28] [support3.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh
[2011-12-29 10:54:28] [support4.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh
[2011-12-29 10:54:28] [support5.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh
[2011-12-29 10:54:30] [support1.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh (1.599s)
[2011-12-29 10:54:30] [support3.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh (2.128s)
[2011-12-29 10:54:31] [support2.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh (2.383s)
[2011-12-29 10:54:31] [support4.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh (2.864s)
[2011-12-29 10:54:32] [support5.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh (3.211s)
+ issue-multi-command support-celery /data/bin/update-www.sh
[2011-12-29 10:54:32] [sumocelery1.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh
[2011-12-29 10:54:33] [sumocelery1.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh (1.353s)
+ scp /data/support/src/support.mozilla.org/kitsune/configs/sphinx/sphinx.conf pp-app-sphinx01.phx.mozilla.com:/data/sphinx/support/sphinx.conf
sphinx.conf                                                       100%   12KB  12.3KB/s   00:00    
+ scp /data/support/src/support.mozilla.org/kitsune/configs/sphinx/sphinx.conf pp-app-sphinx02.phx.mozilla.com:/data/sphinx/support/sphinx.conf
sphinx.conf                                                       100%   12KB  12.3KB/s   00:00    
+ echo 'Restarting httpd...'
Restarting httpd...
+ issue-multi-command support /sbin/service httpd graceful
[2011-12-29 10:54:34] [support1.webapp.phx1.mozilla.com] running: /sbin/service httpd graceful
[2011-12-29 10:54:34] [support2.webapp.phx1.mozilla.com] running: /sbin/service httpd graceful
[2011-12-29 10:54:34] [support3.webapp.phx1.mozilla.com] running: /sbin/service httpd graceful
[2011-12-29 10:54:34] [support4.webapp.phx1.mozilla.com] running: /sbin/service httpd graceful
[2011-12-29 10:54:34] [support5.webapp.phx1.mozilla.com] running: /sbin/service httpd graceful
[2011-12-29 10:54:35] [support1.webapp.phx1.mozilla.com] finished: /sbin/service httpd graceful (0.597s)
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.