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
bf513d6d2e
Bug #772 : Update the VNet object when a lease is set/unset
2011-08-30 16:44:56 +02:00
Carlos Martín
11214a6758
Bug #298 : VM::save_disk now doesn't work for VMs in DONE or FAILED states. Remove duplicated log entry.
2011-07-27 12:12:40 +02:00
Ruben S. Montero
88317546b5
feature #653 , #488 : Networks can only be referenced by ID in NICs. Names can now be repeated, even for the same user
2011-07-08 20:00:27 +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
95cc8c31d5
feature #687 : Potentiall access to freed memory in Object_XML::get_nodes. Nodes must be disposed when not needed by the calling function
2011-07-03 01:57:39 +02:00
Ruben S. Montero
d74b69e4ce
Merge branch 'feature-696' into feature-687 + Filter for all groups
...
Conflicts:
include/RequestManagerPoolInfoFilter.h
src/rm/RequestManagerPoolInfoFilter.cc
2011-07-01 18:39:36 +02:00
Ruben S. Montero
255c8ff886
feature #687 : user and group name are now stored in XML descriptions
2011-06-30 12:09:25 +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
9cea16cd5e
feature #696 : Virtual Machine info method now returns the full history of the VM.
2011-06-25 01:29:44 +02:00
Carlos Martín
34585c7402
Bug: If a VMTemplate was instantiated without name, the resulting VM's template had two XML NAME attributes, one of them empty.
2011-06-16 16:16:20 +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
Ruben S. Montero
437a01a2c6
feature #622 : Added PERSISTENT tag to DISKs based in persistent IMAGES. New method to setup auth requests for virtual machine templates.
2011-06-01 12:41:46 +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
10e85c658b
feature #523 : compilation warning
2011-04-12 23:06:53 +02:00
Ruben S. Montero
2c6e6821ca
feature #523 : Minor changes: changed a if test and moved to unlock to error sections
2011-04-12 17:44:06 +02:00
Carlos Martín
2ce4009975
Feature #523 : Extra error checks for one.vm.savedisk XML-RPC method
2011-04-11 18:05:43 +02:00
Ruben S. Montero
1e4e4f2c32
feature #523 , #407 , #488 : Template is now part of base class PoolObjectSQL
2011-04-08 01:02:55 +02:00
Ruben S. Montero
5ba3999273
feature #523 : Moved saveas to core. Some checks still needs to be done: image is not persistent, image is not going to be saved. Also types should be preserved if building from an exisiting image.
2011-04-07 02:01:40 +02:00
Ruben S. Montero
7f67ceff0a
Merge branch 'feature-407' into feature-523
...
Conflicts:
src/image/ImagePool.cc
2011-03-24 16:53:43 +01:00
Ruben S. Montero
23ea7a6a97
feature #523 : Better interface for the ImageManager
2011-03-23 00:14:27 +01:00
Carlos Martín
27341b66cf
Features #539 , #407 : Small consistency checks for VMs
2011-03-22 18:40:03 +01:00
Ruben S. Montero
c59f542ee6
feature #523 : Work on the Image Repository
2011-03-22 18:21:09 +01:00
Ruben S. Montero
08466818fd
Merge branch 'feature-407' into feature-523
2011-03-10 12:34:46 +01:00
Ruben S. Montero
ac6c5644fd
feature #407 : Minor changes for the VirtualMachine Pool
2011-03-08 17:55:14 +01:00
Ruben S. Montero
9288a79aa3
feature #407 : Several bug fixes. Better index for names.
2011-03-05 03:24:11 +01:00
Ruben S. Montero
fadbe3a4d7
feature #407 : All resources now uses the base classes and index
2011-03-04 23:26:55 +01:00
Ruben S. Montero
e18675bf67
feature #407 : Refactor of base classes to include names and uid. Also the pool now has an index to get objects by name
2011-03-04 22:37:21 +01:00
Carlos Martín
e22e1cc278
Feature #407 : VM's last_seq deleted, it is not needed any more
2011-03-01 18:46:59 +01:00
Carlos Martín
493a9e9c8e
Feature #407 : Virtual Machine uses new xml blob DB schema
2011-03-01 17:47:20 +01:00
Jaime Melis
4980255942
Update copyright year to 2011
2011-02-25 14:34:44 +01:00
Carlos Martín
f9902c89ec
Bug #419 : "SELECT *" SQL statement modified to use the column names
2011-01-27 17:23:51 +00:00
Carlos Martín
90a58ce066
one.vmpool.info xml-rpc method now has 2 more parameters
...
The method keeps compatibility, and can be called with 2 or 4 parameters
It now returns the the extended info upon request, reading only the vm_pool
table in the DB if the Histoy and username are not needed
The last parameter allows filtering by VM status
2010-08-27 16:11:28 +02:00
Ruben S. Montero
f16f88a6e9
bug #274 : work on the error messages
2010-08-06 00:40:18 +02:00
Ruben S. Montero
7ac6121da9
bug #274 : Error messages are now sent to the user when allocating objects
2010-08-05 19:28:28 +02:00
Ruben S. Montero
4f82f078b8
Merge branch 'bug-295' into one-2.0
...
Conflicts:
include/Image.h
src/image/Image.cc
2010-08-04 17:42:53 +02:00
Tino Vázquez
fc91d48210
bug #291 : Number of DATABLOCKs than a VM can have is set to a maximum of 10
2010-08-04 13:05:13 +02:00
Carlos Martín
7221ae061c
feature #282 & #192 : VirtualMachineTemplate moved from its own table to a vm_pool column.
2010-08-04 10:30:31 +02:00
Ruben S. Montero
84e51477e4
feature #295 : Only overwritten images are disabled
2010-08-01 17:54:46 +02:00
Ruben S. Montero
971031f326
bug #295 : Images are disabled if have to be written in the repo
2010-08-01 17:44:58 +02:00
Jaime Melis
71acb4318e
Fixed a bug where a stringstream wasn't beiing correctly cleared in a loop
2010-07-26 17:54:38 +02:00
Carlos Martín
007f5f6b9c
feature #200 : XML-RPC method for saving images while a VM is executing.
2010-07-21 18:10:58 +02:00
Ruben S. Montero
2eafe51805
feature #200 : Added default DISK_ID, simplified states
2010-07-21 17:50:04 +02:00
Ruben S. Montero
6e3d697d9e
Updates image when acquired/released
2010-07-21 15:19:27 +02:00
Carlos Martín
5997d7ffe7
feature #281 : VM can only use now one OS image and one CDROM image.
2010-07-20 20:09:37 +02:00
Carlos Martín
51eedd87d9
feature #279 : Default target values for CONTEXT and SWAP disks.
2010-07-20 17:05:29 +02:00
Ruben S. Montero
34b2ed6c5c
feature #203 : Authorization method for VMs now in RM
2010-07-14 18:11:29 +02:00
Ruben S. Montero
1035fe7722
feature #203 : Removed Auth from allocate (VM, IMAGE & NET). Added NETWORK and NETWORK_ID for NICs and IMAGE and IMAGE_ID for DISKS
2010-07-14 16:21:41 +02:00