-
Bug
-
Resolution: Done-Errata
-
Major
-
6.15.0
-
False
-
-
False
-
CLOSED
-
foreman-3.9.1.9-1
-
0
-
Endeavour
-
-
-
Important
-
No
Description of problem:
Upgrade from Satellite 6.14.z to 6.15.z fails with ERF73-0602 [Foreman::PermissionMissingException]: some permissions were not found: [:view_lookup_values, :create_lookup_values, :edit_lookup_values, :destroy_lookup_values] (Foreman::PermissionMissingException)
Version-Release number of selected component (if applicable):
6.14.z to 6.15.z upgrade
How reproducible:
In the customer's env
Steps to Reproduce:
1. Follow the steps from the doc to upgrade from 6.14.z to 6.15.z
Actual results:
~~~~~~~~~~
2024-05-13 17:43:41 [ERROR ] [configure] May 13 17:38:44 valsat02.valtion.fi foreman[3106]: Exiting
2024-05-13 17:43:41 [ERROR ] [configure] May 13 17:38:44 valsat02.valtion.fi foreman[3106]: /usr/share/foreman/app/models/role.rb:346:in `permission_records': ERF73-0602 [Foreman::PermissionMissingException]: some permissions were not found: [:view_lookup_values, :create_lookup_values, :edit_lookup_values, :destroy_lookup_values] (Foreman::PermissionMissingException)
~~~~~~~~~~
Expected results:
The upgrade should be completed without any exceptions.
Additional info:
Executing the rake to recreate the permission fixed the issue.
~~~~~~~~~~~~~~~~
cat <<FIX | foreman-rake console
["view_lookup_values", "create_lookup_values", "edit_lookup_values", "destroy_lookup_values"].each do |per|
Permission.find_or_create_by(:name => per)
end
FIX
~~~~~~~~~~~~~~~~
- clones
-
SAT-25129 Upgrade from Satellite 6.14.z to 6.15.z fails with ERF73-0602 [Foreman::PermissionMissingException]
- Closed
- external trackers
- links to
-
RHSA-2024:137379 Satellite 6.15.3 Security Update