Ask Your Question
0

Stop / disable nova service on control nodes

asked 2020-01-20 04:36:48 -0500

panticz gravatar image

Is it possible to stop or disable nova services on control nodes to avoid warnings before restart of those control node?

 # openstack compute service list --host ctl1-stage
+-----+------------------+------------+----------+---------+-------+----------------------------+ |  ID | Binary           | Host       | Zone     | Status  | State | Updated At                 |
+-----+------------------+------------+----------+---------+-------+----------------------------+ | 313 | nova-scheduler   | ctl1-stage | internal | enabled | up    | 2020-01-20T10:05:56.000000 | | 487 | nova-conductor   | ctl1-stage | internal | enabled | up    | 2020-01-20T10:06:04.000000 | | 607 | nova-consoleauth | ctl1-stage | internal | enabled | up    | 2020-01-20T10:05:56.000000 |
+-----+------------------+------------+----------+---------+-------+----------------------------+

# openstack compute service set --disable ctl1-stage nova-scheduler
Failed to set service status to disabled Compute service nova-scheduler of host ctl1-stage failed to set.

With debug option i get this response for the command above:

RESP BODY: {"badRequest": {"message": "Updating a nova-scheduler service is not supported. Only nova-compute services can be updated.", "code": 400}}
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-01-20 05:00:42 -0500

Do

nova service-disable <host> nova-compute

to get host

nova hypervisor-list

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2020-01-20 04:36:48 -0500

Seen: 98 times

Last updated: Jan 20