Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-1967

Update serverless testing for load balancer fronting single proxy

    • Needed
    • Hide

      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:

      • SERVERLESS_URI is the SRV URI to be used for all connections to the serverless instance. Drivers MUST still add the username and password when using this connection string.
      • SERVERLESS_INSTANCE_NAME is used by the delete-instance.sh script. Additionally, drivers MAY define SERVERLESS_INSTANCE_NAME before calling create-instance.sh if they do not want to use a randomly generated 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.

      Show
      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 : SERVERLESS_URI is the SRV URI to be used for all connections to the serverless instance. Drivers MUST still add the username and password when using this connection string. SERVERLESS_INSTANCE_NAME is used by the delete-instance.sh script. Additionally, drivers MAY define SERVERLESS_INSTANCE_NAME before calling create-instance.sh if they do not want to use a randomly generated 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.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4212 Backlog
      CXX-2408 Backlog
      CSHARP-3947 Fixed 2.16.0
      GODRIVER-2214 Done
      JAVA-4385 Fixed 4.6.1
      NODE-3735 Fixed 4.9.0
      PHPLIB-757 Fixed 1.13.0-beta1, 1.13.0
      PYTHON-2986 Fixed 3.13, 4.2
      MOTOR-851 Duplicate
      RUBY-2838 Fixed 2.18.0
      RUST-1090 Done
      SWIFT-1404 Done
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4212 Backlog CXX-2408 Backlog CSHARP-3947 Fixed 2.16.0 GODRIVER-2214 Done JAVA-4385 Fixed 4.6.1 NODE-3735 Fixed 4.9.0 PHPLIB-757 Fixed 1.13.0-beta1, 1.13.0 PYTHON-2986 Fixed 3.13, 4.2 MOTOR-851 Duplicate RUBY-2838 Fixed 2.18.0 RUST-1090 Done SWIFT-1404 Done

      Summary

      Serverless tests currently rely on two URIs to the same Serverless project:

      • MULTI_ATLASPROXY_SERVERLESS_URI points to a load balancer fronting multiple Atlas Proxy processes.
      • SINGLE_ATLASPROXY_SERVERLESS_URI points to a single Atlas Proxy process.

      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.

      Motivation

      Is 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

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: