Please deploy kinto-dist 1.2 release to kinto-settings STAGE

VERIFIED FIXED

Status

Cloud Services
Operations: Deployment Requests
VERIFIED FIXED
a year ago
a year ago

People

(Reporter: natim, Assigned: phrawzty)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments)

(Reporter)

Description

a year ago
The first step of the transition plan is to deploy with this configuration changes: https://github.com/mozilla-services/puppet-config/pull/2373

The changelog can be found there:
 - https://github.com/mozilla-services/kinto-dist/releases/tag/1.0
(Assignee)

Comment 1

a year ago
Kinto-dist 1.0 has been deployed to Stage.

I now pass this ticket on to the gentle, qualified hands of QA. :)
Status: NEW → ASSIGNED
(Reporter)

Comment 2

a year ago
I forgot to activate the kinto_ldap plugin: https://github.com/mozilla-services/puppet-config/pull/2374
(Assignee)

Comment 3

a year ago
Redeployed and re-passed-along. :)
(Reporter)

Comment 4

a year ago
It seams that we need to configure a tunnel to access to ldap.prod.mozaws.net.
See https://mana.mozilla.org/wiki/display/SVCOPS/Connecting+to+Mozilla+LDAP+from+AWS#ConnectingtoMozillaLDAPfromAWS-TheCustomWay
(Assignee)

Comment 5

a year ago
It's been quite the adventure, but Kinto-dist 1.0 has been deployed to Stage Kinto-Writer, and LDAP integration appears to be functional.

Bob: Please deploy the *Reader* to make sure it works, too.  If yes, we can finally pass this along to QA with clean consciences. :)
Flags: needinfo?(bobm)
(In reply to Daniel Maher [:phrawzty] from comment #5)
> It's been quite the adventure, but Kinto-dist 1.0 has been deployed to Stage
> Kinto-Writer, and LDAP integration appears to be functional.
> 
> Bob: Please deploy the *Reader* to make sure it works, too.  If yes, we can
> finally pass this along to QA with clean consciences. :)

Deployed to stage.
Flags: needinfo?(bobm)
(Reporter)

Comment 7

a year ago
Thank you for that!
I confirm that ldap is correctly configured in the kinto-writer.

Now the next step is to activate the workflow.
I have created the following configuration pull-request: https://github.com/mozilla-services/puppet-config/pull/2385
(Reporter)

Comment 8

a year ago
Created attachment 8808718 [details] [review]
Link to Github PR — #2394.
Attachment #8808718 - Flags: review?(bobm)
Comment on attachment 8808718 [details] [review]
Link to Github PR — #2394.

r+
Attachment #8808718 - Flags: review?(bobm) → review+
Signature verification tests all passed:

(venv) ~/m/s/kinto (dev) $ py.test --env=stage -v config-check-test/
=========================================================================== test session starts ============================================================================
platform darwin -- Python 2.7.12, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /Users/chartjes/mozilla-services/services-test/kinto/venv/bin/python2.7
cachedir: config-check-test/.cache
rootdir: /Users/chartjes/mozilla-services/services-test/kinto/config-check-test, inifile:
plugins: testrail-0.0.9
collected 5 items

config-check-test/test_kinto_signer.py::test_addons_signatures PASSED
config-check-test/test_kinto_signer.py::test_plugins_signatures PASSED
config-check-test/test_kinto_signer.py::test_gfx_signatures PASSED
config-check-test/test_kinto_signer.py::test_certificates_signatures PASSED
config-check-test/test_kinto_signer.py::testrail <- ../venv/lib/python2.7/site-packages/pytest_testrail/plugin.py PASSED

Verified that certificates can be added and removed from the blocklist using both AMO on staging and Kinto admin on staging.

QA approved deploy of kinto-dist 1.0 to PRODUCTION
(Reporter)

Updated

a year ago
Blocks: 1316370
(Reporter)

Comment 11

a year ago
Created attachment 8809079 [details] [review]
Link to Github PR — #2397.

We realized the history plugin was not activated.
Attachment #8809079 - Flags: review?(bobm)
(Reporter)

Comment 12

a year ago
Comment on attachment 8809079 [details] [review]
Link to Github PR — #2397.

Merged by Bob in github.
Attachment #8809079 - Flags: review?(bobm) → review+
(Reporter)

Comment 13

a year ago
Created attachment 8809084 [details] [review]
Link to Github PR — #2398.
Attachment #8809084 - Flags: review?(bobm)
(Reporter)

Comment 14

a year ago
Comment on attachment 8809084 [details] [review]
Link to Github PR — #2398.

Reviewed and merged by Bobm in github.
Attachment #8809084 - Flags: review?(bobm) → review+
(Reporter)

Comment 15

a year ago
Created attachment 8809116 [details] [review]
Link to Github PR — #2399.
Attachment #8809116 - Flags: review?(bobm)
(Reporter)

Comment 16

a year ago
Comment on attachment 8809116 [details] [review]
Link to Github PR — #2399.

Reviewed and merged on Github.
Attachment #8809116 - Flags: review?(bobm) → review+
(Reporter)

