Bug 1872954 - Smart State Analysis fails for VMs having Direct LUNs attached on them
Summary: Smart State Analysis fails for VMs having Direct LUNs attached on them
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.11.6
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: GA
: 5.11.9
Assignee: Jerry Keselman
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-27 03:31 UTC by Mihir Lele
Modified: 2023-12-15 19:02 UTC (History)
5 users (show)

Fixed In Version: 5.11.9.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-05 22:04:52 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
simaishi: cfme-5.11.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4967 0 None None None 2020-11-05 22:05:03 UTC

Description Mihir Lele 2020-08-27 03:31:02 UTC
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

Comment 3 Jerry Keselman 2020-09-08 14:57:14 UTC
Do we have an environment demonstrating this issue that I can access?  Thanks.

Comment 4 Jerry Keselman 2020-09-08 19:31:45 UTC
Also can we get this issue run again with DEBUG turned on, and then get access to the logs in question?  Thanks much.

Comment 8 Jerry Keselman 2020-09-18 18:46:03 UTC
Ok found the issue.  Thanks for the appliance Mihir.

Comment 9 Jerry Keselman 2020-09-18 18:56:41 UTC
Fixed by https://github.com/ManageIQ/manageiq-smartstate/pull/139.

Comment 10 Satoe Imaishi 2020-09-30 17:13:33 UTC
Jerry, the fix is in smartstate gem, so the usual process (backport to v0.3, release new version and bump in Gemfile) is needed.

Comment 14 Niyaz Akhtar Ansari 2020-11-02 06:43:00 UTC
Verifed in Version 5.11.9.0.20201007144602_3f931e3

Comment 18 errata-xmlrpc 2020-11-05 22:04:52 UTC
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


Note You need to log in before you can comment on or make changes to this bug.