Bug #4975

honor DISPOSE=YES in market_mad/remotes/http/import

Added by Anton Todorov over 4 years ago.

Status:PendingStart date:01/11/2017
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:MarketPlace
Target version:-
Resolution: Pull request:
Affected Versions:OpenNebula 5.2

Description

Hi,

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.

Kind Regards,
Anton Todorov

Also available in: Atom PDF