please update aus4+aus4-admin stage/prod to 2bfb8931c17cdcf2cabd622fc60f7b597acc3008

VERIFIED FIXED

Status

VERIFIED FIXED
4 years ago
2 years ago

People

(Reporter: bhearsum, Assigned: fox2mike)

Tracking

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/786] )

(Reporter)

Description

4 years ago
I was going to hold off on this until our sprint next Thursday, but one of the pending changes is going to be required for testing of 37.0, which goes to build on Tuesday. Can we do this push before that?

Updated

4 years ago
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/786]
(Reporter)

Comment 1

3 years ago
Not sure if yo uwere planning to, but please don't do this today to avoid any potential impact on the ongoing chemspills.

Updated

3 years ago
Assignee: server-ops-webops → smani
(Assignee)

Comment 2

3 years ago
This is done. 

[shyam@ausadm.private.phx1 ~]$ sudo bash -x /data/aus-admin/src/aus4-admin.mozilla.org/update
+ CODE_DIR=/data/aus-admin/src/aus4-admin.mozilla.org/app
+ VENDOR_DIR=/data/aus-admin/src/aus4-admin.mozilla.org/app/vendor
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/aus-admin/src/aus4-admin.mozilla.org/app
+ git pull -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Updating vendor submodules...'
Updating vendor submodules...
+ git submodule update --init --recursive
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Cleaning gitignore and pyc files...'
Cleaning gitignore and pyc files...
+ cd /data/aus-admin/src/aus4-admin.mozilla.org/app
+ find . -type f -name .gitignore -or -name '*.pyc' -delete
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Storing revision information...'
Storing revision information...
+ cd /data/aus-admin/src/aus4-admin.mozilla.org/app
+ git rev-parse HEAD
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ touch /data/aus-admin/src/aus4-admin.mozilla.org/app/admin.wsgi
+ echo -e 'Deploying code...'
Deploying code...
+ '[' xterm-256color == dumb ']'
+ /data/aus-admin/deploy aus4-admin.mozilla.org
[2015-03-26 11:07:39] Running rsync_project
[2015-03-26 11:07:39] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/aus-admin/src/aus4-admin.mozilla.org/ /data/aus-admin/www/aus4-admin.mozilla.org/
[2015-03-26 11:07:39] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/aus-admin/src/aus4-admin.mozilla.org/ /data/aus-admin/www/aus4-admin.mozilla.org/ (0.113s)
[2015-03-26 11:07:39] Finished rsync_project (0.114s)
[2015-03-26 11:07:39] Running push_www
[2015-03-26 11:07:39] [ausadm.private.phx1.mozilla.com] running: /data/bin/update-www.sh aus4-admin.mozilla.org
[2015-03-26 11:07:39] [ausadm.private.phx1.mozilla.com] finished: /data/bin/update-www.sh aus4-admin.mozilla.org (0.432s)
[2015-03-26 11:07:39] Finished push_www (0.433s)
[2015-03-26 11:07:39] Starting new HTTPS connection (1): changelog.paas.allizom.org
+ /usr/bin/issue-multi-command aus-admin
+ echo 'touch /data/www/aus4-admin.mozilla.org/app/admin.wsgi'
[2015-03-26 11:07:39] [ausadm.private.phx1.mozilla.com] running: touch /data/www/aus4-admin.mozilla.org/app/admin.wsgi
[2015-03-26 11:07:40] [ausadm.private.phx1.mozilla.com] finished: touch /data/www/aus4-admin.mozilla.org/app/admin.wsgi (0.162s)


[shyam@ausadm.private.phx1 ~]$ sudo bash -x /data/aus/src/aus4.mozilla.org/update
+ CODE_DIR=/data/aus/src/aus4.mozilla.org/app/
+ echo -e 'Updating code...'
Updating code...
+ cd /data/aus/src/aus4.mozilla.org/app/
+ git pull
remote: Counting objects: 35, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 35 (delta 7), reused 5 (delta 5), pack-reused 15
Unpacking objects: 100% (35/35), done.
From git://github.com/mozilla/balrog
   88617f7..2bfb893  master     -> origin/master
