Description of problem: It would be useful to allow a '*' glob within a file path in a SmartState Analysis profile. Examples might be to collect the .bash_profile files of all users: /home/*/.bash_profile or to collect a WebSphere configuration regardless of which profile, cell or server was used at installation time: /opt/IBM/WebSphere/AppServer/profiles/*/config/cells/*/nodes/*/servers/*/server.xml Version-Release number of selected component (if applicable): 5.10.0.33 Expected results: Additional info:
We are hitting this bug with a customer now. Can't recursively dig into directories.
@Brett, working through the CodeClimate and RuboCop issues with the code. Still need tests. I will go on to the sizing issue following the current PR.
And as of today CodeClimate is resolved and working on migrating some of Rich's tests from the VirtFS gem. There is one (minor) core PR that will need to be submitted as well in order to get the correct full filename in the DB.
PRs https://github.com/ManageIQ/manageiq-smartstate/pull/114 and https://github.com/ManageIQ/manageiq/pull/19976 address this RFE. Awaiting reviews.
New commit detected on ManageIQ/manageiq/jansa: https://github.com/ManageIQ/manageiq/commit/29c6aabb0816cd50eb087a731c1b85c3fdd5bd12 commit 29c6aabb0816cd50eb087a731c1b85c3fdd5bd12 Author: Adam Grare <agrare> AuthorDate: Fri Mar 27 19:22:39 2020 +0000 Commit: Adam Grare <agrare> CommitDate: Fri Mar 27 19:22:39 2020 +0000 Merge pull request #19976 from jerryk55/expanded_glob_processing Fix Full Pathname Stored in DB (cherry picked from commit aea81a43c5e6f16e0c86d2cbcc8f7707b0ec634c) https://bugzilla.redhat.com/show_bug.cgi?id=1684589 app/models/filesystem.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
https://github.com/ManageIQ/manageiq/pull/20025
New commit detected on ManageIQ/manageiq/ivanchuk: https://github.com/ManageIQ/manageiq/commit/4253e8d3f3c7779cd1b691c3f6642fe0ce7104c5 commit 4253e8d3f3c7779cd1b691c3f6642fe0ce7104c5 Author: Adam Grare <agrare> AuthorDate: Fri Mar 27 19:22:39 2020 +0000 Commit: Adam Grare <agrare> CommitDate: Fri Mar 27 19:22:39 2020 +0000 Merge pull request #19976 from jerryk55/expanded_glob_processing Fix Full Pathname Stored in DB (cherry picked from commit aea81a43c5e6f16e0c86d2cbcc8f7707b0ec634c) https://bugzilla.redhat.com/show_bug.cgi?id=1684589 app/models/filesystem.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
https://github.com/ManageIQ/manageiq-smartstate/pull/121 addresses this problem.
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