Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2161742 - Satellite 6.12 upgrade fails with error ERF73-0602 [Foreman::PermissionMissingException]: some permissions were not found: ["view_puppetclasses", "view_environments", :view_environments, :view_puppetclasses] (Foreman::PermissionMissingException)
Summary: Satellite 6.12 upgrade fails with error ERF73-0602 [Foreman::PermissionMissin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Discovery Plugin
Version: 6.12.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.12.2
Assignee: Ron Lavi
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-17 18:30 UTC by Odilon Sousa
Modified: 2023-02-08 14:35 UTC (History)
3 users (show)

Fixed In Version: rubygem-foreman_discovery-21.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2160297
Environment:
Last Closed: 2023-02-08 14:35:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github theforeman foreman_discovery pull 594 0 None Merged Fixes #35188 - fix puppet plugin detection for permissions issues (#573) 2023-01-17 18:30:17 UTC
Red Hat Issue Tracker SAT-14937 0 None None None 2023-01-17 18:30:17 UTC
Red Hat Issue Tracker SAT-14977 0 None None None 2023-01-17 18:33:04 UTC
Red Hat Product Errata RHBA-2023:0668 0 None None None 2023-02-08 14:35:10 UTC

Comment 2 Gaurav Talreja 2023-02-01 17:27:13 UTC
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]
...

Comment 7 errata-xmlrpc 2023-02-08 14:35:02 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 (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


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