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

Use infrastructure_provisioning.sh and infrastructure_teardown.sh

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.15, 3.4.6, 3.5.9
    • Affects Version/s: None
    • Component/s: Performance
    • None
    • Fully Compatible
    • v3.4, v3.2
    • Performance Kanban

      • Use infrastructure_provisioning.sh instead of setup_cluster.sh.
      • The code to save and reuse terraform.tfstate in /data/infrastructure_provisioning/ goes into infrastructure_provisioning.sh. (From there, the good old setup_cluster.sh is called too.)
      • Rename destroy_cluster.sh to infrastructure_teardown.sh
      • In etc/longevity.yml, this introduces the saving of terraform.tfstate under /data/infrastructure_provisioning/. However, we still call infrastructure_teardown.sh at the end. The distro used in mongo-longevity doesn't currently specify a teardown hook, so there's nobody there to actually use the data from /data/infrastructure_provisioning/.

            Assignee:
            henrik.ingo@mongodb.com Henrik Ingo (Inactive)
            Reporter:
            henrik.ingo@mongodb.com Henrik Ingo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: