Commit Graph
145 Commits
Author SHA1 Message Date
Carlos Martín b559b3250a Feature #2459: Define image, ds and vnet attributes to be inherited to the VM disk or nic sections 2013-11-14 11:49:53 +01:00
Carlos Martín 836a0bafb0 Feature #2357: Fix disk_type detection.
By default it is FILE, and now disk_type = file also works.
2013-11-04 15:00:05 +01:00
Ruben S. Montero e1499784f0 Add Gluster type to Datastores 2013-11-03 18:52:14 +01:00
Ruben S. Montero a2dd9e9780 feature #2357: When creating a Datastore, if a wrong DISK_TYPE is specified an error is reported 2013-11-03 18:03:39 +01:00
Ruben S. Montero b99d0c294a Merge branch 'feature-1678'
Conflicts:
	src/im_mad/remotes/common.d/collectd-client_control.sh
	src/onedb/4.2.0_to_4.3.80.rb
2013-10-25 21:23:27 +02:00
Javi Fontan 97c0376e62 feature 2399: Do not clone cdrom images 2013-10-24 10:58:31 +02:00
Carlos Martín 5f8af5cf39 Feature #1678: Make all disk related variables long long 2013-10-17 17:38:45 +02:00
Carlos Martín 887a4191a5 Feature #1678: Method to calculate VM storage usage in scheduler 2013-10-17 17:38:24 +02:00
Jaime Melis 3c300cc5c3 Bug #2252: Guest XML incorrect for CDROM images in a ceph datastore
Also prepare a new DiskType for Gluster, which might be useful in the future
2013-10-08 18:51:54 +02:00
Carlos Martín ff384e6b01 Bug #2353 #2354: disk_type is not removed from template, is processed in update, and is case insensitive 2013-10-02 16:21:46 +02:00
Carlos Martín b892965041 Feature #2212: IMAGE/FSTYPE and DISK/FORMAT now default to 'raw' 2013-09-06 17:11:03 +02:00
Ruben S. Montero 15ff8b16e9 bug #1813: Storage type for BODY columns is now MEDIUMTEXT (this is only relevant for MySQL DBs)
(cherry picked from commit b68a8b6c83)
2013-03-15 15:34:30 +01:00
Jaime Melis 555da9937b Feature #1068: The core supports RBD images 2013-02-12 18:42:17 +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
Ruben S. Montero dc9a6711e0 Merge branch 'feature-1681' 2013-01-22 15:41:10 +01:00
Carlos Martín d4245a6699 Feature #1681: Add new oned.conf att. for a default umask 2013-01-18 18:34:51 +01:00
Ruben S. Montero d797d04a88 feature #1449: Adds the IMMUTABLE persistent_type. This means that a persistent image will not be cloned and will not be modified, thus READONLY = YES and SAVE = NO 2013-01-17 23:14:34 +01:00
Ruben S. Montero ff926f17d5 feature #1617: New image types: KERNEL, RAMDISK and CONTEXT to store plain files for different uses. 2012-12-04 23:19:08 +01:00
Ruben S. Montero 2d25550e6f feature #1617: Add default to disk_attribute 2012-11-29 23:29:28 +01:00
Ruben S. Montero ed9a14077a feature #1617: Image of type FILE: are always non-persistent, does not have DEV_PREFIX, cannot be acquired, cannot change type as they live in a FILE_DS. 2012-11-16 16:36:58 +01:00
Ruben S. Montero 3c3830aeaf feature #1617: Fix compilation issue, renamed constant 2012-11-16 12:00:43 +01:00
Ruben S. Montero f19debf505 feature #1617: Added a new image type: FILE 2012-11-16 11:29:52 +01:00
Ruben S. Montero 9311c5dc01 bug #1595: prevent double unlocks on relasing cloning images. 2012-11-01 19:54:29 +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 18921ed91c Move host & image vms collection xml element order 2012-10-25 17:42:43 +02:00
Ruben S. Montero fc3f24045d bug - : Solves wrong deployment file generation when using context. Adds collections to perform sanity
checks on host to vms and image to vms relationships
2012-10-25 01:32:35 +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
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 0195060cd7 feature #1233: Make use of DEV_PREVIX in DISK attributes 2012-06-19 16:51:22 +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 7b934d673c feature #1288: Integrate stat driver function with image allocation process 2012-06-01 19:18:49 +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
Ruben S. Montero 2a8b04a32b Fix shameful compilation error in master 2012-04-20 10:25:55 +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
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 c9cc70dc81 Feature #1112: Fix save_as in mkfs datastore_mad drivers 2012-03-06 18:08:20 +01:00
Ruben S. Montero 92dd8d4c5e feature #1112: Save_as functionality 2012-03-05 23:49:18 +01:00
Ruben S. Montero d754c987e6 feature 1112: Work integrating datastores and images 2012-02-15 00:19:42 +01:00
Carlos Martín e9d026e3ae Feature #1112: WIP associate Images to Datastores 2012-02-10 19:28:18 +01:00
Carlos Martín 5bd2e8fa54 Feature #940: Add restricted attributes for Images 2012-01-20 17:45:14 +01:00