Project

General

Profile

Actions

Bug #22220

closed

Turn off maintenance mode if upgrade run failed

Added by Anurag Patel over 6 years ago. Updated 2 months ago.

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

Description

From Bugzilla:

Description of problem: While running foreman-maintain upgrade run, if upgrade failed in repository setup, firewall set in maintenance mode should turn off.

Version-Release number of selected component (if applicable): Foreman-maintain snap 2.0

How reproducible: always

Steps to Reproduce:
1. Run #foreman-maintain upgrade run --target-version 6.3 without setting up repositories

Actual results:
Upgrade run will fail due to Error: 'rhel-7-server-satellite-6.3-rpms' does not match a valid repository ID and can not access satellite as maintenance mode on.

Expected results:
Maintenance mode should turn off if upgrade run failed.

Additional info:

Actions

Also available in: Atom PDF