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.
Description of problem:
If satellite backup is not having foreman-maintain hammer setup configured (/etc/foreman-maintain/foreman-maintain-hammer.yml) or wont have hammer credentials, satellite-clone will fail at
Upgrade Step: restart_services...
Redirecting to 'foreman-maintain service'
Running preparation steps required to run the next scenarios
================================================================================
Setup hammer: Configuring Hammer CLI...
Hammer admin password: stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
[FAIL]
Hammer configuration failed: Is the admin password correct? (it was stored in /etc/foreman-maintain/foreman-maintain-hammer.yml)Is the server down?
--------------------------------------------------------------------------------
Scenario [preparation steps required to run the next scenarios] failed.
The following steps ended up in failing state:
[hammer-setup]
Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="hammer-setup"
katello-service restart failed! Check the output for error!
Upgrade step restart_services failed. Check logs for more information.
Version-Release number of selected component (if applicable):
Satellite 6.5 snap 22
# rpm -q satellite-clone
satellite-clone-1.3.1-1.el7sat.noarch
How reproducible: always
Steps to Reproduce:
1. Setup satellite-clone to backup 6.4 db which wont have hammer setup
2. satellite-clone -y
Actual results:
satellite-clone wont prompt user for credentials and gives error
================================================================================
Setup hammer: Configuring Hammer CLI...
Hammer admin password: stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
[FAIL]
Expected results:
satellite-clone should successful and setup these hammer credentials.
Additional info:
Comment 4sthirugn@redhat.com
2019-04-05 19:06:06 UTC
Description of problem: If satellite backup is not having foreman-maintain hammer setup configured (/etc/foreman-maintain/foreman-maintain-hammer.yml) or wont have hammer credentials, satellite-clone will fail at Upgrade Step: restart_services... Redirecting to 'foreman-maintain service' Running preparation steps required to run the next scenarios ================================================================================ Setup hammer: Configuring Hammer CLI... Hammer admin password: stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device [FAIL] Hammer configuration failed: Is the admin password correct? (it was stored in /etc/foreman-maintain/foreman-maintain-hammer.yml)Is the server down? -------------------------------------------------------------------------------- Scenario [preparation steps required to run the next scenarios] failed. The following steps ended up in failing state: [hammer-setup] Resolve the failed steps and rerun the command. In case the failures are false positives, use --whitelist="hammer-setup" katello-service restart failed! Check the output for error! Upgrade step restart_services failed. Check logs for more information. Version-Release number of selected component (if applicable): Satellite 6.5 snap 22 # rpm -q satellite-clone satellite-clone-1.3.1-1.el7sat.noarch How reproducible: always Steps to Reproduce: 1. Setup satellite-clone to backup 6.4 db which wont have hammer setup 2. satellite-clone -y Actual results: satellite-clone wont prompt user for credentials and gives error ================================================================================ Setup hammer: Configuring Hammer CLI... Hammer admin password: stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device [FAIL] Expected results: satellite-clone should successful and setup these hammer credentials. Additional info: