Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Smart State Analysis fails for VMs that having Direct LUNs attached on them. It fails with error: undefined method `first' for nil:NilClass Version-Release number of selected component (if applicable): 5.11.6 How reproducible: Always Steps to Reproduce: 1. Attach a Direct LUN on a Vm 2. Run SSA aginst the same VM Additional info: 1) The SSA works for the VM if direct LUN is not attached on the VM 2) One of the customers that faced this error showed me that SSA for working for VM that had direct LUN attached on it before upgrading cloudforms to 5.0. SO it seems that the issue is specific to the 5.0 version. 3) SSA performed on the cloudforms appliance VMs also fails due to this issue
Do we have an environment demonstrating this issue that I can access? Thanks.
Also can we get this issue run again with DEBUG turned on, and then get access to the logs in question? Thanks much.
Ok found the issue. Thanks for the appliance Mihir.
Fixed by https://github.com/ManageIQ/manageiq-smartstate/pull/139.
Jerry, the fix is in smartstate gem, so the usual process (backport to v0.3, release new version and bump in Gemfile) is needed.
https://github.com/ManageIQ/manageiq-smartstate/pull/141
Verifed in Version 5.11.9.0.20201007144602_3f931e3
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (CloudForms 5.0.9 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4967