Closed
Bug 1056167
Opened 10 years ago
Closed 10 years ago
Loop — Stage and Production wrong fxaAudience configuration
Categories
(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)
Cloud Services
Operations: Deployment Requests - DEPRECATED
x86_64
Linux
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rhubscher, Assigned: dwilson)
References
Details
(Whiteboard: [qa+])
When testing 1045966 I realized that the fxaAudience configuration for loop-server on Stage and Production is probably wrong.
It should be:
For production:
"fxaAudiences": [
"https://loop.services.mozilla.com",
"app://loop.services.mozilla.com"
],
For stage:
"fxaAudiences": [
"https://loop.stage.mozaws.net",
"app://loop.stage.mozaws.net"
],
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → bwong
Updated•10 years ago
|
Assignee: bwong → bobm
Comment 1•10 years ago
|
||
Using this bug as our proxy deployment bug for Loop-Server Stage and Prod...
Status: NEW → ASSIGNED
Whiteboard: [qa+]
Comment 2•10 years ago
|
||
Checking the new instance in Stage now:
/data/loop-server/config/settings.json shows the following:
"fxaAudiences": [
"app://loop.stage.mozaws.net",
"https://loop.stage.mozaws.net"
],
/etc/puppet/yaml/app/loop_server.stage.yaml shows the following:
...etc...
# domain of website for fxa verification
fxaAudiences:
- "https://loop.stage.mozaws.net"
fxaVerifier: "https://verifier.stage.mozaws.net/v2"
fxaTrustedIssuers:
- "auth.stage.mozaws.net"
...etc...
fxaAudiences:
- "https://loop.stage.mozaws.net"
- "app://loop.stage.mozaws.net"
fxaVerifier: "https://verifier.stage.mozaws.net/v2"
fxaTrustedIssuers:
- "api-accounts.stage.mozaws.net"
- "msisdn-dev.stage.mozaws.net"
Should their be duplicate entries in this yaml?
/etc/puppet/yaml/app/loop_server.yaml shows the following:
# fxaAudience should be the server's url
fxaAudiences:
- "http://loop.services.mozilla.com"
- "app://loop.services.mozilla.com"
As the "default", I expected these values, but please confirm.
Comment 3•10 years ago
|
||
This configuration change has been pushed to Stage. As long as the duplicates aren't hurting anything, I'll leave it as is, and wait for confirmation from :mostlygeek .
Comment 4•10 years ago
|
||
OK, so assuming we are good, we can push to Prod tomorrow (Thu)...
Otherwise, let's fix the dupes in Stage.
Reporter | ||
Comment 5•10 years ago
|
||
Great let me know when you are ready with it.
Reporter | ||
Comment 6•10 years ago
|
||
On stage we are also missing the fxaTrustedIssuers configuration:
fxaTrustedIssuers: ["api.accounts.firefox.com", "msisdn.stage.mozaws.net"]
Reporter | ||
Comment 7•10 years ago
|
||
I am wondering if we don't want to put all of them on stage.
fxaTrustedIssuers: ["api.accounts.firefox.com", "msisdn.stage.mozaws.net" , "msisdn-dev.stage.mozaws.net", "msisdn.services.mozilla.com"]
Comment 8•10 years ago
|
||
Interesting idea. Should not hurt, but let's run it by OPs...
Flags: needinfo?(bwong)
Flags: needinfo?(bobm)
Comment 9•10 years ago
|
||
I don't see why not. It should be a quick config tweak.
Flags: needinfo?(bwong)
Comment 10•10 years ago
|
||
OK, I will wait for changes before hitting Stage over again.
Also - we should address this:
bug 1057090
Comment 11•10 years ago
|
||
:bobm
or
"mostlygeek
I need this to move forward for my testing.
Any ETA on the config changes for Stage?
Comment 12•10 years ago
|
||
(In reply to James Bonacci [:jbonacci] from comment #11)
> :bobm
> or
> "mostlygeek
Working on it.
Flags: needinfo?(bobm)
Comment 13•10 years ago
|
||
Audiences added in Puppet. Okay to re-roll stage instance?
Comment 14•10 years ago
|
||
:bobm yes please re-deploy Loop-Server Stage...
Comment 15•10 years ago
|
||
(In reply to James Bonacci [:jbonacci] from comment #14)
> :bobm yes please re-deploy Loop-Server Stage...
Re-deploy complete.
Comment 16•10 years ago
|
||
OK. For loop_server.yaml:
fxaAudiences:
- "http://loop.services.mozilla.com"
- "app://loop.services.mozilla.com"
fxaVerifier: "https://verifier.accounts.firefox.com/v2"
fxaTrustedIssuers:
- "api.accounts.firefox.com"
- "msisdn.services.mozilla.com"
And for loop_server.stage.yaml
fxaAudiences:
- "https://loop.stage.mozaws.net"
fxaVerifier: "https://verifier.stage.mozaws.net/v2"
fxaTrustedIssuers:
- "auth.stage.mozaws.net"
and further down:
fxaAudiences:
- "https://loop.stage.mozaws.net"
- "app://loop.stage.mozaws.net"
fxaVerifier: "https://verifier.stage.mozaws.net/v2"
fxaTrustedIssuers:
- "api-accounts.stage.mozaws.net"
- "msisdn-dev.stage.mozaws.net"
- "api.accounts.firefox.com"
- "msisdn.stage.mozaws.net"
- "msisdn.services.mozilla.com"
and, finally, for /data/loop-server/config/settings.json
"fxaAudiences": [
"app://loop.stage.mozaws.net",
"https://loop.stage.mozaws.net"
],
"fxaTrustedIssuers": [
"api-accounts.stage.mozaws.net",
"api.accounts.firefox.com",
"msisdn-dev.stage.mozaws.net",
"msisdn.services.mozilla.com",
"msisdn.stage.mozaws.net"
],
"fxaVerifier": "https://verifier.stage.mozaws.net/v2",
Stage looks good.
Let's get these config changes out to Production.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 17•10 years ago
|
||
We have the same ticket for Stage and Production. So I reopened. It has been closed for Stage. Lets do it for Production.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•10 years ago
|
Assignee: bobm → dwilson
Comment 18•10 years ago
|
||
Loop-Client Prod has been updated. This is our next bug to focus on.
I assume this will be Monday for EU, Tuesday for US peoples...
Comment 19•10 years ago
|
||
It appears this is already in Prod. Having OPs check.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Comment 20•10 years ago
|
||
Not in Prod, but in puppet configs - just needs to be pushed to Prod.
Sorry about that...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 21•10 years ago
|
||
This has now been pushed to prod with code release 0.11.0
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•