Verified. Tested upgrade from 6.11.4.2 to 6.12.2, which passed successfully w/o puppet permission errors Steps to reproduce mentioned issue: 1. Setup 6.12.2 Snap1.0 with Discovery installed 2. Add Discovery Manager and Discovery Reader roles for the admin user. 3. Revert the following PRs which were included for this and 6.11 BZ 2104339 https://github.com/theforeman/foreman_discovery/pull/554 https://github.com/theforeman/foreman_discovery/pull/594 4. Run the satellite-installer, which passes but the following warning exists in the logs, ... 2023-02-01T09:14:03 [W|app|] Could not create role 'Discovery Manager': ERF73-0602 [Foreman::PermissionMissingException]: some permissions were not found: [:view_environments, :view_puppetclasses] ...
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 (Satellite 6.12.2 Async 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-2023:0668