Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Autoscaling: issues with labelled drained nodes #5348

Merged

Conversation

sanderegg
Copy link
Member

@sanderegg sanderegg commented Feb 19, 2024

What do these changes do?

#5340 introduced a big change on how nodes are treated.
A few issues were found that this PR should fix:

  • terminating node was relying on the docker node UpdatedAt field which is not changed anymore the same way as when the node was drained/activated via docker facilities
  • the label for osparc readyness was changed to follow inverse URL notations

NOTE: these changes are compatible with both modes.

Related issue/s

How to test

Dev Checklist

DevOps Checklist

@sanderegg sanderegg added the a:autoscaling autoscaling service in simcore's stack label Feb 19, 2024
@sanderegg sanderegg added this to the Schoggilebe milestone Feb 19, 2024
@sanderegg sanderegg self-assigned this Feb 19, 2024
@sanderegg sanderegg marked this pull request as ready for review February 19, 2024 17:15
@sanderegg sanderegg requested a review from pcrespov as a code owner February 19, 2024 17:15
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (68b681c) 87.3% compared to head (9483e54) 66.5%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5348      +/-   ##
=========================================
- Coverage    87.3%   66.5%   -20.8%     
=========================================
  Files        1321     568     -753     
  Lines       54167   28630   -25537     
  Branches     1172     202     -970     
=========================================
- Hits        47310   19057   -28253     
- Misses       6607    9523    +2916     
+ Partials      250      50     -200     
Flag Coverage Δ
integrationtests 65.0% <ø> (-0.1%) ⬇️
unittests 95.6% <100.0%> (+10.4%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...rc/simcore_service_autoscaling/core/application.py 97.8% <100.0%> (+0.2%) ⬆️
...e_service_autoscaling/modules/auto_scaling_core.py 94.3% <100.0%> (+<0.1%) ⬆️
.../simcore_service_autoscaling/utils/utils_docker.py 99.1% <100.0%> (+<0.1%) ⬆️

... and 1086 files with indirect coverage changes

Copy link
Member

@pcrespov pcrespov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx!

Copy link
Contributor

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks 💯

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@sanderegg sanderegg merged commit dc2a98b into ITISFoundation:master Feb 20, 2024
55 checks passed
@sanderegg sanderegg deleted the bugfix/autoscaling/drained-issues branch February 20, 2024 07:17
jsaq007 pushed a commit to jsaq007/osparc-simcore that referenced this pull request Feb 20, 2024
jsaq007 pushed a commit to jsaq007/osparc-simcore that referenced this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:autoscaling autoscaling service in simcore's stack
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants