Description of problem: Error message leads to confusion when hit here. As it is seen in the logs, it sounds as though the issue is related to the "entitlement path". So something to do with the subscription or entitlement being used or uploaded and its path. Version-Release number of selected component (if applicable): rh-rhui-tools-3.1.7-1.el7ui.noarch How reproducible: n/a Steps to Reproduce: 1. 2. 3. Actual results: 289 for e in entitlements: 290 if not _is_valid_download_url(e.download_url): 291 LOG.warn("Invalid entitlement path %s found", e.download_url) 292 else: 293 found_valid_entitlement = True Expected results: 289 for e in entitlements: 290 if not _is_valid_download_url(e.download_url): 291 LOG.warn("Invalid repository download URL: %s provided", e.download_url) 292 else: 293 found_valid_entitlement = True Additional info: The error message should reflect the artifact that we are actually comparing which is the download URL to a regex: VALID_URL_PATTERN = '*content/*/rhui/*' def _is_valid_download_url(download_url): return fnmatch.fnmatch(download_url, VALID_URL_PATTERN)
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 (Important: RHUI 4.1.1 release - Security Fixes 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/RHSA-2022:5602