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

[FSunstone] Examine allowed VM action states #6830

Open
3 tasks
vichansson opened this issue Dec 18, 2024 · 0 comments
Open
3 tasks

[FSunstone] Examine allowed VM action states #6830

vichansson opened this issue Dec 18, 2024 · 0 comments

Comments

@vichansson
Copy link
Contributor

Description

Currently the VM terminate action is disabled for KVM VM's in the POWEROFF state. This should be enabled.

All VM actions should be restricted based on the state of the VM. These actions are driver-specific, and should be evaluated on a per-hypervisor basis. For reference, the following state diagram can be used: https://docs.opennebula.io/6.10/integration_and_development/references/vm_states.html#vm-states

The current implementation for actions and their respective allowed states can be found at: https://github.com/OpenNebula/one/blob/master/src/fireedge/src/client/constants/vm.js

To Reproduce

  1. Instantiate any KVM VM
  2. Trigger poweroff action
  3. Attempt to terminate it normally

Expected behavior

Sunstone should allow you to terminate a KVM VM in the POWEROFF state

Details

  • Affected Component: [Sunstone]
  • Hypervisor: [KVM, all needs to be reviewed]
  • Version: [6.10, development]

Additional context
Add any other context about the problem here.

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant