1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00
Commit Graph

94 Commits

Author SHA1 Message Date
Carlos Martín
5f8af5cf39 Feature #1678: Make all disk related variables long long 2013-10-17 17:38:45 +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
17052e6992 Feature #1713: Add host, ds and vnet rename actions 2013-09-02 12:53:54 +02: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
146ca09e08 feature #1791: new saveas hot functionality in the core 2013-03-01 19:04:56 +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
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
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
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
f76a4a98b0 Bug #1600: Do not allow to change Image persistence when the image is being cloned 2012-10-30 18:37:37 +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
Carlos Martín
256a63f9e6 Feature #1312: Remove BUS attribute form core 2012-06-22 15:44:28 +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
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
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
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
92dd8d4c5e feature #1112: Save_as functionality 2012-03-05 23:49:18 +01:00
Carlos Martín
e9d026e3ae Feature #1112: WIP associate Images to Datastores 2012-02-10 19:28:18 +01:00
Jaime Melis
a2b7cb6bc9 Bump to version 3.2.0 2012-01-12 12:29:18 +01:00
Ruben S. Montero
5c033040aa feature-862: Check persistent state and permissions for Images 2012-01-06 01:36:57 +01:00
Carlos Martín
3f51dd48de Feature #862: Remove public attribute from core 2012-01-04 06:31:20 -08:00
Carlos Martín
f0d8ac78d6 Bug #759: Check if XML is valid before it is stored in the DB. 2011-12-19 17:09:31 +01:00
Ruben S. Montero
9abd1e91a4 Merge branch 'master' into bug-847 2011-10-27 01:46:30 +02:00
Carlos Martín
f0b1a28d89 Bug #868: Add new one.image.chtype method, in core, ruby & java oca, and CLI. Needs testing 2011-10-21 18:50:04 +02:00
Ruben S. Montero
30a9162f5e Merge branch 'master' into bug-847
Conflicts:
	src/um/UserPool.cc
2011-10-15 00:22:52 +02:00
Ruben S. Montero
7683ba8998 bug #847: Cleans image templates so only metadata is left. Adds path and fstype to image attributes for reference 2011-10-11 16:05:32 +02:00
Carlos Martín
21bca20780 Bug #848: Add error message and stop oned execution if bootstrap fails 2011-10-10 06:14:46 -07: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
Ruben S. Montero
22574704e4 bug #742: Cosmetic change in error message for Image::persistent method 2011-07-27 10:17:17 +02:00
Carlos Martín
3cf9d5c68b Bug #742: Images can't be made (non)persistent when are in use. Add better error reporting. 2011-07-26 19:35:58 +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
Ruben S. Montero
589fa7a875 feature #407: Fixes Image tests. persistent method returns 0 (not true) for successful operations 2011-06-09 10:51:17 +02:00
Carlos Martín
e28ad2a69d Feature #662, #407: Delete operator<< from PoolObjectSQL classes. Remove Cluster objects. 2011-06-03 15:33:48 +02:00
Carlos Martín
fa46633339 Feature #662: New update method for Images and Templates added to OCA and CLI (work in progress).
New template instantiate method in OCA and CLI.
Fix small bugs in RM.
2011-06-02 19:17:22 +02:00
Ruben S. Montero
686b8d5b40 feature #662: Removed uneeded files. New factory method to get templates from a PoolObjectSQL 2011-06-01 23:53:09 +02:00
Ruben S. Montero
b050a5da9f feature #622: Public is now an attribute of PoolObjectSQL. Redesign of authorization function 2011-05-26 12:20:56 +02:00
Carlos Martín
3fa10a2ddf Feature #407: Add 'GID' attribute to some pool objects; change *pool.info XML-RPC flag meaning; update onedb migrator; fix tests.
* VM, VMTEMPLATE, VNET & IMAGE objects have a GID attribute, and a table column. The group id is inherited from the user creating the object, except for VMs created from Templates, that inherit the Template's group.
  * The new flag meaning has been modified in src/rm sources and CLI commands for one.(vm,template,vnet,image)pool.info . It changes from
      -2 all,  -1 mine & public,  >=0 UID
    to
      -3 mine,  -2 all,  -1 mine & group
  * USER has a group, but not secondary ones. The user_pool table doesn't have a GID column, we'll deal with it later when the group-users relations are implemented.
  * onedb migrator 1.rb: deleted USERNAME, and GID added.
2011-05-16 17:00:27 +02:00
Carlos Martín
09c93c7528 Feature #407: Remove usernames from owned resources, only user-id is stored now. 2011-05-12 17:10:35 +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