Skip to content

Invalid local primary storage can be created #9536

@rajujith

Description

@rajujith
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI, API, Local storage,KVM
CLOUDSTACK VERSION
4.19.1
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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions