Red Hat Bugzilla – Bug 1470309
API request for VM information failing
Last modified: 2017-12-05 10:15:46 EST
Description of problem:
When attempting to make a request details on a VM we are receiving the following error.
Looked at the log, and seeing an API error:
"message": "undefined method `keys' for nil:NilClass",
From this URL:
We make this request in the SUI on the VM details page.
Actually , we make this request from the Service details page not the VM details page.
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.
If it's something like a tracker bug where it doesn't matter, please set it to Low/Low.
Marking this as notabug.
After discussing with Chris and recreating locally, it is an issue with the same sample database that we are using (this is an issue that has only been seen locally). Some of the orchestration stack resources were removed (most likely for sanitation purposes) but their references remain, which results in orchestration_stacks returning [nil].
In real life this would not happen because the references would be removed (have ensured the relationship is configured properly).