Commit Graph
104 Commits
Author SHA1 Message Date
Ruben S. Montero b65afc38ee feature #1879: Check name for all pools 2013-04-10 14:50:00 +02: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 d4245a6699 Feature #1681: Add new oned.conf att. for a default umask 2013-01-18 18:34:51 +01:00
Carlos Martín bf8c8c4d68 Feature #1617: Minor edits, typos 2012-12-05 16:48:56 +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 46c3a8ec1c feature #1617: Implements a new $FILE parser for VM templates. Initial function to get kernels from FILE_DS datastores 2012-11-17 02:46:03 +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 8feb9206c4 feature #1617: Fix bugs when checking DS and FILE types. Fix bug to stat FILE images 2012-11-16 14:28:17 +01:00
Ruben S. Montero 0496414051 feature #1617: Checks: FILE Images can only be registered in FILE_DS. Cannot clone FILE images. 2012-11-16 13:57:17 +01: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
Carlos Martín 0b4cee1359 Bug #1562: Before an image clone operation, check the source Image's state 2012-10-19 12:54:13 +02:00
Ruben S. Montero 29ad5368d2 feature #1013: Abstract hook registration. Add hook support for images, users and groups. 2012-10-09 11:56:01 +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
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 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 4420b1d81b feature #1288: New VM and Network quotas. Integration qith VM create operation 2012-06-05 19:04:02 +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 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
Carlos Martín 1e63b6ce4e Feature #1112: Add TM_MAD to Datastores 2012-02-22 18:22:41 +01:00
Carlos Martín 174ba75d63 Feature #1112: Move datastore definition from image template to xml-rcp parameter 2012-02-15 16:47:52 +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
Ruben S. Montero 6d15673184 feature #1070: Moved some logic to Template classes 2012-01-23 23:09:47 +01:00
Carlos Martín deb244c1b6 Feature #1070: Make VM and IMG restricted attributes configurable in oned.conf 2012-01-23 08:18:12 -08:00
Jaime Melis a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero e6628a1f75 Feature #862: Re-factor PoolObjectAuth. Moved ObjectType to PoolObjectSQL. simplified interface for AuthManger::add_auth. 2012-01-03 02:58:23 +01:00
Carlos Martín 75d5e7a1fb Add the Object type to the PoolObjectAuth class 2012-01-02 22:14:43 +01:00
Carlos Martín fef8cdbf08 Rename Permissions class to PoolObjectAuth and move it to its own .h file 2012-01-02 21:17:20 +01:00
Carlos Martín eaa257103e Refactor PoolObjectSQL::Permissions to be a separate class. Use pointers for Permissions arguments 2012-01-02 19:21:54 +01:00
Carlos Martín 58b831c471 New class PoolObjectSQL::Permissions to move objects ownership and permission attributes to the Auth & ACL Managers 2011-12-29 22:05:11 +01:00
Ruben S. Montero 0b417d6eb1 feature #966: Bug returning the id of the acquired image 2011-11-12 23:38:30 +01:00
Ruben S. Montero 34cb7a19be feature #966: Images can now be referred by name with IMAGE. Conflicts for images with the same name can be resolved with IMAGE_UID and IMAGE_UNAME 2011-11-12 03:20:59 +01:00
Carlos Martín 771a4ac8d9 Bug #848: Set name columns to 128 chars. The name length is checked for new objects 2011-10-10 17:48:06 +02:00
Carlos Martín 91d554b3aa Bug #804: Better image release rollback when a VM can't be created 2011-09-15 19:07:30 +02:00
Carlos Martín 1ff5ae0f0e Bug #806: Fix rc variable initialization in ImagePool::disk_attribute 2011-09-13 19:17:12 +02:00
Carlos Martín 32e10726d4 Bug: Image and VNet creation with an already used name reported a DB error, instead of a nice reason like Templates 2011-07-12 19:30:00 +02:00
Ruben S. Montero 82982a7a31 feature #653, #488: Images can only be referenced by ID in DISKs. Names can now be repeated, even for the same user 2011-07-08 18:55:21 +02:00
Ruben S. Montero 8e33e4cded feature #687: Resources now stores the name of the owner and the group 2011-06-30 11:31:00 +02:00