The cinder.flow_utils Module

class CinderTask(addons=None, **kwargs)

Bases: taskflow.task.Task

The root task class for all cinder tasks.

It automatically names the given task using the module and class that implement the given task as the task name.

classmethod make_name(addons=None)
class DynamicLogListener(engine, task_listen_for=('*', ), flow_listen_for=('*', ), retry_listen_for=('*', ), logger=<oslo_log.log.KeywordArgumentAdapter object at 0x7f5dc9fa2cd0>)

Bases: taskflow.listeners.logging.DynamicLoggingListener

This is used to attach to taskflow engines while they are running.

It provides a bunch of useful features that expose the actions happening inside a taskflow engine, which can be useful for developers for debugging, for operations folks for monitoring and tracking of the resource actions and more...

Previous topic

The cinder.exception Module

Next topic

The cinder.group.api Module

Project Source

This Page