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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -