Closed
Bug 1041745
Opened 11 years ago
Closed 11 years ago
aus4 beta release - aus3 zlb traffic script
Categories
(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)
Infrastructure & Operations Graveyard
WebOps: Product Delivery
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cturra, Assigned: cturra)
References
Details
(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/561] )
:bhearsum and i have been discussing the correct way to launch aus4 to firefox beta. it seems like the most straight forward way to do this is through a traffic script on the aus3 virtual server that sends traffic matching "/beta/"
or "/beta-*/" over to aus4.
since this week is a release week, we're not going to poke at this too much, but i am filing a bug to keep state on this :)
| Assignee | ||
Comment 1•11 years ago
|
||
we added a traffic script to aus3 that now watches two test channels: /cturra/ and /cturra-cdntest/. these will be used to complete testing before we release to beta.
---
$host = http.getHostHeader();
$path = http.getPath();
if (string.containsI($host, "aus3.mozilla.org")){
if (
string.containsI($path, "/cturra/") ||
string.containsI($path, "/cturra-cdntest/")
){
pool.select("aus4-prod-https");
}
}
Comment 2•11 years ago
|
||
We're about to push what we think are the last patches we'll need before we can move Beta users to aus4. We're going to be a bit delayed because of a high priority thing that came up though, so further testing of this may be somewhat delayed. So far, this seems to work fine though.
Comment 3•11 years ago
|
||
For posterity, I had Chris change things a little bit to reduce the amount of fiddling we had to do on the aus4 backends. We're now using:
# used for to test aus3->aus4 for beta
# bug 1041745
$host = http.getHostHeader();
$path = http.getPath();
if (string.containsI($host, "aus3.mozilla.org")){
if (
string.containsI($path, "/cturra/") ||
string.containsI($path, "/cturra-cdntest/")
){
$path = string.replace($path, "/cturra", "/beta");
http.setPath($path);
pool.select("aus4-prod-https");
}
}
| Assignee | ||
Comment 4•11 years ago
|
||
we've now pushed most of the beta traffic over to aus4 with the following traffic script?
$host = http.getHostHeader();
$path = http.getPath();
if (string.containsI($host, "aus3.mozilla.org")){
if (
string.containsI($path, "/beta/") ||
string.containsI($path, "/beta-localtest/") ||
string.containsI($path, "/beta-cdntest/")
){
pool.select("aus4-prod-https");
}
}
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•9 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
•