Closed Bug 1102207 Opened 11 years ago Closed 11 years ago

Disable Mobile Originated endpoint in production

Categories

(Cloud Services :: Operations: Miscellaneous, task, P1)

x86_64
Linux
task

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
Rémy, when do you think this issue will be handled?
Flags: needinfo?(rhubscher)
Probably with next release with was due by QA for today.
Flags: needinfo?(rhubscher)
Rémy, any news about this?
Flags: needinfo?(rhubscher)
This is getting quite urgent, Dean can you give us a status today ? thx
Flags: needinfo?(rhubscher) → needinfo?(dwilson)
Priority: -- → P1
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)
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?
> 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)
Flags: needinfo?(tarek)
LGTM
Flags: needinfo?(tarek)
I'll make the change to staging now. I can also confirm we're running 0.5.1.
Thanks a lot Dean
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.
(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.
Flags: needinfo?(rpappalardo)
OK, who needs to agree that this can be promoted to prod? And can it wait until everyone is back on Monday?
(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)
I just changed the configuration of the dev server. Let us know if that's better. Thanks
Flags: needinfo?(tarek)
Yes, it's working as expected, be free to push it to Production and thanks a lot to all of you!
Thanks for checking. Dean, can you push that to prod? Thanks!
Flags: needinfo?(dwilson)
This is scheduled to go to prod in the next hour or two. I'll update the ticket once it's done.
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)
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)
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)
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)
Well, from what I see it seems that it worked okay. Why do you say it's not working ?
Flags: needinfo?(alexis+bugs)
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?
Flags: needinfo?(alexis+bugs)
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)
> 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)
Dean, can you switch the DNS over?
Flags: needinfo?(dwilson)
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.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Flags: needinfo?(dwilson)
(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)
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)
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.