Skip to content

New feature: Add retry option for VMs in Error state - #6062

Closed
nvazquez wants to merge 2 commits into
apache:mainfrom
shapeblue:addretryvmfeature
Closed

nvazquez wants to merge 2 commits into
apache:mainfrom
shapeblue:addretryvmfeature

Conversation

@nvazquez

@nvazquez nvazquez commented Mar 6, 2022

Copy link
Copy Markdown
Contributor

Description

This PR adds a retry API for VMs failed on Error state
Fixes: #5739

Screen Shot 2022-03-06 at 17 32 04

Screen Shot 2022-03-06 at 17 33 10

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

@nvazquez

nvazquez commented Mar 6, 2022

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2778

@weizhouapache

Copy link
Copy Markdown
Member

@nvazquez
is this still in progress or ready for review ?

@nvazquez

nvazquez commented Mar 21, 2022 •

Copy link
Copy Markdown
Contributor Author

@weizhouapache it is still in progress, moving it to the next milestone since I won't be able to work further on it for this release

@nvazquez nvazquez modified the milestones: 4.17.0.0, 4.18.0.0 Mar 21, 2022
public class RetryDeployVMCmd extends BaseAsyncCmd implements UserCmd {

private static final Logger LOG = Logger.getLogger(RetryDeployVMCmd.class);
public static final String APINAME = "retryDeployVirtualMachine";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@nvazquez Can we re-use the deployVirtualMachine/startVirtualMachine API, with retry parameter?

@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@DaanHoogland

Copy link
Copy Markdown
Contributor

@nvazquez you have a conflict

@DaanHoogland

Copy link
Copy Markdown
Contributor

@nvazquez can you assess this? will it be ready by the end of the year/month?

@nvazquez

Copy link
Copy Markdown
Contributor Author

@DaanHoogland sorry, won't be ready by that time, moving it to 4.19

@nvazquez nvazquez modified the milestones: 4.18.0.0, 4.19.0.0 Jan 12, 2023
@shwstppr

shwstppr commented Oct 3, 2023

Copy link
Copy Markdown
Contributor

@nvazquez can you please address the merge conflicts? Should we consider this for 4.19.0.0?

@DaanHoogland

Copy link
Copy Markdown
Contributor

@nvazquez moving this forward even further?

@DaanHoogland DaanHoogland modified the milestones: 4.19.0.0, 4.20.0.0 Oct 31, 2023
@DaanHoogland

Copy link
Copy Markdown
Contributor

or close if you wish @nvazquez

@sureshanaparti sureshanaparti moved this to In Progress in Apache CloudStack 4.21.0 Jun 5, 2025
@sureshanaparti

Copy link
Copy Markdown
Contributor

hi @nvazquez please fix the conflicts, is this still targeted for 4.21.0?

@nvazquez

Copy link
Copy Markdown
Contributor Author

Sorry @sureshanaparti closing this PR as it was a first attempt to fix the issue but needs rework

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to retry failed VM instance deployments

7 participants