You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy Shared FileSystem loops through a shuffled list of supported hypervisors to find the systemVM template.
If one of the hypervisors (like External) don't have the systemVM template, instead of continuing to other hypervisors, it tries to access tempalte.getId() and throws NPE.
It only happens when the External hypervisor is present before any valid (KVM, VMware) hypervisor in the shuffled list. So this issue is intermittent.
versions
4.22.0
The steps to reproduce the bug
Add an external hypervisor like Proxmox/Maas/HyperV
Create a Shared FileSystem
It errors out with NPE intermittently
...
What to do about it?
SharedFS should only loop through supported Hypervisors (KVM, VMware and XenServer).
And if the template is not found, instead of throwing NPE it should continue to the next hypervisor in the list.
Activity
RosiKyu commentedon Sep 11, 2026
Fixed with: #13930