Description of problem: Smart State Analysis (SSA) is configured to gather a file (and contents) and fails to do so. The file `release` is under a linked folder `/usr/java/default` that is a link to `/usr/java/latest` which itself is a link to `/usr/java/jdk-11.0.6` Version-Release number of selected component (if applicable): CF 5.0.4 (CFME 5.11.4) How reproducible: Create a SSA profile with `/usr/java/default/release` included and try gathering it Steps to Reproduce: 1. Create a SSA profile with `/usr/java/default/release` in the file list (retrieve content enabled) 2. Apply to a virtual machine with Oracle jdk-11.0.6 installed Actual results: No file gathered, does not show in the list of files for VM Expected results: File gathered, shows in the list of files for VM Additional info: Used for JDK detection for Migration Analytics.
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 the severity to Low.
Can someone provide access to the VM exhibiting this behavior? Thanks!
Environment prepared. Jerry please check your mail for access info.
PR https://github.com/ManageIQ/manageiq-smartstate/pull/117 fixes this problem. When one component of a path had multiple symbolic links only the first was followed. The PR follows all links for each component.
PR merged and version 0.5.4 of manageiq-smartstate released.
https://github.com/ManageIQ/manageiq/pull/20025
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, 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:2020