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 initiate new VM with Placement sets BAD HOST_ID and HYPERVISOR #6834

Open
3 tasks
KenM603 opened this issue Dec 20, 2024 · 0 comments
Open
3 tasks

Comments

@KenM603
Copy link

KenM603 commented Dec 20, 2024

Description
Sunstone Interface for launching a new VM and selection a cluster or Host Placement sets two bad variables in "Host requirements expression".

Selecting a Cluster gives: (HYPERVISOR=undefined)
Selecting a Host gives: (HYPERVISOR=undefined) & (HOST_ID = 20)

HYPERVISOR=undefined is somewhat obvious and most user figure out to change that to "KVM" for example.
However HOST_ID will cost you a few days of confusion. It needs to be ID. Only that will work.

To Reproduce
Launch a VM and attempt to select a particular host to force it to be scheduled on that host.

Expected behavior
I expect the UI to set "Host requirements expression" properly for selected Host or cluster's HYPERVISOR type and ID variable should be correct.

In below screen shot, UI should automatically set the proper values of "(HYPERVISOR=kvm) & (ID = 20)"

Details

  • Affected Component: [Sunstone]
  • Hypervisor: [KVM]
  • Version: [6.10.0]

Additional context

While this is easy to fix once you know about the issue. The HOST_ID bug has cost multiple user and even Community support Champion HOURS/DAYS of debug time pulling out their hair. See this Post which is also linked to two other User posts.
https://forum.opennebula.io/t/onprem-cannot-schedule-vm-there-is-no-suitable-host/13209/6

image

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