Updating 88617f7..2bfb893
Fast-forward
 auslib/admin/views/forms.py                   |  4 ++--
 auslib/blobs/apprelease.py                    | 22 +++++++++++++++++++---
 auslib/db.py                                  | 46 ++++++++++++++++++++++++++++++++++++++++------
 auslib/migrate/versions/007_longer_locales.py | 11 +++++++++++
 auslib/test/test_db.py                        | 32 +++++++++++++++++++++++++++++++-
 auslib/test/web/test_client.py                | 32 ++++++++++++++++++++++++++++++++
 auslib/web/views/client.py                    |  8 ++++++++
 scripts/manage-db.py                          |  2 +-
 8 files changed, 144 insertions(+), 13 deletions(-)
 create mode 100644 auslib/migrate/versions/007_longer_locales.py
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ cd /data/aus/src/aus4.mozilla.org/app/
+ git rev-parse HEAD
+ /data/aus/deploy -n aus4.mozilla.org
[2015-03-26 11:07:59] Running rsync_project
[2015-03-26 11:07:59] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/aus/src/aus4.mozilla.org/ /data/aus/www/aus4.mozilla.org/
[2015-03-26 11:07:59] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/aus/src/aus4.mozilla.org/ /data/aus/www/aus4.mozilla.org/ (0.124s)
[2015-03-26 11:07:59] Finished rsync_project (0.125s)
+ issue-multi-command aus /data/bin/update-www.sh aus4.mozilla.org
[2015-03-26 11:07:59] [aus1.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh aus4.mozilla.org
[2015-03-26 11:07:59] [aus2.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh aus4.mozilla.org
[2015-03-26 11:07:59] [aus3.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh aus4.mozilla.org
[2015-03-26 11:07:59] [aus4.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh aus4.mozilla.org
[2015-03-26 11:07:59] [aus5.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh aus4.mozilla.org
[2015-03-26 11:07:59] [aus6.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh aus4.mozilla.org
[2015-03-26 11:07:59] [aus1.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh aus4.mozilla.org (0.567s)
[2015-03-26 11:08:00] [aus3.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh aus4.mozilla.org (0.671s)
[2015-03-26 11:08:00] [aus2.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh aus4.mozilla.org (0.706s)
[2015-03-26 11:08:00] [aus5.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh aus4.mozilla.org (1.480s)
[2015-03-26 11:08:01] [aus4.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh aus4.mozilla.org (1.693s)
[2015-03-26 11:08:01] [aus6.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh aus4.mozilla.org (2.386s)
+ issue-multi-command aus apachectl graceful
[2015-03-26 11:08:01] [aus1.webapp.phx1.mozilla.com] running: apachectl graceful
[2015-03-26 11:08:01] [aus2.webapp.phx1.mozilla.com] running: apachectl graceful
[2015-03-26 11:08:01] [aus3.webapp.phx1.mozilla.com] running: apachectl graceful
[2015-03-26 11:08:01] [aus4.webapp.phx1.mozilla.com] running: apachectl graceful
[2015-03-26 11:08:01] [aus5.webapp.phx1.mozilla.com] running: apachectl graceful
[2015-03-26 11:08:01] [aus6.webapp.phx1.mozilla.com] running: apachectl graceful
[2015-03-26 11:08:02] [aus4.webapp.phx1.mozilla.com] finished: apachectl graceful (0.893s)
[2015-03-26 11:08:03] [aus2.webapp.phx1.mozilla.com] finished: apachectl graceful (1.256s)
[2015-03-26 11:08:03] [aus3.webapp.phx1.mozilla.com] finished: apachectl graceful (1.414s)
[2015-03-26 11:08:03] [aus1.webapp.phx1.mozilla.com] finished: apachectl graceful (1.528s)
[2015-03-26 11:08:03] [aus6.webapp.phx1.mozilla.com] finished: apachectl graceful (1.552s)
[2015-03-26 11:08:03] [aus5.webapp.phx1.mozilla.com] finished: apachectl graceful (1.974s)
[shyam@ausadm.private.phx1 ~]$
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
(Assignee)

Comment 3

3 years ago
Also ran 

[shyam@ausadm.private.phx1 app]$ sudo python scripts/manage-db.py -d mysql://REDACTED upgrade

DEBUG:migrate.versioning.repository:Loading repository scripts/../auslib/migrate...
DEBUG:migrate.versioning.script.base:Loading script scripts/../auslib/migrate/versions/001_initial.py...
DEBUG:migrate.versioning.script.base:Script scripts/../auslib/migrate/versions/001_initial.py loaded successfully
DEBUG:migrate.versioning.script.base:Loading script scripts/../auslib/migrate/versions/002_rules_comments.py...
DEBUG:migrate.versioning.script.base:Script scripts/../auslib/migrate/versions/002_rules_comments.py loaded successfully
DEBUG:migrate.versioning.script.base:Loading script scripts/../auslib/migrate/versions/003_releases_history_index.py...
DEBUG:migrate.versioning.script.base:Script scripts/../auslib/migrate/versions/003_releases_history_index.py loaded successfully
DEBUG:migrate.versioning.script.base:Loading script scripts/../auslib/migrate/versions/004_rename_throttle.py...
DEBUG:migrate.versioning.script.base:Script scripts/../auslib/migrate/versions/004_rename_throttle.py loaded successfully
DEBUG:migrate.versioning.script.base:Loading script scripts/../auslib/migrate/versions/005_rules_longer_os_version.py...
DEBUG:migrate.versioning.script.base:Script scripts/../auslib/migrate/versions/005_rules_longer_os_version.py loaded successfully
DEBUG:migrate.versioning.script.base:Loading script scripts/../auslib/migrate/versions/006_releases_name_index.py...
DEBUG:migrate.versioning.script.base:Script scripts/../auslib/migrate/versions/006_releases_name_index.py loaded successfully
DEBUG:migrate.versioning.script.base:Loading script scripts/../auslib/migrate/versions/007_longer_locales.py...
DEBUG:migrate.versioning.script.base:Script scripts/../auslib/migrate/versions/007_longer_locales.py loaded successfully
DEBUG:migrate.versioning.repository:Repository scripts/../auslib/migrate loaded successfully
DEBUG:migrate.versioning.repository:Config: {'db_settings': {'__name__': 'db_settings', 'required_dbs': '[]', 'version_table': 'migrate_version', 'repository_id': 'balrog'}}
DEBUG:AUSDatabase:migrating schema version 6 -> 7
(Reporter)

Comment 4

3 years ago
Looks good, thanks!
Status: RESOLVED → VERIFIED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.