Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30770

system_perf.yml: Use new DSI interface and cleanup

    • Major Change
    • ALL
    • v3.6, v3.4, v3.2
    • Performance 2017-11-13, Performance 2017-11-27

      Following recent changes on DSI side, we should clean up system_perf.yml AND longevity.yml to use the new executable names and options.

      In the "prepare environment" part:

      • move mongodb_binary_archive from runtime.yml to bootstrap.yml
      • remove --production cli option from bootstrap.py
      • continue to call setup-dsi-env.sh as now

      In the later sections, we should now be able to significantly shorten the whole file. It should end up roughly like this:

        "deploy cluster":
          - command: shell.exec
            params:
              working_dir: work
              script: |
                set -e
                set -v
                source ./dsienv.sh
                source ./venv/bin/activate
                # This will either create a cluster, or update tags on existing instances.
                infrastructure_provisioning.py
                mongodb_setup.py
      
      
        "run test":
          - command: shell.exec
            type : test
            params:
              working_dir: work
              script: |
                set -e
                set -v
                source ./dsienv.sh
                source ./venv/bin/activate
                test_control.py
      

      Note that this should probably move to the post: section

          - command: "json.send"
            params:
               name: "perf"
               file: "work/perf.json"
      

      The analysis section is unaffected for now.

      Finally, change "initialSync" to "initialsync" everywhere.

            Assignee:
            vick.mena Vick Mena (Inactive)
            Reporter:
            henrik.ingo@mongodb.com Henrik Ingo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: