Commit Graph
251 Commits
Author SHA1 Message Date
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
Carlos Martín e35567ee1d Start to clean and update core unit tests. 2012-07-13 16:40:56 +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 a26fad7fe5 feature #1312: Add DEV_PREFIX to all disk types. Remove BUS from Libvirt drivers 2012-06-22 17:00:35 +02:00
Carlos Martín 256a63f9e6 Feature #1312: Remove BUS attribute form core 2012-06-22 15:44:28 +02:00
Jaime Melis 5e8807fa6a Feature #1291: reverse valid cloning image states 2012-06-22 15:03:24 +02:00
Ruben S. Montero a857c5dadf Merge branch 'master' of git.opennebula.org:one 2012-06-21 16:53:07 +02:00
Ruben S. Montero 2a21c25f45 Fix typo 2012-06-21 16:52:04 +02:00
Carlos Martín 37a816d4a4 Feature #1291: Fix Image state transition from READY to USED/USED_PERS 2012-06-21 16:47:12 +02:00
Ruben S. Montero 7122f5d5b0 Allow DATABLOCKs to be defined with PATHs 2012-06-21 16:45:52 +02:00
Ruben S. Montero 727826b0a8 Merge branch 'feature-1223'
Conflicts:
	src/image/ImageManagerActions.cc
	src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java
2012-06-19 23:48:13 +02:00
Ruben S. Montero 5f180478cf Add missing blanks in error message 2012-06-19 18:45:33 +02:00
Ruben S. Montero f1f9e0f2fb Improve error messages when a vnet or image is not found by name 2012-06-19 18:42:34 +02:00
Ruben S. Montero 0195060cd7 feature #1233: Make use of DEV_PREVIX in DISK attributes 2012-06-19 16:51:22 +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 1dbeaa1719 feature #1233: Added quotas.Refactor Attach methods 2012-06-15 12:28:20 +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 981db30338 feature #1288: Support for Group quotas 2012-06-08 22:14:40 +02:00
Ruben S. Montero 819f1b6a41 feature #1288: Abstract quota functionality to be reused by Groups 2012-06-08 13:45:15 +02:00
Ruben S. Montero 82e3f2e052 feature 1288: Add missing updates after modifying user quotas. XML-RPC method to set user quotas 2012-06-07 00:04:08 +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 4420b1d81b feature #1288: New VM and Network quotas. Integration qith VM create operation 2012-06-05 19:04:02 +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
Ruben S. Montero d6beb1fb06 feature #1288: Work on Quota interface. Integration with authZ/authN system 2012-05-29 00:36:13 +02:00
Carlos Martín 21025051c8 Feature #1291: Allow multiple clone operations for persistent images 2012-05-25 14:49:32 +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
Ruben S. Montero 71e4dc6967 bug 1212: Pass references instead of pointers 2012-04-27 00:12:55 +02:00
Carlos Martín c71a92d18a Bug #1232: Improve automatic target assignment 2012-04-26 16:54:24 +02:00
Carlos Martín 7da6c9883e Bug #1232: Bring back part of commit:e401b49 : Only allow Datastore & volatile disks. 2012-04-26 16:54:24 +02:00
Carlos Martín f0c1641fdc Revert "bug #1232: Only allow Datastore & volatile disks. Remove automatic target generation. Remove unneeded oned.conf attributes"
This reverts commit e401b4900d.
2012-04-26 16:54:24 +02:00
Ruben S. Montero e401b4900d bug #1232: Only allow Datastore & volatile disks. Remove automatic target generation. Remove unneeded oned.conf attributes
(cherry picked from commit 5c1d4edb01)
2012-04-21 01:54:14 +02:00
Carlos Martín 05f93acb38 Bug #1237: Disable the cache name index for the VM pool 2012-04-20 10:23:51 +02:00
Ruben S. Montero 62a9ebe555 Bug: Add support for BLOCK disk types. Datastore supports a new attribute DISK_TYPE that is inherited by
the IMAGE and subsequent DISKs in VM templates. By default the FILE type is used
2012-04-19 11:44:19 +02:00
Ruben S. Montero 2ca77fb845 bug: Fix deadlock when deleting the same object multiple times 2012-03-29 19:17:30 +02:00
Carlos Martín 2b78758892 Bug #1170: Log RM error with the right image source 2012-03-16 15:56:56 +01:00
Carlos Martín a9d7a9b072 Bug #1159: Move restricted attribute checks to RM. Do not check restricted attributes when a template owned by oneadmin is instantiated 2012-03-09 17:34:57 +01:00
Carlos Martín e522dabcc1 Feature #1112, #962: Fix a bunch of typos in error messages 2012-03-07 17:45:08 +01:00
Carlos Martín 3a81160c93 Feature #1112: Fix segmentation fault when drivers are not defined in oned.conf 2012-03-07 17:19:08 +01:00
Ruben S. Montero ea089f0626 feature #1112: Fix errors in mvds scripts 2012-03-06 23:23:33 +01:00
Carlos Martín ea70484edc Feature #1112: Fix save_as image state update when VMs in failed state are deleted 2012-03-06 18:44:22 +01:00
Carlos Martín c9cc70dc81 Feature #1112: Fix save_as in mkfs datastore_mad drivers 2012-03-06 18:08:20 +01:00
Ruben S. Montero d38292505b feature #1112: Update Image state when releasing it (persistent and save_as images) 2012-03-06 00:18:01 +01:00
Ruben S. Montero 92dd8d4c5e feature #1112: Save_as functionality 2012-03-05 23:49:18 +01:00
Ruben S. Montero a40bb000fd feature #962: Fix wrong error message 2012-02-24 21:29:32 +01:00
Ruben S. Montero fc6aa51c0d feature #962, feature #1112: Improve error messages when getting an Image or a Virtual Network 2012-02-24 21:13:56 +01:00
Ruben S. Montero f411c685d7 Fix compilation for tests with the new classes 2012-02-24 21:12:50 +01:00