Opennebula datastore/network loses attachment to its cluster while trying to allocate VM
Description While calling one.vm.allocate, the request fails due to errors
opennebula.opennebula.ONEException: (8192, '[one.vm.allocate] Missing clusters. Datastore for DISK 0 is not in any cluster')
opennebula.opennebula.ONEException: (8192, '[one.vm.allocate] Missing clusters. Network for NIC 0 is not in any cluster')
The allocation will succeed after retry.
To Reproduce Do multiple request one.vm.allocate with same parameters in short period of time.
Expected behavior After allocating VM, a clone is created and is accessible via Opennebula
Details
- Affected Component: Scheduler
- Hypervisor: KVM
- Version: 5.4.13
Additional context Add any other context about the problem here.
Progress Status
- [ ] Branch created
- [ ] Code committed to development branch
- [ ] Testing - QA
- [ ] Documentation
- [ ] Release notes - resolved issues, compatibility, known issues
- [ ] Code committed to upstream release/hotfix branches
- [ ] Documentation committed to upstream release/hotfix branches
Thanks for the information, we will check it.
Downstream bug report: https://bugreports.qt.io/browse/QTQAINFRA-1545
We've already fix the bug. The fix will be released with OpenNebula 5.8
Thanks!
Closing, this should be fixed in 5.8