Project

General

Profile

Bug #22242

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

Added by Swapnil Abnave almost 3 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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

History

#1 Updated by Kavita Gaikwad over 2 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.

Also available in: Atom PDF