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 2013630 - foreman-maintain packages install/update command(without --assumeyes) hangs after listing packages
Summary: foreman-maintain packages install/update command(without --assumeyes) hangs a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Satellite Maintain
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.10.1
Assignee: Amit Upadhye
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-13 12:18 UTC by Gaurav Talreja
Modified: 2021-11-18 14:26 UTC (History)
7 users (show)

Fixed In Version: rubygem-foreman_maintain-0.8.21
Doc Type: Known Issue
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-18 14:26:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33803 0 High Closed foreman-maintain packages install/update command(without --assumeyes) hangs after listing packages 2021-10-29 18:15:26 UTC
Red Hat Product Errata RHBA-2021:4736 0 None None None 2021-11-18 14:26:55 UTC

Description Gaurav Talreja 2021-10-13 12:18:42 UTC
Description of problem:
foreman-maintain packages install/update command(without --assumeyes) hangs after listing packages and installed size, hangs there waiting for confirmation for [y/d/N] in step `Is this ok [y/d/N]:`, which never printed on stdout.

If hit enter on a keyboard it just exits a user command, and if randomly hit `y` then it completes a packages install/update

Version-Release number of selected component (if applicable):
rubygem-foreman_maintain-0.8.19-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. # foreman-maintain packages install/update walrus
2.
3.

Actual results:
Command waiting for user confirmation, which was never asked.

Expected results:
Should ask for confirmation.

Additional info:
https://privatebin-it-iso.int.open.paas.redhat.com/?868f7022abf7b4a7#6mnFqZiCiMLQhp5odqd6YBdLYCv7hafWMWL76sav15Hc

Comment 1 Mike McCune 2021-10-14 14:27:26 UTC
WORKAROUND:

Hit Y and it proceeds.

Comment 2 mark yarborough 2021-10-14 14:46:51 UTC
Please list as known issue for 6.10 GA ; plan to include fix in 6.10.1

Comment 5 Amit Upadhye 2021-10-28 10:32:47 UTC
Created redmine issue https://projects.theforeman.org/issues/33803 from this bug

Comment 6 Mike McCune 2021-11-03 21:42:11 UTC
upstream is merged, POST

Comment 7 Gaurav Talreja 2021-11-11 08:08:30 UTC
Verified.

Tested on Satellite 6.10.1 Snap 1.0 
Version: rubygem-foreman_maintain-0.8.21-1.el7sat.noarch

Steps:
1. satellite-maintain packages install <pkg-name>

Observation:
f-m Package install (without --assumeyes) waits for confirmation with a message like `Is this ok [y/d/N]:`
Also tested new f-m interactive command runner stdbuf with nohup job to run content migration on 6.9, and it works fine (related to BZ 1965218)

Comment 10 errata-xmlrpc 2021-11-18 14:26: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 (Satellite Maintenance 6.10.1 Async 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/RHBA-2021:4736


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