Bug 1327844

Summary: Red Hat Access plugin 1.0.4 errors on db seed
Product: Red Hat Satellite Reporter: Eric Helms <ehelms>
Component: RH Cloud - InsightsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: anarang, bbuckingham, cwelton, jcallaha, lphiri
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman-redhat_access-1.0.5-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:10:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eric Helms 2016-04-16 19:00:11 UTC
Actual results:
[[33m WARN[0m [34m2016-04-16 09:01:19[0m [36mverbose[0m]  /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: ArgumentError: some permissions were not found
[[33m WARN[0m [34m2016-04-16 09:01:19[0m [36mverbose[0m]  /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /usr/share/foreman/app/models/role.rb:136:in `add_permissions'
[[33m WARN[0m [34m2016-04-16 09:01:19[0m [36mverbose[0m]  /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /usr/share/foreman/app/models/role.rb:151:in `add_permissions!'
[[33m WARN[0m [34m2016-04-16 09:01:19[0m [36mverbose[0m]  /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access-1.0.4/db/seeds.d/195-update-insights-roles.rb:6:in `block in <top (required)>'

Expected results:
Database seed passes and includes proper Red Hat Access role configuration

Additional info:

Comment 4 Corey Welton 2016-04-26 13:32:46 UTC
QE Notes:

* Assure redhat_access v 1.0.6 is installed
* Assure install is successful

Comment 5 Anisha Narang 2016-04-26 14:26:18 UTC
Correction: 
Version 1.0.5 instead of 1.0.6

Comment 6 jcallaha 2016-04-26 15:49:09 UTC
Verified in Satellite 6.2 Beta Snap 9 Compose 3.

Satellite installed correctly. Red Hat Access plugin is installed and works as expected.

tfm-rubygem-foreman-redhat_access-1.0.5-1.el7sat.noarch
tfm-rubygem-redhat_access_lib-1.0.1-1.el7sat.noarch

Comment 7 Bryan Kearney 2016-07-27 11:10:51 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, 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-2016:1501