Project

General

Profile

Actions

Bug #22242

closed

Running foreman-maintain with --phase just execute the phase mentioned in the option and exit

Added by Swapnil Abnave about 6 years ago. Updated almost 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1523945

Description of problem:

While running below command to upgrade the satellite to latest 6.2.z with " --phase pre_migrations " option just execute the pre-migration steps and does not proceed to complete the upgrade.

  1. foreman-maintain upgrade run --phase pre_migrations --target-version 6.2.z --whitelist="disk-io"
    Running Procedures before migrating to Satellite 6.2.z ================================================================================
    Turn on maintenance mode: [OK]
    --------------------------------------------------------------------------------
    disable active sync plans:
    / Total 0 sync plans are now disabled. [OK]
    --------------------------------------------------------------------------------
    katello-service stop:
    - Stopping katello running services.. [OK]
    --------------------------------------------------------------------------------

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

How reproducible:
Always when we need to execute any specific phase

Actions #1

Updated by Kavita Gaikwad almost 6 years ago

  • Status changed from New to Rejected

Working as expected. Functionality should be achievable by just running `upgrade run`, as it remembers the state.

Actions

Also available in: Atom PDF