This is a proposed solution for #2186114
I think creating a host without mentioning the storage pod or the datastore should not be permitted. Adding validation is one way to go but achieving that is extremely difficult. Adding an exception is a much simpler approach to it.
I'm open for any other ideas to approach this problem. Please feel free to share your thoughts on this.
cc: @shimshtein
A bit of context: currently the system does not allow empty storage field, and fails the creation of a VM with "Invalid path" error, which is not indicative at all.
This is a proposed solution for #2186114 I think creating a host without mentioning the storage pod or the datastore should not be permitted. Adding validation is one way to go but achieving that is extremely difficult. Adding an exception is a much simpler approach to it.
I'm open for any other ideas to approach this problem. Please feel free to share your thoughts on this. cc: @shimshtein