You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you create a VM with a storage container attached as disk and fail to provide a size for it, it initially succeeds (HTTP 202) but eventually fails (HTTP 500 from task list). The HTTP 500 is very vague and took me some time to figure out where it was happening by modifying entity._fetch_url to get at what was being sent to Prism Central's API
Stack trace
HTTP 500 without any context as to why it was failing
Expected behavior
The failure is right, however, this should have been caught when checking the yaml spec and not when attempting to create the VM. Probably need to change DefaultVMSpec to do this
Additional context
This probably extends to other disk attributes too, looking at DefaultVMSpec, this does not validate the shape of the disks list
The text was updated successfully, but these errors were encountered:
Describe the bug
If you create a VM with a storage container attached as disk and fail to provide a size for it, it initially succeeds (HTTP 202) but eventually fails (HTTP 500 from task list). The HTTP 500 is very vague and took me some time to figure out where it was happening by modifying entity._fetch_url to get at what was being sent to Prism Central's API
To Reproduce
Stack trace
HTTP 500 without any context as to why it was failing
Expected behavior
The failure is right, however, this should have been caught when checking the yaml spec and not when attempting to create the VM. Probably need to change DefaultVMSpec to do this
Additional context
This probably extends to other disk attributes too, looking at DefaultVMSpec, this does not validate the shape of the disks list
The text was updated successfully, but these errors were encountered: