If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

coordinated update to aus4 dev/stage/prod environments

VERIFIED FIXED

Status

Infrastructure & Operations Graveyard
WebOps: Product Delivery
VERIFIED FIXED
3 years ago
a year ago

People

(Reporter: bhearsum, Assigned: jakem)

Tracking

Details

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

(Reporter)

Description

3 years ago
This push includes changes to the wsgi app set-up that require some tweaks to the Apache config in addition to the regular code push, so I haven't landed that part yet to avoid breaking dev. Can we organize a time where I can do this + have the config changes needed around the same time? Once we see that it's working in dev we can push to stage and prod immediately afterwards.

This is what we're using in our Vagrant environment for aus4-admin now:
    DocumentRoot /home/vagrant/project/ui/dist/

    # Rewrite virtual paths in the angular app to the index page
    # so that refreshes/linking works, while leaving real files
    # such as the js/css alone.
    <Directory /home/vagrant/project/ui/dist>
        RewriteEngine On
        RewriteCond %{REQUEST_FILENAME} -f [OR]
        RewriteCond %{REQUEST_FILENAME} -d

        RewriteRule ^ - [L]
        RewriteRule ^ index.html [L]
    </Directory>

    WSGIScriptAlias /api /home/vagrant/project/admin.wsgi

The key change being that the UI is hosted out of / and the wsgi app out of /api. (Used to be /ui and /). It doesn't matter to me whether we use the above config or something else.

Updated

3 years ago
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/586]

Updated

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

Comment 1

3 years ago
Coordinated and completed via Hello. :)
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

3 years ago
Thanks Jake, everything is still looking good!
Status: RESOLVED → VERIFIED
(Reporter)

Comment 3

3 years ago
Sorry to re-open after verifying, but I just noticed that the aus4 prod app isn't updated (just aus4-admin in prod). Eg, I see that files such as /data/www/aus4.mozilla.org/app/auslib/web/views/client.py on aus1.webapp.phx1.mozilla.com don't match the checked in versions: https://github.com/mozilla/balrog/blob/master/auslib/web/views/client.py
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
(Assignee)

Comment 4

3 years ago
Yep, you're right... we forgot to deploy on aus4's user-facing half. Done.
Status: REOPENED → RESOLVED
Last Resolved: 3 years ago3 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

3 years ago
Looks good now, 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.