cloudstack
cloudstack copied to clipboard
[UI] Zone wizard fails on adding datastore cluster as primary storage
ISSUE TYPE
- Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.17, 4.18, main
OS / ENVIRONMENT
Vmware env, Datastore cluster primary storage
SUMMARY
The Zone wizard fails at the primary storage adding step when creating a zone. As a workaround the primary storage can be added manually without any issues.
STEPS TO REPRODUCE
- Create zone in the UI
- Select a datastore cluster as primary storage
EXPECTED RESULTS
Zone added successfully
ACTUAL RESULTS
Zone creation fails at datastore cluster addition, with error:
2024-01-18 10:11:26,296 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-183:ctx-3eb3d0b3 hypervisor1.hyperv.dub, cmd: ListDataStoreObjectsCommand) (logid:d2ce3d0d) Failed to list files at path [] due to: [].
2024-01-18 10:11:26,298 ERROR [c.c.a.ApiServer] (qtp1970436060-12103:ctx-af97a8df ctx-b6f7cfd4) (logid:d2ce3d0d) unhandled exception executing api command: [Ljava.lang.String;@2a6f93d
com.cloud.utils.exception.CloudRuntimeException: Failed to list datastore objects