Generic Node base class for all workers that run on hosts.
Bases: object
Bases: Service
Service object for binaries running on hosts.
A service takes a manager and enables rpc by listening to queues based on topic. It also periodically runs tasks on the manager and reports it state to the database services table.
Perform basic config checks before starting service.
Instantiates class and passes back application object.
host – defaults to CONF.host
binary – defaults to basename of executable
topic – defaults to bin_name - ‘cinder-’ part
manager – defaults to CONF.<topic>_manager
report_interval – defaults to CONF.report_interval
periodic_interval – defaults to CONF.periodic_interval
periodic_fuzzy_delay – defaults to CONF.periodic_fuzzy_delay
cluster – Defaults to None, as only some services will have it
Tasks to be run at a periodic interval.
Update the state of this service in the datastore.
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: ServiceBase
Provides ability to launch API from a ‘paste’ configuration.
Reset server greenpool size to default.
None
Start serving this service using loaded configuration.
Also, retrieve updated port number in case ‘0’ was passed in, which indicates a random port should be used.
None
Stop serving this API.
None
Wait for the service to stop serving this API.
None
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.