Bug #804

The Image Manager tries to move non-existent files

Added by Carlos Martín almost 10 years ago. Updated almost 10 years ago.

Status:ClosedStart date:09/12/2011
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Core & System
Target version:Release 3.0
Resolution:fixed Pull request:
Affected Versions:

Description

When a VM is created, it tries to acquire the Image for each Disk.
If an Image can't be used (for instance it is persistent and already used), then the VM will release all the Images, even the ones that were not acquired.
This causes the image manager to move non-existent files, so the image ends in error state.

A related bug is that the Image Manager tries to move files to the repository when a VM in pending state is deleted.

Associated revisions

Revision 91d554b3
Added by Carlos Martín almost 10 years ago

Bug #804: Better image release rollback when a VM can't be created

Revision a6a0f271
Added by Carlos Martín almost 10 years ago

Bug #804: Better image release rollback when a VM can't be created
(cherry picked from commit 91d554b3aa9d78008ecc4399c673325fa58a2309)

Revision 2fc3d7fb
Added by Ruben S. Montero almost 10 years ago

Bug #804:removed unneeded return

Revision 84a8d9e2
Added by Ruben S. Montero almost 10 years ago

Bug #804:removed unneeded return
(cherry picked from commit 2fc3d7fbb4a49d89c088125435789d6cb962252f)

Revision 32421690
Added by Carlos Martín almost 10 years ago

Bug #804: Fix core unit tests

Revision 60ffefcc
Added by Carlos Martín almost 10 years ago

Bug #804: Fix core unit tests
(cherry picked from commit 32421690f3acefb5a8e0e758a5b8460dbbd9a3b0)

History

#1 Updated by Carlos Martín almost 10 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF