Commit Graph
41 Commits
Author SHA1 Message Date
Jaime Melis f3d1b8d8a9 feature #1791: more minor typos 2013-03-08 12:29:05 +01:00
Jaime Melis efa655a2b0 feature #1791: minor typos 2013-03-08 12:27:00 +01:00
Ruben S. Montero a425458a8a feature #1791: Use HOTPLUG state to prevent saving twice an image. Rename functions and variables to saveas_hot. Use events to triggers save as 2013-03-07 22:44:18 +01:00
Jaime Melis d74c51e7a4 feature #1791: set the hotplug_saveas state at the beginning of the action. Allow for suspended and poweroff to be saveas-hot valid states. 2013-03-07 13:09:57 +01:00
Jaime Melis 3816c614ef feature #1791: manage the image lifecycle during the saveas hot operation 2013-03-06 16:09:11 +01:00
Jaime Melis 146ca09e08 feature #1791: new saveas hot functionality in the core 2013-03-01 19:04:56 +01:00
Jaime Melis 7357bffe34 Update copyright notice 2013-01-24 16:18:30 +01:00
Jaime Melis af61e33f8c Update year to 2013 2013-01-24 16:03:57 +01:00
Carlos Martín 2d68cb5fdb Bug #1595: Store a collection of Image IDs that are currently cloning an Image 2012-10-31 17:52:23 +01:00
Carlos Martín c2eec65475 Bug #1595: Fix bug in image clone release process 2012-10-31 17:52:22 +01:00
Ruben S. Montero b9b15e376f bug #1371: Removed unused variable 2012-07-23 13:42:02 +02:00
Ruben S. Montero 103d8e224d bug #1371: Set image state to DELETE when deleting image. Removed unneeded check upon CP SUCCESS 2012-07-23 13:40:10 +02:00
Ruben S. Montero caab59b038 bug #1295: If an image is successfully CP/CLONE/MKFS, but it no longer exists log messages is generated to check the datastore 2012-07-03 17:15:28 +02:00
Ruben S. Montero b136938841 feautre #1291: Do not update images if they have been removed 2012-06-15 17:17:11 +02:00
Ruben S. Montero 44f01658ec feature #1291: Clone actions for core and drivers. Driver plugins for FS and summy datastores 2012-06-13 00:56:27 +02:00
Ruben S. Montero 29366ca7f2 feature #1291: Clone operation in ImageDriver. Clone logic moved to ImageManager. Added missing add_image for saveas and clone operations 2012-06-13 00:32:01 +02:00
Ruben S. Montero c503cea9a6 Merge branch 'master' into feature-1291. It also implements a new state machine for images to fix #1297
Conflicts:
	include/Template.h
	src/image/Image.cc
	src/image/ImageManagerActions.cc
	src/image/ImageManagerDriver.cc
	src/rm/RequestManagerAllocate.cc
2012-06-12 18:59:23 +02:00
Ruben S. Montero cbcda494d7 feature #1288: Update usage counters on resource removal 2012-06-06 17:05:11 +02:00
Ruben S. Montero 7b934d673c feature #1288: Integrate stat driver function with image allocation process 2012-06-01 19:18:49 +02:00
Ruben S. Montero b52cfad498 feature #1288: Stat action for core. Re-write of image driver protocol 2012-06-01 12:02:15 +02:00
Carlos Martín b377e4db99 Feature #1291: New one.image.clone method
The core functionality is in place, but it is using the CP command.
To make it work, the ds_map cp scripts need to ignore the
check_restricted call. We will have to add another script to
the ds_mad drivers, probably clone
2012-05-25 12:56:51 +02:00
Carlos Martín 2b78758892 Bug #1170: Log RM error with the right image source 2012-03-16 15:56:56 +01:00
Ruben S. Montero ea089f0626 feature #1112: Fix errors in mvds scripts 2012-03-06 23:23:33 +01:00
Ruben S. Montero 92dd8d4c5e feature #1112: Save_as functionality 2012-03-05 23:49:18 +01:00
Ruben S. Montero 3a8525bdc1 feature #1112: Work on the datastore drivers:
- Moved references to image_mad to datastore_mad. Adjusted installation dirs and source files
  - FS driver cp command uses DS_DRIVER_ACTION_DATA message
  - New libfs.sh to deal with datastore protocol
  - New xpath.rb to get XML elements in shell programs
  - Change oned.cong and OpenNebula core files to use DATASTORE instead of IMAGE
  - Change mkfs driver function to use the drv action data
2012-02-19 02:08:03 +01:00
Carlos Martín b0063c0f80 Feature #1112: WIP, Use XML data in image manager driver messages 2012-02-17 17:28:31 +01:00
Carlos Martín 5a67956e68 Bug #1083: Better handling of RM FAILURE in ImageManagerDriver
(cherry picked from commit 8c348ca259)
2012-01-24 09:22:26 -08:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero a3a8c20791 Fix delete of Images with empty SOURCE (may happen when an image can not be registered in the repo) 2011-10-29 23:34:20 +02:00
Ruben S. Montero 8356248782 bug #847: changes the prototype of mkfs function in Image Driver 2011-10-11 15:45:38 +02:00
Ruben S. Montero c8f44ede9a feature #788: Compute image size when moving an image to the repository. Drivers now return <CP|MV|MKFS> SUCESS IMAGE_ID SOURCE SIZE. The fs based image repository drivers has been updates, oneimage utility has been also updated to show the size (list and show operations). 2011-08-31 16:21:18 +02:00
Carlos Martín edf3df5671 Feature #662: Add error message to PoolSQL::drop 2011-06-08 19:18:12 +02:00
Ruben S. Montero dd03d3b71d feature #407: Added mixing unlock when dropping image 2011-06-04 04:10:03 +02:00
Ruben S. Montero 96f26468a1 feature #523: Image repository is now decopled from storage backend. Source is generated by drivers using a driver-specific URL. 2011-05-07 02:49:07 +02:00
Ruben S. Montero db8aa7f5bf feature #575: Improved log messages for drivers. Error string also propagated to images 2011-04-15 01:51:38 +02:00
Ruben S. Montero b9222df0e3 feature #523: ImageManager and RequestManager integration 2011-03-25 23:53:55 +01:00
Ruben S. Montero 9799a3bc20 feature #523: Added delete method for the Image Manager 2011-03-25 00:11:10 +01:00
Ruben S. Montero 0d0a569741 feature #523: Interation of the Image Manager with RM for allocate. Multiple bug fixes and integration issues 2011-03-24 19:52:59 +01:00
Ruben S. Montero 8d3a1e3557 feature #523: Integration of Image Drivers with the Image Manager 2011-03-24 18:27:19 +01:00
Ruben S. Montero 9db8829d35 feature #523: work on the release image methods 2011-03-24 16:37:15 +01:00
Ruben S. Montero 96bf8eacdb feature #523: New drivers for the Image Repository 2011-03-12 00:41:10 +01:00