When in maintenance mode, Cloudify Manager activity is suspended. It rejects all requests, and does not perform any action other than to display the status of the Manager and it’s version, and to execute sub-commands of the maintenance mode.
Cloudify Manager has three maintenance states, activated, activating, and deactivated. To view the current maintenance state of the Manager, run
cfy maintenance-mode status. The state is also displayed when you run
cfy status (so long as the state is not
Cloudify Manager is in maintenance mode. It ignores all requests except for
cfy --versionand sub-commands of
An intermediate state in which the Cloudify Manager is not fully in maintenance mode. Only requests that trigger executions are blocked. This state enables active executions to complete and prevents new executions from being started.
Cloudify Manager operates normally. No requests are blocked.
Usage and Flow
By default, the maintenance mode state is
To activate maintenance mode, run
cfy maintenance-mode activate. Cloudify Manager either enters the
To view the current status of the maintenance mode, run
cfy maintenance-mode status.
Following the activation request, if there are no active executions (running, pending, cancelling etc.), maintenance mode is activated.
The output of
cfy maintenance-mode status for the
activated state is as follows.
Maintenance Mode Status: Status: activated Activated At: <time of activation> Activation Requested At: <time of activation request>
If there are active executions, the Manager enters the
Maintenance Mode Status: Status: activating Activation Requested At: <time of activation request> Cloudify Manager currently has <number of active executions> running or pending executions. Waiting for them to finish before activating.
After all executions have completed, the Manager enters the ‘activated’ state.
If you run the maintenance mode status command in verbose mode, you can view detailed information about the current active executions.
cfy maintenance-mode deactivate to deactivate maintenance mode.
Running Maintenance Mode from the Cloudify Management Console
For Premium users, you can manage maintenance mode by clicking Activate Maintenance Mode button in the Admin Operations page.