Update addons.mozilla.org on 11/18 @ 1600

VERIFIED FIXED

Status

Infrastructure & Operations
WebOps: Other
VERIFIED FIXED
8 years ago
5 years ago

People

(Reporter: clouserw, Assigned: oremj)

Tracking

Details

(Reporter)

Description

8 years ago
Please update AMO on 11/18.  Details solidifying at http://etherpad.mozilla.org:9000/amo-5-12-3-push

I don't expect any downtime.  This will be remora and zamboni.

Comment 1

8 years ago
Are we still on track for 11/18?
(Reporter)

Comment 2

8 years ago
(In reply to comment #1)
> Are we still on track for 11/18?

Yes
(Reporter)

Comment 3

8 years ago
1) Update to 5.12.3
2) Update submodules
3) Update vendor
4) ./manage.py compress_assets
5) pet Tegan
6) schematic migrations
7) Add to config:

    SESSION_COOKIE_DOMAIN = ".%s" % DOMAIN

Adjust/replace in config:

    ADDON_ICON_URL = ('%s/%s/%s/images/addon_icon/%%d/?modified=%%s' % (STATIC_URL,

    LANGUAGE_CODE, DEFAULT_APP))

    PREVIEW_THUMBNAIL_URL = (STATIC_URL +

    '/img/uploads/previews/thumbs/%s/%d.png?modified=%d')

    PREVIEW_FULL_URL = (STATIC_URL +

    '/img/uploads/previews/full/%s/%d.png?modified=%d')

    USERPICS_URL = STATIC_URL + '/img/uploads/userpics/%s/%s/%s.png?modified=%d'

8) svn up remora
9) push site
10) clear memcache & redis
11) update and restart sphinx
12) Adjust celeryd to have new queues: devhub,images  Copy this from PAMO.
13) restart celeryd
14) ./manage.py limit_tags
15) import scripts/crontab/prod to crontab
(Assignee)

Updated

8 years ago
Assignee: server-ops → jeremy.orem+bugs
(Assignee)

Comment 4

8 years ago
 U   .

Fetching external item into 'site'
D    site/app/locale/en_GB
D    site/app/locale/sl
U    site/app/locale/sv_SE/LC_MESSAGES/messages.po
U    site/app/locale/sv_SE/LC_MESSAGES/z-javascript.po
U    site/app/locale/sv_SE/LC_MESSAGES/z-messages.po
U    site/app/locale/uk/LC_MESSAGES/messages.po
U    site/app/locale/uk/LC_MESSAGES/z-javascript.po
U    site/app/locale/uk/LC_MESSAGES/z-messages.po
U    site/app/locale/sq/LC_MESSAGES/messages.mo
U    site/app/locale/sq/LC_MESSAGES/messages.po
U    site/app/locale/sq/LC_MESSAGES/z-messages.mo
U    site/app/locale/sq/LC_MESSAGES/z-javascript.po
U    site/app/locale/sq/LC_MESSAGES/z-messages.po
U    site/app/locale/z-keys.pot
U    site/app/locale/da/LC_MESSAGES/messages.po
U    site/app/locale/da/LC_MESSAGES/z-javascript.po
U    site/app/locale/da/LC_MESSAGES/z-messages.po
U    site/app/locale/sr/LC_MESSAGES/messages.po
U    site/app/locale/sr/LC_MESSAGES/z-javascript.po
U    site/app/locale/sr/LC_MESSAGES/z-messages.po
U    site/app/locale/fa/LC_MESSAGES/messages.po
U    site/app/locale/fa/LC_MESSAGES/z-javascript.po
U    site/app/locale/fa/LC_MESSAGES/z-messages.po
U    site/app/locale/bg/LC_MESSAGES/messages.mo
U    site/app/locale/bg/LC_MESSAGES/messages.po
U    site/app/locale/bg/LC_MESSAGES/z-javascript.po
U    site/app/locale/bg/LC_MESSAGES/z-messages.po
U    site/app/locale/de/LC_MESSAGES/messages.po
U    site/app/locale/de/LC_MESSAGES/z-javascript.po
U    site/app/locale/de/LC_MESSAGES/z-messages.po
U    site/app/locale/ja/LC_MESSAGES/messages.po
U    site/app/locale/ja/LC_MESSAGES/z-javascript.po
U    site/app/locale/ja/LC_MESSAGES/z-messages.po
U    site/app/locale/he/LC_MESSAGES/messages.po
U    site/app/locale/he/LC_MESSAGES/z-javascript.po
U    site/app/locale/he/LC_MESSAGES/z-messages.po
U    site/app/locale/fi/LC_MESSAGES/messages.po
U    site/app/locale/fi/LC_MESSAGES/z-javascript.po
U    site/app/locale/fi/LC_MESSAGES/z-messages.po
U    site/app/locale/es_ES/LC_MESSAGES/messages.mo
U    site/app/locale/es_ES/LC_MESSAGES/messages.po
U    site/app/locale/es_ES/LC_MESSAGES/z-javascript.mo
U    site/app/locale/es_ES/LC_MESSAGES/z-messages.mo
U    site/app/locale/es_ES/LC_MESSAGES/z-javascript.po
U    site/app/locale/es_ES/LC_MESSAGES/z-messages.po
U    site/app/locale/sr_Latn/LC_MESSAGES/messages.po
U    site/app/locale/sr_Latn/LC_MESSAGES/z-javascript.po
U    site/app/locale/sr_Latn/LC_MESSAGES/z-messages.po
U    site/app/locale/pt_BR/LC_MESSAGES/messages.po
U    site/app/locale/pt_BR/LC_MESSAGES/z-javascript.po
U    site/app/locale/pt_BR/LC_MESSAGES/z-messages.po
U    site/app/locale/fr/pages/validation.thtml
U    site/app/locale/fr/pages/docs/policies/contact.thtml
U    site/app/locale/fr/pages/docs/policies/submission.thtml
U    site/app/locale/fr/pages/docs/policies/recommended.thtml
U    site/app/locale/fr/pages/docs/policies/reviews.thtml
U    site/app/locale/fr/pages/docs/policies/agreement.thtml
U    site/app/locale/fr/LC_MESSAGES/messages.mo
U    site/app/locale/fr/LC_MESSAGES/messages.po
U    site/app/locale/fr/LC_MESSAGES/z-messages.mo
U    site/app/locale/fr/LC_MESSAGES/z-javascript.po
U    site/app/locale/fr/LC_MESSAGES/z-messages.po
U    site/app/locale/hr/LC_MESSAGES/messages.po
U    site/app/locale/hr/LC_MESSAGES/z-javascript.po
U    site/app/locale/hr/LC_MESSAGES/z-messages.po
U    site/app/locale/nl/LC_MESSAGES/messages.mo
U    site/app/locale/nl/LC_MESSAGES/messages.po
U    site/app/locale/nl/LC_MESSAGES/z-javascript.mo
U    site/app/locale/nl/LC_MESSAGES/z-messages.mo
U    site/app/locale/nl/LC_MESSAGES/z-javascript.po
U    site/app/locale/nl/LC_MESSAGES/z-messages.po
U    site/app/locale/th/LC_MESSAGES/messages.po
U    site/app/locale/th/LC_MESSAGES/z-javascript.po
U    site/app/locale/th/LC_MESSAGES/z-messages.po
U    site/app/locale/pl/LC_MESSAGES/messages.mo
U    site/app/locale/pl/LC_MESSAGES/messages.po
U    site/app/locale/pl/LC_MESSAGES/z-javascript.mo
U    site/app/locale/pl/LC_MESSAGES/z-messages.mo
U    site/app/locale/pl/LC_MESSAGES/z-javascript.po
U    site/app/locale/pl/LC_MESSAGES/z-messages.po
U    site/app/locale/hu/LC_MESSAGES/messages.po
U    site/app/locale/hu/LC_MESSAGES/z-javascript.po
U    site/app/locale/hu/LC_MESSAGES/z-messages.po
U    site/app/locale/z-javascript.pot
U    site/app/locale/vi/LC_MESSAGES/messages.po
U    site/app/locale/vi/LC_MESSAGES/z-javascript.po
U    site/app/locale/vi/LC_MESSAGES/z-messages.po
U    site/app/locale/ro/LC_MESSAGES/messages.po
U    site/app/locale/ro/LC_MESSAGES/z-javascript.po
U    site/app/locale/ro/LC_MESSAGES/z-messages.po
U    site/app/locale/ca/LC_MESSAGES/messages.po
U    site/app/locale/ca/LC_MESSAGES/z-javascript.po
U    site/app/locale/ca/LC_MESSAGES/z-messages.po
U    site/app/locale/tr/LC_MESSAGES/messages.po
U    site/app/locale/tr/LC_MESSAGES/z-javascript.po
U    site/app/locale/tr/LC_MESSAGES/z-messages.po
U    site/app/locale/ru/LC_MESSAGES/messages.mo
U    site/app/locale/ru/LC_MESSAGES/messages.po
U    site/app/locale/ru/LC_MESSAGES/z-javascript.mo
U    site/app/locale/ru/LC_MESSAGES/z-messages.mo
U    site/app/locale/ru/LC_MESSAGES/z-javascript.po
U    site/app/locale/ru/LC_MESSAGES/z-messages.po
U    site/app/locale/pt_PT/LC_MESSAGES/messages.mo
U    site/app/locale/pt_PT/LC_MESSAGES/messages.po
U    site/app/locale/pt_PT/LC_MESSAGES/z-messages.mo
U    site/app/locale/pt_PT/LC_MESSAGES/z-javascript.po
U    site/app/locale/pt_PT/LC_MESSAGES/z-messages.po
U    site/app/locale/af/LC_MESSAGES/messages.po
U    site/app/locale/af/LC_MESSAGES/z-javascript.po
U    site/app/locale/af/LC_MESSAGES/z-messages.po
U    site/app/locale/zh_TW/LC_MESSAGES/messages.po
U    site/app/locale/zh_TW/LC_MESSAGES/z-javascript.po
U    site/app/locale/zh_TW/LC_MESSAGES/z-messages.po
U    site/app/locale/id/LC_MESSAGES/messages.po
U    site/app/locale/id/LC_MESSAGES/z-javascript.po
U    site/app/locale/id/LC_MESSAGES/z-messages.po
U    site/app/locale/el/LC_MESSAGES/messages.po
U    site/app/locale/el/LC_MESSAGES/z-javascript.po
U    site/app/locale/el/LC_MESSAGES/z-messages.po
U    site/app/locale/zh_CN/LC_MESSAGES/messages.po
U    site/app/locale/zh_CN/LC_MESSAGES/z-javascript.po
U    site/app/locale/zh_CN/LC_MESSAGES/z-messages.po
U    site/app/locale/ar/LC_MESSAGES/messages.po
U    site/app/locale/ar/LC_MESSAGES/z-javascript.po
U    site/app/locale/ar/LC_MESSAGES/z-messages.po
U    site/app/locale/ga_IE/LC_MESSAGES/messages.mo
U    site/app/locale/ga_IE/LC_MESSAGES/messages.po
U    site/app/locale/ga_IE/LC_MESSAGES/z-messages.mo
U    site/app/locale/ga_IE/LC_MESSAGES/z-javascript.po
U    site/app/locale/ga_IE/LC_MESSAGES/z-messages.po
U    site/app/locale/cs/LC_MESSAGES/messages.mo
U    site/app/locale/cs/LC_MESSAGES/messages.po
U    site/app/locale/cs/LC_MESSAGES/z-messages.mo
U    site/app/locale/cs/LC_MESSAGES/z-javascript.po
U    site/app/locale/cs/LC_MESSAGES/z-messages.po
U    site/app/locale/fy_NL/LC_MESSAGES/messages.po
U    site/app/locale/fy_NL/LC_MESSAGES/z-javascript.po
U    site/app/locale/fy_NL/LC_MESSAGES/z-messages.po
U    site/app/locale/ko/LC_MESSAGES/messages.mo
U    site/app/locale/ko/LC_MESSAGES/messages.po
U    site/app/locale/ko/LC_MESSAGES/z-javascript.mo
U    site/app/locale/ko/LC_MESSAGES/z-messages.mo
U    site/app/locale/ko/LC_MESSAGES/z-javascript.po
U    site/app/locale/ko/LC_MESSAGES/z-messages.po
U    site/app/locale/en_US/pages/docs/policies/submission.thtml
U    site/app/locale/en_US/LC_MESSAGES/messages.mo
U    site/app/locale/en_US/LC_MESSAGES/messages.po
U    site/app/locale/en_US/LC_MESSAGES/z-javascript.mo
U    site/app/locale/en_US/LC_MESSAGES/z-messages.mo
U    site/app/locale/en_US/LC_MESSAGES/z-javascript.po
U    site/app/locale/en_US/LC_MESSAGES/z-messages.po
U    site/app/locale/eu/LC_MESSAGES/messages.po
U    site/app/locale/eu/LC_MESSAGES/z-javascript.po
U    site/app/locale/eu/LC_MESSAGES/z-messages.po
U    site/app/locale/mn/LC_MESSAGES/messages.po
U    site/app/locale/mn/LC_MESSAGES/z-javascript.po
U    site/app/locale/mn/LC_MESSAGES/z-messages.po
U    site/app/locale/cy/LC_MESSAGES/messages.po
U    site/app/locale/cy/LC_MESSAGES/z-javascript.po
U    site/app/locale/cy/LC_MESSAGES/z-messages.po
U    site/app/locale/it/LC_MESSAGES/messages.mo
U    site/app/locale/it/LC_MESSAGES/messages.po
U    site/app/locale/it/LC_MESSAGES/z-messages.mo
U    site/app/locale/it/LC_MESSAGES/z-javascript.po
U    site/app/locale/it/LC_MESSAGES/z-messages.po
U    site/app/locale/sk/LC_MESSAGES/messages.po
U    site/app/locale/sk/LC_MESSAGES/z-javascript.po
U    site/app/locale/sk/LC_MESSAGES/z-messages.po
U    site/app/webroot/services/blocklist.php
U    site/app/webroot/services/install.php
U    site/app/tests/selenium/pythonTests/addon_detail_layout_functions.py
U    site/app/tests/selenium/pythonTests/AMO_category_browse_sort.py
U    site/app/tests/selenium/pythonTests/AMOfunctions.py
U    site/app/tests/selenium/pythonTests/AMO_home_page_layout.py
U    site/app/tests/selenium/pythonTests/addon_privacy_page.py
U    site/app/tests/selenium/pythonTests/AMO_category_landing_lists.py
U    site/app/tests/selenium/pythonTests/addon_EULA_layout.py
U    site/app/tests/selenium/pythonTests/AMOlocators.py
U    site/app/tests/selenium/pythonTests/test_srcURLlink.py
U    site/app/models/user.php
U    site/app/config/revisions.php
U    site/app/controllers/users_controller.php
Updated external to revision 77804.


Fetching external item into 'bin'
Updated external to revision 77804.


Fetching external item into 'site/vendors/product-details'
U    site/vendors/product-details/history/firefoxHistory.class.php
U    site/vendors/product-details/firefoxDetails.class.php
U    site/vendors/product-details/json/firefox_history_development_releases.json
U    site/vendors/product-details/json/firefox_versions.json
Updated external to revision 77804.


Fetching external item into 'bin/schematic'
Updated external to revision 77804.


Fetching external item into 'site/vendors/zxtm-api'
Updated external to revision 77804.


Fetching external item into 'site/vendors/phorms'
Updated external to revision 77804.


Fetching external item into 'site/vendors/fizzypop'
Updated external to revision 77804.


Fetching external item into 'site/vendors/l10n-completeness-check'
Updated external to revision 77804.


Fetching external item into 'site/vendors/gearman-php'
Updated external to revision 77804.


Fetching external item into 'site/vendors/sphinx/api'
svn: warning: Repository UUID '8b96e2b9-35c5-2c16-bc47-5122d61876d4' doesn't match expected UUID '3dc63b7a-4a1c-11de-898f-4722afa3338a'

Updated to revision 77812.


[root@mradm02 ~]# ./bin/zamboni_quick_update.sh 5.12.3 5.12.3
+ git fetch -t origin
remote: Counting objects: 1092, done.
remote: Compressing objects: 100% (285/285), done.
remote: Total 938 (delta 714), reused 828 (delta 608)
Receiving objects: 100% (938/938), 644.38 KiB, done.
Resolving deltas: 100% (714/714), completed with 129 local objects.
From git://github.com/jbalogh/zamboni
 * [new tag]         5.12.3     -> 5.12.3
+ git checkout 5.12.3
M	locale
Previous HEAD position was 2a4c0da... somehow managed to delete a parenthesis :-/
HEAD is now at 3c5bd61... tag 5.12.3 locales
+ git submodule update --init
remote: Counting objects: 631, done.
remote: Compressing objects: 100% (218/218), done.
remote: Total 547 (delta 339), reused 528 (delta 321)
Receiving objects: 100% (547/547), 12.84 MiB | 4.09 MiB/s, done.
Resolving deltas: 100% (339/339), completed with 32 local objects.
From git://github.com/jbalogh/amo-locales2
   0514d66..4f1749e  master     -> origin/master
Submodule path 'locale': checked out '4f1749ec28f39e7a3bcf83319518476be2bba0ba'
+ set +x
+ pushd vendor
+ git fetch -t origin
From git://github.com/jbalogh/zamboni-lib
 * [new tag]         5.12.3     -> 5.12.3
+ git checkout 5.12.3
HEAD is now at 5e6d53a... updating nuggets for bug 607448
+ git submodule update --init
+ popd
+ set +x
+ git fetch -t origin
remote: Counting objects: 1092, done.
remote: Compressing objects: 100% (285/285), done.
remote: Total 938 (delta 714), reused 828 (delta 608)
Receiving objects: 100% (938/938), 644.38 KiB, done.
Resolving deltas: 100% (714/714), completed with 129 local objects.
From git://github.com/jbalogh/zamboni
 * [new tag]         5.12.3     -> 5.12.3
+ git checkout 5.12.3
M	locale
Previous HEAD position was 2a4c0da... somehow managed to delete a parenthesis :-/
HEAD is now at 3c5bd61... tag 5.12.3 locales
+ git submodule update --init
remote: Counting objects: 631, done.
remote: Compressing objects: 100% (218/218), done.
remote: Total 547 (delta 339), reused 528 (delta 321)
Receiving objects: 100% (547/547), 12.84 MiB | 5.82 MiB/s, done.
Resolving deltas: 100% (339/339), completed with 32 local objects.
From git://github.com/jbalogh/amo-locales2
   0514d66..4f1749e  master     -> origin/master
Submodule path 'locale': checked out '4f1749ec28f39e7a3bcf83319518476be2bba0ba'
+ set +x
+ pushd vendor
+ git fetch -t origin
From git://github.com/jbalogh/zamboni-lib
 * [new tag]         5.12.3     -> 5.12.3
+ git checkout 5.12.3
M	src/commonware
M	src/django
M	src/django-multidb-router
M	src/django-piston
M	src/django-queryset-transform
M	src/easy-thumbnails
M	src/happyforms
M	src/hera
M	src/tower
HEAD is now at 5e6d53a... updating nuggets for bug 607448
+ git submodule update --init
+ popd
+ set +x
Compess assets? [y/n]: y
Run schematic? [y/n]: y
Running migration 94:
ALTER TABLE users_tags_addons DROP FOREIGN KEY users_tags_addons_ibfk_1;
ALTER TABLE users_tags_addons DROP INDEX user_id;
ALTER IGNORE TABLE users_tags_addons ADD UNIQUE index(tag_id, addon_id);

That took 6.25 seconds
################################################## 

Running migration 95:
CREATE INDEX created_idx ON log_activity (created);

That took 0.42 seconds
##################################################
(Assignee)

Comment 5

8 years ago
[root@mradm02 zamboni]# python26 manage.py limit_tagsFound: 592 addons that need altering
Completed: 50
Completed: 100
Completed: 150
Completed: 200
Completed: 250
Completed: 300
Completed: 350
Completed: 400
Completed: 450
Completed: 500
Completed: 550
(Assignee)

Comment 6

8 years ago
Done.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED

Comment 7

8 years ago
verified
Status: RESOLVED → VERIFIED
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.