Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1889669

Summary: Error "foreman-maintain packages is-locked --assumeyes failed!" in satellite.log while installing satellite.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: InstallationAssignee: Eric Helms <ehelms>
Status: CLOSED DUPLICATE QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: ehelms
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-02 21:03:00 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:
Embargoed:

Description Jameer Pathan 2020-10-20 10:59:45 UTC
Description of problem:
Error "foreman-maintain packages is-locked --assumeyes failed!" in satellite.log while installing satellite.

Version-Release number of selected component (if applicable):
- Satellite 6.8.0 snap 20

How reproducible:
Always

Steps to Reproduce:
1. Install Satellite
2. Check /var/log/foreman-installer/satellite.log file for errors.

Actual results:

[DEBUG 2020-10-20T06:20:47 main] Executing: foreman-maintain packages is-locked --assumeyes
[DEBUG 2020-10-20T06:20:49 main] Packages are not locked
[ERROR 2020-10-20T06:20:49 main] foreman-maintain packages is-locked --assumeyes failed! Check the output for error!
[DEBUG 2020-10-20T06:20:49 main] Hook /usr/share/foreman-installer/katello/hooks/pre_commit/09-version_locking.rb returned nil
[DEBUG 2020-10-20T06:20:49 main] Hook /usr/share/foreman-installer/katello/hooks/pre_commit/13-hiera.rb returned nil
[DEBUG 2020-10-20T06:20:49 main] Hook /usr/share/foreman-installer/katello/hooks/pre_commit/14-cdn_setting.rb returned nil
[ INFO 2020-10-20T06:20:49 main] All hooks in group pre_commit finished

Expected results:


Additional info:
- Satellite installation finishes successfully and I face no issue in using it.
- It's only that there is this ERROR message present in satellite.log

Comment 1 Eric Helms 2020-11-02 21:03:00 UTC

*** This bug has been marked as a duplicate of bug 1881150 ***