Updated

a year ago
Summary: Please deploy kinto-dist 1.0 release to kinto-settings STAGE → Please deploy kinto-dist 1.1 release to kinto-settings STAGE
(venv) ~/m/s/kinto (master) $ py.test --env=stage -v config-check-test/
=========================================================================== test session starts ============================================================================
platform darwin -- Python 2.7.12, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /Users/chartjes/mozilla-services/services-test/kinto/venv/bin/python2.7
cachedir: config-check-test/.cache
rootdir: /Users/chartjes/mozilla-services/services-test/kinto/config-check-test, inifile:
plugins: testrail-0.0.9
collected 6 items

config-check-test/test_kinto_signer.py::test_addons_signatures PASSED
config-check-test/test_kinto_signer.py::test_plugins_signatures PASSED
config-check-test/test_kinto_signer.py::test_gfx_signatures PASSED
config-check-test/test_kinto_signer.py::test_certificates_signatures PASSED
config-check-test/test_kinto_signer.py::test_certificate_pinning_signatures PASSED
config-check-test/test_kinto_signer.py::testrail <- ../venv/lib/python2.7/site-packages/pytest_testrail/plugin.py PASSED

QA approves deploying kinto-dist 1.0 to kinto-settings PROD
Latest configurations of kinto-dist 1.1 have been deployed to the reader and writer stacks and promoted.
(venv) ~/m/s/kinto (master) $ py.test --env=stage -v config-check-test/
=========================================================================== test session starts ============================================================================
platform darwin -- Python 2.7.12, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /Users/chartjes/mozilla-services/services-test/kinto/venv/bin/python2.7
cachedir: config-check-test/.cache
rootdir: /Users/chartjes/mozilla-services/services-test/kinto/config-check-test, inifile:
plugins: testrail-0.0.9
collected 6 items

config-check-test/test_kinto_signer.py::test_addons_signatures PASSED
config-check-test/test_kinto_signer.py::test_plugins_signatures PASSED
config-check-test/test_kinto_signer.py::test_gfx_signatures PASSED
config-check-test/test_kinto_signer.py::test_certificates_signatures PASSED
config-check-test/test_kinto_signer.py::test_certificate_pinning_signatures PASSED
config-check-test/test_kinto_signer.py::testrail <- ../venv/lib/python2.7/site-packages/pytest_testrail/plugin.py PASSED

QA approves for deploy to production
(Reporter)

Comment 20

a year ago
We released kinto-dist 1.2 with some few more bug fixes: https://github.com/mozilla-services/kinto-dist/releases/tag/1.2
(Reporter)

Updated

a year ago
Summary: Please deploy kinto-dist 1.1 release to kinto-settings STAGE → Please deploy kinto-dist 1.2 release to kinto-settings STAGE
(Assignee)

Comment 21

a year ago
Kinto-dist 1.2 has been deployed to Stage
(Reporter)

Updated

a year ago
Status: ASSIGNED → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Call to version end point confirms correct version deployed to both normal and writer instances:

https://kinto.stage.mozaws.net/v1/__version__
{"source":"https://github.com/Kinto/kinto-dist","version":"1.2","name":"kinto-dist","commit":"ed67fb97e82048f5eadf3d03a073b9c5db377cc1"}

https://kinto-write.stage.mozaws.net/v1/__version__
{"source":"https://github.com/Kinto/kinto-dist","version":"1.2","name":"kinto-dist","commit":"ed67fb97e82048f5eadf3d03a073b9c5db377cc1"}

Configuration check tests all pass:

(venv)chartjes@DESKTOP-RQ5F9IJ:/mnt/c/Users/Microsoft/mozilla-services/services-test/kinto$ py.test --env=stage -v config-check-test/                        
==================================================================== test session starts ====================================================================
platform linux2 -- Python 2.7.6, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /mnt/c/Users/Microsoft/mozilla-services/services-test/kinto/venv/bin/python        
cachedir: config-check-test/.cache                                                                                                                           
rootdir: /mnt/c/Users/Microsoft/mozilla-services/services-test/kinto/config-check-test, inifile:                                                             
plugins: testrail-0.0.10                                                                                                                                     
collected 6 items                                                                                                                                            
                                                                                                                                                             
config-check-test/test_kinto_signer.py::test_addons_signatures PASSED                                                                                        
config-check-test/test_kinto_signer.py::test_plugins_signatures PASSED                                                                                       
config-check-test/test_kinto_signer.py::test_gfx_signatures PASSED                                                                                           
config-check-test/test_kinto_signer.py::test_certificates_signatures PASSED                                                                                  
config-check-test/test_kinto_signer.py::test_signatures_after_modifying_collection PASSED                                                                    
config-check-test/test_kinto_signer.py::testrail <- ../venv/local/lib/python2.7/site-packages/pytest_testrail/plugin.py PASSED

QA approves deployment of kinto-dist 1.2 to production.
(Reporter)

Updated

a year ago
Status: RESOLVED → VERIFIED
(Reporter)

Updated

a year ago
Blocks: 1317744
You need to log in before you can comment on or make changes to this bug.