Closed Bug 1166313 Opened 9 years ago Closed 9 years ago

Please deploy release 0.6.0 to msisdn-gateway PRODUCTION

Categories

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

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rpapa, Unassigned)

References

Details

This deployment includes a heartbeat fix (see Release notes) and config changes.

CONFIG CHANGES:

- numerous internal changes from an infrastructure perspective 
- significant build pipeline changes
- datadog agent has been added to the build.
- updated the AMI (and so all the base OS packages).
- now use the Amazon provided SSL policies.
- Version information is exposed at the stack, ASG and instance level.

------------------
RELEASE NOTES
------------------
https://github.com/mozilla-services/msisdn-gateway/releases

COMPARISONS
https://github.com/mozilla-services/msisdn-gateway/compare/0.4.5...0.5.0
https://github.com/mozilla-services/msisdn-gateway/compare/0.5.0...0.5.1
https://github.com/mozilla-services/msisdn-gateway/compare/0.5.1...0.6.0

TAGS
https://github.com/mozilla-services/msisdn-gateway/releases/tag/0.6.0
https://github.com/mozilla-services/msisdn-gateway/commit/ada23f91f65091cfeefaed05257f50d84a79347c

CHANGELOG
0.6.0 (2015-05-15)
------------------

- [bug 1164404] - The heartbeat didn't detect the readonly redis cluster.
Depends on: 1165985
QA Contact: rpappalardo
This has been deployed to

https://msisdnprod2-ms-elb-17h5duulch9dx-1392029745.us-west-2.elb.amazonaws.com/

Let me know when you want dns promoted.
Looks good. Please switch DNS whenever you're ready.

------------------
SUMMARY (ELB PRE-DNS-SWITCH)
------------------

ELB verified using msisdn-cli tool:
https://github.com/mozilla-services/msisdn-cli
Received verification code successfully x3

setting:
/etc/hosts:
<ELB IP ADDR>  msisdn.services.mozilla.com

------------------
PROD VALIDATION (ELB PRE-DNS-SWITCH)
------------------

https://msisdn.services.mozilla.com:
{
  "name": "mozilla-msisdn-gateway",
  "description": "The Mozilla MSISDN Gateway",
  "version": "0.6.0",
  "homepage": "https://github.com/mozilla-services/msisdn-gateway/",
  "endpoint": "https://msisdn.services.mozilla.com"
}


https://msisdn.services.mozilla.com/__heartbeat__:
{
  "storage": true
}


$ curl -I https://msisdn.services.mozilla.com
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Content-Length: 208
Content-Type: application/json; charset=utf-8
Date: Tue, 19 May 2015 16:30:12 GMT
ETag: W/"d0-ee67301c"
Timestamp: 1432053012
Connection: keep-alive


------------------
E2E TEST (ELB PRE-DNS-SWITCH)
------------------

$ msisdn-cli --host=https://msisdn.services.mozilla.com  -c 315 -n +1<DEVICE PHONE NUMBER>
Please enter the code that you will get by SMS from +12182967993:  104835

Verified: {
  "exp": 1432139339930, 
  "iat": 1432052929930, 
  "iss": "msisdn.services.mozilla.com", 
  "lastAuthAt": 1432052939930, 
  "lastVerifiedAt": 1432052939793, 
  "principal": {
    "email": "92663fd3-66c4-d56d-b496-50b533f7425a@msisdn.services.mozilla.com"
  }, 
  "pubkey": "<stripped>", 
  "public-key": "<stripped>", 
  "publicKey": "<stripped>", 
  "verifiedMSISDN": "+1<DEVICE PHONE NUMBER>"
}
BEFORE DNS-SWITCH

msisdn.r53-2.services.mozilla.com. 56 IN A      54.191.220.138
msisdn.r53-2.services.mozilla.com. 56 IN A      54.68.181.231

;; Query time: 28 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue May 19 11:20:17 2015
;; MSG SIZE  rcvd: 104

AFTER DNS-SWITCH

msisdn.r53-2.services.mozilla.com. 59 IN A      54.187.157.136
msisdn.r53-2.services.mozilla.com. 59 IN A      52.24.14.38

;; Query time: 190 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue May 19 11:29:56 2015
;; MSG SIZE  rcvd: 104
------------------
SUMMARY 
------------------

PROD deployment verified after DNS switch using msisdn-cli tool:
https://github.com/mozilla-services/msisdn-cli
Received verification code successfully x10

Verifying this release.


------------------
PROD VALIDATION
------------------

https://msisdn.services.mozilla.com:
{
  "name": "mozilla-msisdn-gateway",
  "description": "The Mozilla MSISDN Gateway",
  "version": "0.6.0",
  "homepage": "https://github.com/mozilla-services/msisdn-gateway/",
  "endpoint": "https://msisdn.services.mozilla.com"
}


https://msisdn.services.mozilla.com/__heartbeat__:
{
  "storage": true
}


$ curl -I https://msisdn.services.mozilla.com
HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Content-Length: 208
Content-Type: application/json; charset=utf-8
Date: Tue, 19 May 2015 19:10:03 GMT
ETag: W/"d0-ee67301c"
Timestamp: 1432062603
Connection: keep-alive

------------------
E2E TEST
------------------

(see above) - verified using msisdn-cli tool - x10 - PASS
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.