Actions
Feature #22198
closedforeman-maintain maintenance-mode command
Difficulty:
Triaged:
No
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1487559
As part of the pre-migrations phase, we perform steps to temporary disable functionality to make sure the upgrades are run in isolation from outside, e.g.
- Disable enabled sync plans, stores information about the disabled sync plans to file to be able to restore it in SyncPlans::Enable
- Disable external traffic on port 443 to prevent the interference with the system while the uprade runs
The commands to work with the maintenance-mode:
1. foreman-maintain maintenance-mode status
Shows the status of the maintenance mode. Possible values:
- off - the maintenance mode is off
- on - the maintenance mode is on
- partially on - there were some steps of the maintenance mode already set, while some parts were not
- not available - since foreman-maintain can run not only the satellite, on some installations (such as clients), this might not be avaiable
2. foreman-maintain maintenance-mode on
Runs the steps to enable the maintenance mode
3. foreman-maintain maintenance-mode off
Runs the steps to disable the maintenance mode
The exact steps to turn the maintenance mode on/off might differ from different versions and server vs proxy.
Updated by Ivan Necas over 6 years ago
- Related to Bug #21739: Cron jobs are not disabled for the upgrade added
Updated by Ivan Necas over 6 years ago
- Subject changed from foreman-maintain maintenance-mode command to foreman-maintain maintenance-mode command
- Priority changed from Normal to High
Updated by Kavita Gaikwad almost 6 years ago
- Assignee changed from Anurag Patel to Kavita Gaikwad
Updated by The Foreman Bot almost 6 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/180 added
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
Updated by Kavita Gaikwad about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|6082107d2b5f5ed22be255dfd28c012511d00de3.
Actions