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

Fix migration reservation deletion on internal cancellations #339

Merged

Conversation

Dany9966
Copy link
Contributor

@Dany9966 Dany9966 commented Sep 5, 2024

This patch makes sure that the migration reservation deletion is done on any migration task cancellation. Prior to this, internal cancellations (i.e. KeyboardInterrupt signals) that were raised internally did not result in a migration reservation deletion, leaving said cancelled migration licences as consumed. The reservation deletion was moved in the cancellation confirmation operation on conductor side, so all cancellation signals will be included in making sure the cancelled migration licence will be reverted.

This patch makes sure that the migration reservation deletion is done on any
migration task cancellation. Prior to this, internal cancellations (i.e.
KeyboardInterrupt signals) that were raised internally did not result in a
migration reservation deletion, leaving said cancelled migration licences as
consumed. The reservation deletion was moved in the cancellation confirmation
operation on conductor side, so all cancellation signals will be included in
making sure the cancelled migration licence will be reverted.
@Dany9966 Dany9966 force-pushed the migration-cancellation-licence-fix branch from 3e49932 to e8d6fcc Compare September 5, 2024 16:48
@Dany9966 Dany9966 merged commit bb45028 into cloudbase:master Sep 5, 2024
4 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.

1 participant