Project

General

Profile

Actions

Bug #21972

closed

While running foreman-maintain (for 6.1 to 6.2) upgrade, it fails while stopping services due to incorrect option

Added by Kavita Gaikwad over 6 years ago. Updated about 6 years ago.

Status:
Duplicate
Priority:
High
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The pre-upgrade checks indicate that the system is ready for upgrade.
It's recommended to perform a backup at this stage.
Confirm to continue with the the modification part of the upgrade, [y(yes), n(no), q(quit)] y
Running Procedures before migrating to Satellite 6.2 ================================================================================
Turn on maintenance mode: [OK]
--------------------------------------------------------------------------------
disable active sync plans:
/ Total 0 sync plans are now disabled. [OK]
--------------------------------------------------------------------------------
katello-service stop:
/ Stopping katello running services.. [FAIL]
Failed executing katello-service stop --only foreman-proxy,foreman-tasks,httpd,mongod,pulp_celerybeat,pulp_resource_manager,qdrouterd,qpidd,tomcat, exit status 1:
/usr/bin/katello-service:31:in `block in <main>': invalid option: --only (OptionParser::InvalidOption)
from /usr/bin/katello-service:24:in `new'
from /usr/bin/katello-service:24:in `<main>'
--------------------------------------------------------------------------------
Scenario [Procedures before migrating to Satellite 6.2] failed.

The following steps ended up in failing state:

[katello-service-stop]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="katello-service-stop"

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

How reproducible:
Always on Satellite 6.1.12

Steps to Reproduce:
1. Run below command on Satellite 6.1.12 :
#foreman-maintain upgrade run --target-version 6.2

Actual results:
Failed to stop katello services

Expected results:
katello services should be stopped

Additional info:
--only option is invalid in Satellite 6.1.12, the expected option is --exclude .

Actions #1

Updated by Kavita Gaikwad about 6 years ago

  • Status changed from Assigned to Duplicate
Actions

Also available in: Atom PDF