Enable Maintenance Mode for Authorized Host

Problem

Hosts often need to be brought down for maintenance and having instances scheduled to those hosts can disrupt workloads at such times. Hence the option to enable Maintenance Mode on a host.

This option disables the nova-compute service so that no new resources are created on the host.

Environment

  • Platform9 Managed OpenStack - All Versions
  • Nova
  • OpenStack CLI
  • Clarity UI

Procedure

  1. Log in to the Clarity UI as an Admin user.
  2. Select the Host -> Toggle Maintenance Mode
Screen_Shot_2018-10-31_at_1.23.46_PM.png

Screen_Shot_2018-10-31_at_1.23.46_PM.png

Note: Enabling Maintenance Mode will prevent additional Instances from being created on the Host. All Instances running on the Host should be removed prior to performing maintenance. If there are instances on the host after enabling maintenance mode those will need to be moved to another host using nova-evacuate.

  1. Use the OpenStack CLI to verify if the compute service on the host is disabled.
Copy

Example:

Copy

Additional Information

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard