Closed
Bug 1102207
Opened 11 years ago
Closed 11 years ago
Disable Mobile Originated endpoint in production
Categories
(Cloud Services :: Operations: Miscellaneous, task, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rhubscher, Assigned: dwilson)
References
Details
We want to disable all mobileOriginated endpoints for MSISDN in production until we get specific agreement with operators that the MO message will be free.
Basically removing all of those:
https://github.com/mozilla-services/puppet-config/blob/master/msisdn/yaml/app/msisdn_gateway.prod.yaml#L23-L41
Comment 1•11 years ago
|
||
Rémy, when do you think this issue will be handled?
Flags: needinfo?(rhubscher)
| Reporter | ||
Comment 2•11 years ago
|
||
Probably with next release with was due by QA for today.
Flags: needinfo?(rhubscher)
Comment 4•11 years ago
|
||
This is getting quite urgent, Dean can you give us a status today ? thx
Flags: needinfo?(rhubscher) → needinfo?(dwilson)
Priority: -- → P1
| Assignee | ||
Comment 5•11 years ago
|
||
I can do a new staging deploy with these configs merged in if you can find someone to verify it. We'll also need to arrange a time where people are around to verify the prod push.
Flags: needinfo?(dwilson)
| Assignee | ||
Comment 6•11 years ago
|
||
Should this change also have the moVerifierMapping: removed or does it need to be present but empty? (removing would be nice for cleanliness.)
I assume this has to happen in stage and dev. Is this correct?
Comment 7•11 years ago
|
||
> I can do a new staging deploy with these configs merged in if you can find someone to verify it
If 0.5.1 is the version deployed in stage it means we have *zero* change in the code. So we can probably bypass most of the QA work.
What we can do is have it deployed on stage and Maria can probably try it and let us know if everything's ok. then push the config change in prod. Adding Richard to have his green light on this.
> Should this change also have the moVerifierMapping: removed or does it need to be present but empty?
I guess it should be removed.
Flags: needinfo?(rpappalardo)
| Assignee | ||
Comment 8•11 years ago
|
||
:tarek :natim is this change correct? https://github.com/mozilla-services/puppet-config/compare/bz-1102207-msisdn?expand=1
Flags: needinfo?(tarek)
| Assignee | ||
Comment 10•11 years ago
|
||
I'll make the change to staging now. I can also confirm we're running 0.5.1.
Comment 11•11 years ago
|
||
Thanks a lot Dean
| Assignee | ||
Comment 12•11 years ago
|
||
Staging has been redeployed with the new config -
https://msisdn.stage.mozaws.net/
$ rpm -qa | grep msisd
msisdn-gateway-svcops 0.5.1-1 x86_64 67505404
and the value has gone from the config file.
Comment 13•11 years ago
|
||
(In reply to Tarek Ziadé (:tarek) from comment #7)
> > I can do a new staging deploy with these configs merged in if you can find someone to verify it
>
> If 0.5.1 is the version deployed in stage it means we have *zero* change in
> the code. So we can probably bypass most of the QA work.
>
> What we can do is have it deployed on stage and Maria can probably try it
> and let us know if everything's ok. then push the config change in prod.
> Adding Richard to have his green light on this.
OK by me.
Updated•11 years ago
|
Flags: needinfo?(rpappalardo)
| Assignee | ||
Comment 14•11 years ago
|
||
OK, who needs to agree that this can be promoted to prod? And can it wait until everyone is back on Monday?
Comment 15•11 years ago
|
||
(In reply to Dean Wilson (:deanw) from comment #14)
> OK, who needs to agree that this can be promoted to prod? And can it wait
> until everyone is back on Monday?
I have tried to verify the flow pointing to Stage server but I am not receiving the verification code, I suppose this is due to SMSs are not sent for real in that server, they are collected (https://wiki.mozilla.org/Services/Mobile-ID)
Tarek, if you want me to verify it before pushing to Production, you could apply the change in development server so I can confirm if all is fine, wdyt?
Otherwise,
Flags: needinfo?(tarek)
Comment 16•11 years ago
|
||
I just changed the configuration of the dev server. Let us know if that's better.
Thanks
Flags: needinfo?(tarek)
Comment 17•11 years ago
|
||
Yes, it's working as expected, be free to push it to Production and thanks a lot to all of you!
Comment 18•11 years ago
|
||
Thanks for checking. Dean, can you push that to prod? Thanks!
Updated•11 years ago
|
Flags: needinfo?(dwilson)
| Assignee | ||
Comment 19•11 years ago
|
||
This is scheduled to go to prod in the next hour or two. I'll update the ticket once it's done.
| Assignee | ||
Comment 20•11 years ago
|
||
The new deploy is at https://msisdnprod1-ms-elb-iiky1vvo28ey-621229108.us-west-2.elb.amazonaws.com/
Waiting for alexis to have a look before i repoint dns from the old stack.
Status: NEW → ASSIGNED
Flags: needinfo?(dwilson) → needinfo?(alexis+bugs)
Comment 21•11 years ago
|
||
It seems to be working but I would like to have Maria's feedback as well. Can you actually test that for us? Thanks!
Flags: needinfo?(alexis+bugs) → needinfo?(oteo)
Comment 22•11 years ago
|
||
Sorry for answering so late, bank holiday today in Spain... what do you want me to test? pointing to Production sever?
Flags: needinfo?(oteo) → needinfo?(alexis+bugs)
Comment 23•11 years ago
|
||
Please test using this url: https://msisdnprod1-ms-elb-iiky1vvo28ey-621229108.us-west-2.elb.amazonaws.com/
Flags: needinfo?(alexis+bugs)
Comment 24•11 years ago
|
||
I've configure the server you mentioned, in the beginning there was a problem as the certificate was invalid, but I solve it by going to that URL in the FxOS browser and accepting a permanent exception after doing that, the device does not seem to connect to the server see here the logcat: https://pastebin.mozilla.org/7875612
Flags: needinfo?(alexis+bugs)
Comment 25•11 years ago
|
||
Well, from what I see it seems that it worked okay. Why do you say it's not working ?
Flags: needinfo?(alexis+bugs)
Comment 26•11 years ago
|
||
based on the log "I/Gecko (29695): 1418119116025 Hawk DEBUG Response text: {"code":401,"errno":110,"error":"Bad mac"}"
and on the fact that the UI is stalled at the "connecting" phase... is that log expected? Do you think we are doing something wrong in the client?
Updated•11 years ago
|
Flags: needinfo?(alexis+bugs)
Comment 27•11 years ago
|
||
The bad mac is probably due to the fact we're using a server with a different domain name that the client is expecting + the SSL problem, so it's a red herring (not a real problem that would happen in prod).
I believe we should be good to go for the prod deploy. A better way to test this would be to actually deploy staging in a way that's sending actual SMS and not using oxmen (so we can validate this configuration is working properly), or we could actually check oxmen to see if messages are there, waiting to be sent.
I'm handing this off to Tarek since he worked on oxmen.
Flags: needinfo?(alexis+bugs) → needinfo?(tarek)
Comment 28•11 years ago
|
||
> The bad mac is probably due to the fact we're using a server with a different domain name that the client is expecting + the SSL problem, so it's a red herring (not a real problem that would happen in prod).
Yeah well. we have a weird testing environment. and we need a real stage one.
see https://wiki.mozilla.org/Services/Mobile-ID#
In the meantime, if everything worked in Dev, it's good enough for me for a prod push.
Flags: needinfo?(tarek)
| Assignee | ||
Comment 30•11 years ago
|
||
This has been done. the new version should be visible shortly.
I'll leave the old stack up for a few hours in case we need to roll back.
| Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(dwilson)
Comment 31•11 years ago
|
||
(In reply to Tarek Ziadé (:tarek) from comment #28)
> > The bad mac is probably due to the fact we're using a server with a different domain name that the client is expecting + the SSL problem, so it's a red herring (not a real problem that would happen in prod).
>
> Yeah well. we have a weird testing environment. and we need a real stage one.
>
> see https://wiki.mozilla.org/Services/Mobile-ID#
On the wiki it outlines a 'Real' stage and a 'Load' stage. Do we need both or should we just have one staging environment that looks like prod?
Flags: needinfo?(tarek)
Comment 32•11 years ago
|
||
We need both because when we do load testing we want to fake the sms gateway so we don't send thousands of real SMSs
Flags: needinfo?(tarek)
| Reporter | ||
Comment 33•11 years ago
|
||
Isn't the https://msisdn-dev.stage.mozaws.net/ server not enough for manual testing?
You need to log in
before you can comment on or make changes to this bug.
Description
•