ironic.conductor.rpc_service module

class ironic.conductor.rpc_service.RPCService(host, manager_module, manager_class)[source]

Bases: BaseRPCService

handle_signal()[source]

Add a signal handler for SIGUSR1, SIGUSR2.

The SIGUSR1 handler ensures that the manager is not deregistered when it is shutdown.

The SIGUSR2 handler starts a drain shutdown.

stop()[source]

Stop a service.

Parameters:

graceful – indicates whether to wait for all threads to finish or terminate them instantly