Generic Node base class for all workers that run on hosts.
Bases: object
Launch one or more services and wait for them to complete.
Load and start the given service.
service – The service you would like to start, must be an
instance of oslo_service.service.ServiceBase
workers – This param makes this method compatible with ProcessLauncher.launch_service. It must be None, 1 or omitted.
None
Reload config files and restart service.
The return value from reload_config_files or mutate_config_files, according to the restart_method.
Stop all services which are currently running.
None
Wait until all services have been stopped, and then return.
None
Bases: object
Launch a service with a given number of workers.
Add instance’s signal handlers to class handlers.
Launch a service with a given number of workers.
service – a service to launch, must be an instance of
oslo_service.service.ServiceBase
workers – a number of processes in which a service will be running
Terminate child processes and wait on each.
Loop waiting on children to die and respawning as necessary.
Bases: oslo_service.service.ServiceBase
Service object for binaries running on hosts.
Reset a service in case it received a SIGHUP.
Start a service.
Stop a service.
graceful – indicates whether to wait for all threads to finish or terminate them instantly
Wait for a service to shut down.
Bases: object
Base class for all services.
Reset service.
Called in case service running in daemon mode receives SIGHUP.
Start service.
Stop service.
Wait for service to complete.
Bases: oslo_service.service.Launcher
Runs one or more service in a parent process.
Set self._handle_signal as a signal handler.
Wait for a service to terminate and restart it on SIGHUP.
termination status
Bases: SystemExit
Launch a service with a given number of workers.
conf – an instance of ConfigOpts
service – a service to launch, must be an instance of
oslo_service.service.ServiceBase
workers – a number of processes in which a service will be running, type should be int.
restart_method – Passed to the constructed launcher. If ‘reload’, the launcher will call reload_config_files on SIGHUP. If ‘mutate’, it will call mutate_config_files on SIGHUP. Other values produce a ValueError.
instance of a launcher that was used to launch the service
Entry point for oslo-config-generator.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.