Skip to content

Fixes / Improvements around aws spot provisioning#566

Merged
adrianriobo merged 2 commits into
redhat-developer:mainfrom
adrianriobo:fix-563
Aug 13, 2025
Merged

Fixes / Improvements around aws spot provisioning#566
adrianriobo merged 2 commits into
redhat-developer:mainfrom
adrianriobo:fix-563

Conversation

@adrianriobo
Copy link
Copy Markdown
Collaborator

@adrianriobo adrianriobo commented Aug 7, 2025

Due to refactor on compute-request selector the value for nested virtualization was missing when filtering machines. Then even when the flag was used the type of machines returned are not taking it into consideration. This commit ensures the value is pass again in the filter.
Fixes #563
Fixes #567

@adrianriobo
Copy link
Copy Markdown
Collaborator Author

Ok...only took me 2 days ..read this right and undestand it was about AWS ...not Azure...this is a regression b/c of the heavy refactor I did in these modules.

^^@lilyLuLiu When the image for this PR is built can you test it? and add comment here?

Due to refactor on compute-request selector the value for nested virtualization was missing when filtering machines. Then even when the flag was used the type of machines returned are not taking it into consideration. This commit ensures the value is pass again in the filter. Fix redhat-developer#563.

Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
@adrianriobo
Copy link
Copy Markdown
Collaborator Author

adrianriobo commented Aug 7, 2025

@lilyLuLiu wait for testing this, I need to change something else, it is not working ATM. Will let you know

@adrianriobo adrianriobo changed the title fix: regression for machines supporting nested virtualization on AWS Fixes / Improvements around aws spot provisioning Aug 8, 2025
@adrianriobo
Copy link
Copy Markdown
Collaborator Author

@lilyLuLiu now it should be good to test (once the checks are finished you should be able to get the image from ghcr)

Copy link
Copy Markdown
Collaborator

@psturc psturc left a comment

Choose a reason for hiding this comment

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

lgtm, tested with kind-aws-provision tekton task

…pot module

Previously the instance types used while requesting spot instances for AWS were out of sync with values calculated on spot. This was causing lots of issues with discrepancy between types and prices on spot. This commit ensures the types are coming from calculated prices on spot. Fix redhat-developer#567.

Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
@psturc
Copy link
Copy Markdown
Collaborator

psturc commented Aug 11, 2025

verified the latest update 👍

@lilyLuLiu
Copy link
Copy Markdown
Collaborator

@adrianriobo I verified with the latest ghcr.io/redhat-developer/mapt:pr-566 image. issue #563 has been solved.

@adrianriobo
Copy link
Copy Markdown
Collaborator Author

@lilyLuLiu @psturc thanks

@adrianriobo adrianriobo merged commit 39292fb into redhat-developer:main Aug 13, 2025
7 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.

kind cluster on aws: after hitting SpotMaxPriceTooLow error the process ends with status 0 mapt v0.9.5 nested-virt parameter not working

3 participants