Skip to content

Conversation

@olethanh
Copy link
Collaborator

@olethanh olethanh commented Feb 3, 2025

Add a script to manually list and remove volume linked to inactive VM. It fetches data from the scheduler and pyaleph main's node as to fetch information on the status of the VM. Then display them to the user to determine if they can be removed safely.

JIRA ticket ALEPH-37

This solution is a stop gap to run manualy till we have more confident in it and can automatically run it in the background

@codecov
Copy link

codecov bot commented Feb 3, 2025

Codecov Report

Attention: Patch coverage is 0% with 78 lines in your changes missing coverage. Please review.

Project coverage is 62.16%. Comparing base (cc47d58) to head (a105758).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/aleph/vm/garbage_collector.py 0.00% 78 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #746      +/-   ##
==========================================
- Coverage   62.90%   62.16%   -0.75%     
==========================================
  Files          74       75       +1     
  Lines        6540     6618      +78     
  Branches      541      554      +13     
==========================================
  Hits         4114     4114              
- Misses       2262     2340      +78     
  Partials      164      164              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Add a script to manually  list and remove volume linked to inactive VM.
It fetches data from the scheduler and pyaleph main's node as to fetch information on the status of the VM.
Then display them to the user to determine if they can be removed safely.

JIRA ticket ALEPH-37
@nesitor nesitor force-pushed the ol-ALEPH-37-garbage-collector branch from 8811bbd to a105758 Compare February 17, 2025 14:41
@nesitor nesitor merged commit 7c9392c into main Feb 17, 2025
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants