Bug #1174

check that the SOURCE attribute is properly set before executing oneimage delete

Added by Jaime Melis over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:03/20/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Drivers - Auth
Target version:Release 3.4
Resolution:fixed Pull request:
Affected Versions:OpenNebula 3.2

Description

There should be a double-check for the SOURCE attribute when:
1) It's set during the CP of the image (generate_image_path) function
2) When oneimage delete is called, making source that it's under the datastore's location

Associated revisions

Revision 83e9146a
Added by Jaime Melis over 9 years ago

Bug #1174: check that the SOURCE attribute is properly set before executing oneimage delete

Revision a4880eca
Added by Jaime Melis over 9 years ago

Bug #1174: check that the SOURCE attribute is properly set before executing oneimage delete
(cherry picked from commit 83e9146a4958c94cbc464ff8889be58aad8c69d5)

Revision e67523aa
Added by Jaime Melis over 9 years ago

Bug #1174: Fine tune of the tests

Revision 3c000bbc
Added by Jaime Melis over 9 years ago

Bug #1174: Fine tune of the tests
(cherry picked from commit e67523aa2e565e52c393270d2b3ac3785de3bae3)

Revision f60eb9c1
Added by Tino Vázquez about 9 years ago

Backport of bug #1174

History

#1 Updated by Jaime Melis over 9 years ago

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

Added safety checks after generating hash and before removing the file

Also available in: Atom PDF