openstack - Dynamic storage deletion and deleteOnExit template option -
i'm wondering how storage template option "deleteonexit" works in cloudify 2.7.1 stable. i'm working on openstack cloud, , in case, option "deleteonexit" in "small_block" storage template set true. using dynamic storage allocation way create (with small_block template), attach, mount , format storage via context storage api. when undeploy application, storage not destroyed. normal behavior?
thanks.
yes normal behavior, dynamic storage, responsible deleting volume when undeploy.
here example of deleting volume when 'shutdown' lifecycle event executed:
shutdown { context.storage.unmount(device) context.storage.detachvolume(volumeid) context.storage.deletevolume(volumeid); }
Comments
Post a Comment