Closed Bug 1112686 Opened 10 years ago Closed 9 years ago

Please create a "real" staging env for MSISDN-gateway

Categories

(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rpapa, Assigned: dwilson)

Details

Please create an additional 'Real' staging environment using the NEXMO SMS gateway.    We currently have a staging environment for MSISDN-gateway that uses the 'OMXEN' (fake) SMS gateway.  This allows us to do load-testing without accumulating the charges that real SMS messages would accrue.  We also, however, need one that looks like production so we can do manual (end-to-end) testing against a real SMS gateway before deploying to prod.

see: https://bugzilla.mozilla.org/show_bug.cgi?id=1102207#c31
see: https://wiki.mozilla.org/Services/Mobile-ID#Real-Stage
Assignee: nobody → dwilson
What configuration does a "real" environment need that's different to the omxen one? Will this also be a permanent thing as if so we'll have to buy reserves for it too.
Flags: needinfo?(rpappalardo)
So, what we want to have here is a way to send real messages using the nexmo provider, rather than using our fake server, for stage.

So, no more omxen for this staging env.
(In reply to Dean Wilson (:deanw) from comment #1)
> What configuration does a "real" environment need that's different to the
> omxen one? Will this also be a permanent thing as if so we'll have to buy
> reserves for it too.

Dean, did Alexis answer your question or do you need further info to proceed?
Flags: needinfo?(rpappalardo) → needinfo?(dwilson)
For now we were using the dev server for this. Note that even if we have a staging environment used to send message with Nexmo and BeepSend we will not be able to loadtest it. Because we don't have a way to automate the sms reception just yet. (Actually I've just got an idea of how we could do that but it will cost us money)

If you want to do this new environment note that we will need to buy new numbers for it and that it will cost us money.

Usually what we were doing with MSISDN is: Developping then testing on msisdn.dev.mozaws.net the loadtesting in stagging then going to production.
Remy is about to create the numbers and ping dean when it's ready.
Assignee: dwilson → rhubscher
Ok I have bought the following US number: +12312663587 and French number: +33644630221

So we can both try the MT and MOMT flows.

The configuration for this specific stage isoprod would be:

msisdn_gateway::app::config::hash:
    mtSenderMapping:
        "208": "+33644630221"
        "308": "+33644630221"
        "340": "+33644630221"
        "543": "+33644630221"
        "546": "+33644630221"
        "547": "+33644630221"
        "647": "+33644630221"
        "742": "+33644630221"
        "302": "+12312663587"
        "310": "+12312663587"
        "311": "+12312663587"
        "312": "+12312663587"
        "313": "+12312663587"
        "314": "+12312663587"
        "315": "+12312663587"
        "316": "+12312663587"
        "332": "+12312663587"
        "544": "+12312663587"
Assignee: rhubscher → dwilson
QA Contact: rpappalardo
Is this 'mtSenderMapping' a new setting for stage as we currently only have these settings defined, and deployed, in production. 

Shall we talk about this in Wednesdays ops meeting and then raise tickets once everyone's on the same page?
Flags: needinfo?(dwilson)
(In reply to Dean Wilson (:deanw) from comment #7)
> Is this 'mtSenderMapping' a new setting for stage as we currently only have
> these settings defined, and deployed, in production. 

Yes

> Shall we talk about this in Wednesdays ops meeting and then raise tickets
> once everyone's on the same page?

We can but I think we all are on the same page. What's puzzle you?
https://msisdn-isoprod.stage.mozaws.net/ should be working now. Now it's under the watchful eye of rpapa.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(rpappalardo)
Resolution: --- → FIXED
Looks good -
Thanks, Dean!

verified w/ 0.5.1 re-deploy:
https://bugzilla.mozilla.org/show_bug.cgi?id=1100296#c13
Status: RESOLVED → VERIFIED
Flags: needinfo?(rpappalardo)
You need to log in before you can comment on or make changes to this bug.