Bug #5327

System snapshots persist past a "onevm recover --recreate"

Added by Roy Keene almost 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:08/25/2017
Priority:NormalDue date:
Assignee:Juan Jose Montiel Cano% Done:

100%

Category:Core & System
Target version:-
Resolution:fixed Pull request:
Affected Versions:OpenNebula 5.2

Description

When using "onevm recover --recreate" the system snapshots are left over, even though the backing snapshots themselves are deleted.

[test] root@aurae-dashboard:/var/log# onevm snapshot-create 1 bbbb
[test] root@aurae-dashboard:/var/log# onevm snapshot-create 1 aaaa
[test] root@aurae-dashboard:/var/log# onevm show 1
...
SNAPSHOTS
  ID         TIME NAME                                           HYPERVISOR_ID
   0  08/25 17:21 bbbb                                           one-630b749e-5f
   1  08/25 17:25 aaaa                                           one-b6a1d317-03
...
[test] root@aurae-dashboard:/var/log# onevm recover 1 --recreate
... wait for VM to become running again ...
[test] root@aurae-dashboard:/var/log# onevm show 1
...
SNAPSHOTS
  ID         TIME NAME                                           HYPERVISOR_ID
   0  08/25 17:21 bbbb                                           one-630b749e-5f
   1  08/25 17:25 aaaa                                           one-b6a1d317-03
...

History

#1 Updated by Ruben S. Montero almost 4 years ago

  • Assignee set to Juan Jose Montiel Cano

#2 Updated by Juan Jose Montiel Cano almost 4 years ago

  • Category set to Core & System
  • Status changed from Pending to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed
  • Affected Versions OpenNebula 5.4 added

#3 Updated by Juan Jose Montiel Cano almost 4 years ago

  • Assignee changed from Juan Jose Montiel Cano to Rafael Manzo
  • Affected Versions OpenNebula 5.2 added

Resolved by Ruben S. Montero with de commit 6f3066dd.

#4 Updated by Juan Jose Montiel Cano almost 4 years ago

  • Assignee changed from Rafael Manzo to Juan Jose Montiel Cano

Also available in: Atom PDF