Core method saveas should check VM consistency
|Assignee:||Ruben S. Montero||% Done:|
|Category:||Core & System|
|Target version:||Release 3.0|
onevm saveas deals with this problem but the core should also do it.
From Bug #347:
There is some room for improvement in save as: 1.- Roll back: If for any reason the saveas method fails in the core the image has to be deleted 2.- Persistent images already uses saveas. CLI should not allow to saveas a persistent image as it is going to be saveas already 3.- If a VM has been marked as to be savedas subsequent calls to saveas should fail at the API level.