ISSUE TYPE
COMPONENT NAME
UI, API, Local storage,KVM
CLOUDSTACK VERSION
CONFIGURATION
Cloudstack 4.19.1
KVM Rocky8
OS / ENVIRONMENT
SUMMARY
Cloudstack allows adding an invalid local primary storage on KVM. It throws an error that the path is invalid i.e the directory does not exist but the primary storage is added.
STEPS TO REPRODUCE
1. Enable the 'Enable local storage for User Instances' on the zone
2. Add primary storage using UI with scope 'host' and protocol 'filesystem'.
3. Input a path that is not present in the KVM host
4. Add primary storage
EXPECTED RESULTS
The primary storage doesn't get added.
ACTUAL RESULTS
The primary storage gets added.
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
Cloudstack 4.19.1
KVM Rocky8
OS / ENVIRONMENT
SUMMARY
Cloudstack allows adding an invalid local primary storage on KVM. It throws an error that the path is invalid i.e the directory does not exist but the primary storage is added.
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS