Project

General

Profile

Actions

Bug #20597

closed

Don't allow to run against different --target-version if one upgrade is already in progress

Added by Ivan Necas over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

At the moment, it's possible to end up in the middle of upgrade and
the upgrade prevent the user to specify different `--target-version`.

Steps to reproduce:

1. foreman-maintain upgrade run --target-version 6.2.z
2. simulate it failed in the migration phase
3. foreman-maintain upgrade --target-version 6.3

Current results:

The second upgrade scenario starts without issues.

Related issue to this is, when the upgrade fails at the installer run phase, the list of available versions
is already updated to the next versions, making it impossible to continue with the upgrade.

Expected results:

The upgrade to 6.3 will fail because another upgrade is already in progress

Actions #1

Updated by Ivan Necas over 6 years ago

  • Description updated (diff)
Actions #2

Updated by Ivan Necas over 6 years ago

  • Bugzilla link set to 1487539
Actions #3

Updated by Ivan Necas over 6 years ago

  • Tracker changed from Feature to Bug
Actions #4

Updated by Ivan Necas over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/95 added
Actions #5

Updated by The Foreman Bot over 6 years ago

  • Assignee set to Ivan Necas
Actions #6

Updated by Ivan Necas over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF