honor DISPOSE=YES in market_mad/remotes/http/import
|Affected Versions:||OpenNebula 5.2|
I've implemented the marked_mad scripts for our storage but there are snapshots left on the storage because they are not cleaned up after import.
I think that this commented out code should be revisited: https://github.com/OpenNebula/one/blob/master/src/market_mad/remotes/http/import#L83
Probably the oned should run datastore_mad/rm after successful marketplace_mad/import. I am not sure that the marketplace_import is the right place to issue deletion of the exported image tough.
I'll disable the marketplace export in our default configuration until there is an update.