Bug 2250351

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: Gaurav Talreja <gtalreja>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.13.2CC: addubey, ahumbe, aperotti, aruzicka, gtalreja, lstejska, pdwyer, pwaghmar, rlavi, shwsingh, visawant
Target Milestone: 6.14.1Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman_leapp-1.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2224719 Environment:
Last Closed: 2023-12-14 16:26:55 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 5 Gaurav Talreja 2023-12-13 06:51:24 UTC
Verified. 

Version Tested: Satellite 6.14.1 Snap 2.0

Verification Steps:
1. Register a host to Satellite and install leapp/leapp-upgrade packages on it.
2. Create a user with "Organization admin" role on Satellite
3. With this user execute Pre Upgrade Leapp job on the host.

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

Comment 9 errata-xmlrpc 2023-12-14 16:26:55 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: Satellite 6.14.1 Async Security 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-2023:7851