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

Check resource vm extension for windows on azure #208

Closed
adrianriobo opened this issue May 14, 2024 · 0 comments
Closed

Check resource vm extension for windows on azure #208

adrianriobo opened this issue May 14, 2024 · 0 comments
Labels

Comments

@adrianriobo
Copy link
Collaborator

We are spinning instances as spot, what is happening is from time to time those instances are dellocated as so they appear as stopped and when the destroy action take place it ends up failing due to:

{"level":"error","msg":"failed to destroy stack: exit status 255\ncode: 255\nstdout: Destroying (stackCreateWindowsDesktop-windows-desktop-10-22h2-ent-e2e-openshift):\n\n -  command:remote:Command awd-cmd deleting (0s) \n@ destroying....\n -  command:remote:Command awd-cmd deleted (1s) \n@ destroying....\n -  azure-native:compute:VirtualMachineExtension awd-ext deleting (0s) \n@ destroying......\n -  azure-native:compute:VirtualMachineExtension awd-ext deleting (3s) error: autorest/azure: Service returned an error. Status=\u003cnil\u003e Code=\"OperationNotAllowed\" Message=\"Cannot modify extensions in the VM when the VM is not running.\"\n -  azure-native:compute:VirtualMachineExtension awd-ext **deleting failed** error: autorest/azure: Service returned an error. Status=\u003cnil\u003e Code=\"OperationNotAllowed\" Message=\"Cannot modify extensions in the VM when the VM is not running.\

We need to do not destroy the extension on destoy (as it does not have a resource on azure). Check if this is true

@adrianriobo adrianriobo changed the title Check resourcevm extension for windows on azure Check resource vm extension for windows on azure May 14, 2024
adrianriobo added a commit that referenced this issue Jun 4, 2024
… destroy operations when instance is stopped. Fix #208

Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
adrianriobo added a commit that referenced this issue Jun 4, 2024
… destroy operations when instance is stopped. Fix #208

Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
adrianriobo added a commit that referenced this issue Jun 4, 2024
… destroy operations when instance is stopped. Fix #208

Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
adrianriobo added a commit that referenced this issue Jun 4, 2024
… destroy operations when instance is stopped. Fix #208

Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant