Created attachment 1273683 [details] 500 response instead of data Description of problem: When VM has no Flavor (as a result of fix for in https://bugzilla.redhat.com/show_bug.cgi?id=1437624 ) server got error "undefined method `root_disk_size' for nil:NilClass [vm_cloud/resize_form_fields]" Version-Release number of selected component (if applicable): master of manageiq, manageiq-providers-openstack repos master of manage-ui-classic repo with applied patch from https://github.com/ManageIQ/manageiq-ui-classic/pull/1139 How reproducible: Always, easy. Steps to Reproduce: 1. Apply https://github.com/ManageIQ/manageiq-ui-classic/pull/1139 to fix https://bugzilla.redhat.com/show_bug.cgi?id=1445005 2. Have a VM and more then 2 Flavors in OpenStack 3. Delete Flavor which VM has assigned in OpenStack UI (or from CLI) 4. Do a refresh on ManageIQ part. 5. Go to VM details page 6. Click on "Configuration" in toolbar, then "Reconfigure this instance" Actual results: Popup with "Server Error" label and error information. See attached screenshot. Expected results: Reconfigure VM dialog with dropdown filled with Flavors. Additional info:
Luke, is this the case with all VMs or only OSP? Is this a new regression introduced or is in present in 5.7.2? Tentatively setting blocker until we get more information.
Dave, keep in mind this is only an issue when someone has deleted a flavor for a running instance. I'm not sure this is a blocker, considering that such instances wouldn't even refresh properly for the past couple of releases.
This is OSP only.
PR: https://github.com/ManageIQ/manageiq-ui-classic/pull/1163