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 - Error "foreman-maintain packages is-locked --assumeyes failed!" in satellite.log while installing satellite.
Summary: Error "foreman-maintain packages is-locked --assumeyes failed!" in satellite....
Keywords:
Status: CLOSED DUPLICATE of bug 1881150
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.0
Assignee: Eric Helms
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-20 10:59 UTC by Jameer Pathan
Modified: 2020-11-02 21:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-02 21:03:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 31135 0 Normal Closed foreman-maintain package lock check indicates false failure 2021-02-18 04:23:34 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.