[DRIVERS-2745] Astrolabe - Clusters are failing to start Created: 06/Oct/23  Updated: 28/Oct/23  Resolved: 18/Oct/23

Status: Closed
Project: Drivers
Component/s: Astrolabe
Fix Version/s: None

Type: Bug Priority: Unknown
Reporter: Steve Silvester Assignee: Steve Silvester
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Driver Changes: Not Needed

 Description   

In order to solve DRIVERS-2715, we ensured that clusters were deleted at the end of each run. However, this led to projects remaining open, and our project limit being exceeded.

In DRIVERS-2734, we also ensured that projects were deleted at the end of each run by handling the CANNOT_CLOSE_GROUP_ACTIVE_ATLAS_CLUSTERS status and waiting until the cluster is deleted. However, this resulted in clusters failing to start before the one hour limit, and also led to projects being left open.

I believe what we need to do is reap all of the projects at once as a separate job, that depends on all the other jobs:

astrolabevenv/${PYTHON_BIN_DIR}/astrolabe projects \
            delete-all --org-id=${atlas_organization_id}



 Comments   
Comment by Githook User [ 19/Oct/23 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: DRIVERS-2745 Fix clean_old_projects (#183)

  • fix config
Comment by Githook User [ 18/Oct/23 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: DRIVERS-2745 Handle variable expansions (#181)
Branch: master
https://github.com/mongodb-labs/drivers-atlas-testing/commit/98dc313fa65d8268484f3aa09f9b2c43e11df484

Comment by Githook User [ 18/Oct/23 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: DRIVERS-2645 Use clean_old_projects to delete projects (#180)

This reverts commit f4992f7d43261cd8cf74be613e5035ac5c8ab848.

  • rely on clean_old_projects
Comment by Githook User [ 07/Oct/23 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: DRIVERS-2745 Revert changes from DRIVERS-2715 and DRIVERS-2734 (#178)

  • Revert "Merge pull request #177 from blink1073/DRIVERS-2715-3"

This reverts commit b6c260d6dc0e7d4a1edf22f606933ff6edc154b9, reversing
changes made to 2fcbfaa0ed7ceec4f3e37862518a3af5386a119e.

  • Revert "Merge pull request #176 from blink1073/DRIVERS-2715-2"

This reverts commit 2fcbfaa0ed7ceec4f3e37862518a3af5386a119e, reversing
changes made to fca5526934ffbc67d485b8ec0960e843b85db9d8.

  • Revert "Merge pull request #175 from blink1073/DRIVERS-2715"

This reverts commit 4ca95220a5650620d2eb59a50ad369fe2920bcca, reversing
changes made to 1d3982375c248e750e36b084e820450edf262cf2.
Branch: master
https://github.com/mongodb-labs/drivers-atlas-testing/commit/f4992f7d43261cd8cf74be613e5035ac5c8ab848

Generated at Thu Feb 08 08:26:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.