Open john-kheir opened 6 years ago
@john-kheir , shouldn't you set snapshot_epoch
as an argument of the action snapshot_delete
?
it was there .. just forget to copy it
I can't reproduce, for me delete_snapshot
works via both blueprints and dsl. If you try to delete via DSL, does it also fail?
I could recreate is just now. The thing I observed, when I try to delete snapshot from openvcloud, instead of deleting it, it changes last digit of its epoch
. So epoch doesn't match anything in the snapshot list. For the second time, when I try to delete the same snapshot by its 'new' epoch, it gets deleted successfully. I can reproduce it without templates, do it is an openvloud problem, and has to be solved there
@katia-e yes this is a known problem hence API was deprecated, it is recommended to delete a snapshot by name instead
Scenario
1- Run a Blueprint to create a vm (vm1)
2- Run another one to create a snapshot for vm1
3- Run a blueprint to delete snapshot
Actual Result
Snapshot hasn't been deleted