[DRIVERS-1967] Update serverless testing for load balancer fronting single proxy Created: 29/Oct/21 Updated: 01/Sep/23 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | Serverless |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Jeremy Mikola |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | evg-config, size-small, test-runner | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Epic Link: | Run Test Suites Against Serverless in Evergreen | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Quarter: | FY22Q2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | Evergreen scripts for serverless provisioning have been updated in mongodb-labs/drivers-evergreen-tools@577c905. The serverless-expansion.yml file generated by create-serverless.sh now has only two relevant expansions: SERVERLESS_URI and SERVERLESS_INSTANCE_NAME:
Drivers MUST update the Evergreen environment variables specified in the Atlas Serverless credentials Google Doc. Drivers that have previously implemented DRIVERS-1375 will note that only the SERVERLESS_DRIVERS_GROUP variable has changed. It now points to a new Atlas project, which is configured to provision serverless instances where the load balancer is backed by a single proxy. Revised guidelines for handling useMultipleMongoses in legacy and unified test runners are discussed in mongodb/specifications@1b471f1. To summarize, since the URI now points to a load balancer backing a single serverless proxy, useMultipleMongoses is ignored when testing against Atlas Serverless. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
SummaryServerless tests currently rely on two URIs to the same Serverless project:
After CLOUDP-100715, it will no longer be possible to directly connect to an Atlas Proxy. The proposed plan in CLOUDP-100717 is to enable projects for testing with a load balancer fronting one Atlas Proxy. But it will not be possible to have both URIs to the same Serverless project. Decide on a new strategy for testing Serverless, and update Serverless tests. MotivationIs this issue urgent?Yes. CLOUDP-100715 is planned to start soon and estimated to complete within 6 weeks. Is this ticket only for tests?Yes |
| Comments |
| Comment by Githook User [ 07/Jul/22 ] |
|
Author: {'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}Message: DRIVERS-1967 Fix changelog date (#1271) |
| Comment by Githook User [ 26/Apr/22 ] |
|
Author: {'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}Message: DRIVERS-1967: Serverless testing uses load balancer fronting single proxy (#1186) Copies clarifications to legacy test formats |
| Comment by Githook User [ 26/Apr/22 ] |
|
Author: {'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}Message: DRIVERS-1967: Serverless testing uses load balancer fronting single proxy (#194) Updates serverless scripts to use a multi-tenant MongoDB (MTM) deployment with the SINGLE_TARGET_SERVERLESS_DEPLOYMENT feature flag enabled (CLOUDP-117288). This simplifies much of the original logic since there is now only a single SRV URI. For BC, create-instance.sh still outputs all of the original expansions. Those can be cleaned up at a later date after all downstream drivers migrate to the new expansions. The create-instance.sh script was also updated to solicit an explicit instance name (e.g. generated within the Evergreen config). |
| Comment by Jeremy Mikola [ 20/Apr/22 ] |
|
Spec and Evergreen tools PRs: |