Bug 2257302

Summary: Actions::ForemanLeapp::PreupgradeJob fails with null value in column "preupgrade_report_id" violates not-null constraint when run with non-admin user
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: Leapp integrationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Shweta Singh <shwsingh>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.13.2CC: ahumbe, aperotti, aruzicka, lstejska, pcreech, pwaghmar, rfurlan, rlavi, shwsingh, visawant
Target Milestone: 6.13.7Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman_leapp-0.1.13-2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2224719 Environment:
Last Closed: 2024-02-29 20:35:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Shweta Singh 2024-02-22 04:45:27 UTC
Verified. 

Version Tested: Satellite 6.13.7 Snap 1.0

Verification Steps:
1. Spin a host and install leapp packages on Satellite.
2. Create a user with "Organization admin" role.
3. With this user execute PreUpgrade Leapp job on the host.

Observation:
Leapp Pre-upgrade and Upgrade job runs successfully and host is upgraded to the target version.

Comment 7 errata-xmlrpc 2024-02-29 20:35:07 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 (Moderate: Red Hat Satellite 6 security and bug fix 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-2024:1061