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

Sunstone allows setting Physical CPU (%) above 100% when creating VM templates #6867

Open
killerlux opened this issue Jan 24, 2025 · 0 comments

Comments

@killerlux
Copy link

Description

When creating a VM template in Sunstone, it is possible to input a value greater than 100% in the Physical CPU (%) field. This is illogical and could lead to resource misconfigurations.

To Reproduce

Steps to reproduce the behavior:

  1. Open the Sunstone interface.
  2. Create or edit a VM template.
  3. Enter a value greater than 100 in the Physical CPU (%) field.
  4. Save the template and observe that the system accepts the value without any validation error.

Expected behavior

The system should validate input for the Physical CPU (%) field and restrict it to a range between 0 and 100. If a value outside this range is entered, the system should reject it with an appropriate error message.

Details

  • Affected Component: Sunstone
  • Hypervisor: KVM 6.10
  • Version: [Provide the version you are using, e.g., 6.10 or latest development build]

Additional context

Allowing values above 100% may cause unexpected behavior in CPU resource allocation, which is inconsistent with logical usage scenarios. Proper validation should be implemented to prevent such inputs.

Image

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