Bases: cinder.volume.flows.manager.manage_existing_snapshot.NotifySnapshotActionTask
Perform final snapshot actions.
When a snapshot is created successfully it is expected that MQ notifications and database updates will occur to ‘signal’ to others that the snapshot is now ready for usage. This task does those notifications and updates in a reliable manner (not re-raising exceptions if said actions can not be triggered).
Reversion strategy: N/A
Bases: cinder.flow_utils.CinderTask
Extracts snapshot reference for given snapshot id.
Bases: cinder.flow_utils.CinderTask
Brings an existing snapshot under Cinder management.
Bases: cinder.flow_utils.CinderTask
Performs a notification about the given snapshot when called.
Reversion strategy: N/A
Bases: cinder.flow_utils.CinderTask
Gets the snapshot size from the driver.
Bases: cinder.flow_utils.CinderTask
Commits the reservation.
Reversion strategy: N/A (the rollback will be handled by the task that did the initial reservation (see: QuotaReserveTask).
Warning Warning: if the process that is running this reserve and commit process fails (or is killed before the quota is rolled back or committed it does appear like the quota will never be rolled back). This makes software upgrades hard (inflight operations will need to be stopped or allowed to complete before the upgrade can occur). In the future when taskflow has persistence built-in this should be easier to correct via an automated or manual process.
Bases: cinder.flow_utils.CinderTask
Reserves a single snapshot with the given size.
Reversion strategy: rollback the quota reservation.
Warning Warning: if the process that is running this reserve and commit process fails (or is killed before the quota is rolled back or committed it does appear like the quota will never be rolled back). This makes software upgrades hard (inflight operations will need to be stopped or allowed to complete before the upgrade can occur). In the future when taskflow has persistence built-in this should be easier to correct via an automated or manual process.
Constructs and returns the manager entry point flow.