Carlos Martín
536f881c45
Merge remote-tracking branch 'origin/one-4.0' into feature-1631
...
Conflicts:
src/rm/RequestManagerVirtualMachine.cc
2013-04-03 18:13:36 +02:00
Carlos Martín
72d3ea9471
Feature #1631 : Change history reasons to be only 3: none, user, error
2013-04-03 17:38:06 +02:00
Ruben S. Montero
72e68b0703
Merge branch 'feature-1835' into one-4.0
...
Conflicts:
src/lcm/LifeCycleStates.cc
src/vmm/VirtualMachineManager.cc
2013-04-03 17:11:16 +02:00
Carlos Martín
3ddbef0a18
Feature #1631 : Use enum type in RM one.vm.action
2013-04-03 16:43:02 +02:00
Carlos Martín
a942853917
Feature #1631 : Add a new ACTION filed to each History
2013-04-03 16:18:50 +02:00
Ruben S. Montero
ae32c48183
feature #1839 : Add JAVA bindings for undeploy, rename UNDEPLOYING to SHUTDOWN_UNDEPLOY
2013-04-03 00:28:06 +02:00
Carlos Martín
728d043574
Feature #1839 : Rename shutdown-save to undeploy
2013-04-02 17:01:22 +02:00
Carlos Martín
15841a302f
Feature #1839 : Implement resume from shutdown-save
2013-04-01 15:27:46 +02:00
Carlos Martín
675d936741
Feature #1839 : New action shutdown-save(-hard) in core
2013-03-27 18:15:53 +01:00
Carlos Martín
2589ab86fe
Feature #1835 : Implement poweroff --hard in core
2013-03-27 13:48:06 +01:00
Javi Fontan
d937cc33ce
Bump version to 3.9.80
2013-03-25 12:39:05 +01:00
Carlos Martín
9c9dfeadd7
Bug #1800 : Update disabled hosts with empty monitorization values
2013-03-19 19:08:48 +01:00
Ruben S. Montero
8469449a0b
Merge branch 'master' into feature-1664
2013-03-15 20:00:53 +01:00
Ruben S. Montero
9af900cd35
bug #1807 : Adds a new ERROR_MONITOR message. Fix monitor timers when monitor fails.
2013-03-15 17:37:47 +01:00
Ruben S. Montero
1e1c454351
Merge branch 'master' into feature-1664
2013-03-15 10:48:37 +01:00
Carlos Martín
bbd2274c87
Feature #1791 : Avoid deadlock
2013-03-14 18:03:15 +01:00
Carlos Martín
ee625402ae
Merge remote-tracking branch 'origin/master' into feature-1664
2013-03-14 15:43:28 +01:00
Carlos Martín
bf88881240
Feature #1791 : onevm delete/resubmit in the middle of hotplug or save as operation now does a better cleanup
2013-03-14 15:31:00 +01:00
Ruben S. Montero
6b5e43c2cd
Merge branch 'master' into feature-1664
2013-03-13 23:14:33 +01:00
Carlos Martín
62698538e3
Feature #1791 : Refactor code
2013-03-13 19:11:26 +01:00
Carlos Martín
bb21bb2c39
Feature #1791 : Label the disks being saved as before the RM requests end
2013-03-13 18:47:03 +01:00
Carlos Martín
cd65ac490f
Refactor in VM.cc
2013-03-13 17:43:42 +01:00
Carlos Martín
5ef5a137ea
Feature #1320 : Better error messages for image operations
2013-03-12 17:32:17 +01:00
Simon Boulet
60b47c7183
Bug #1810 : Fix oned crash when calling attachdisk with an improperly formated DISK template
...
Signed-off-by: Simon Boulet <simon@nostalgeek.com>
2013-03-12 16:29:26 +01:00
Carlos Martín
948f7bc301
Feature #1556 : onevm update does not allow users to change restricted attributes
2013-03-12 15:26:14 +01:00
Daniel Molina
39af3077bf
Merge remote-tracking branch 'origin' into feature-1664
2013-03-11 15:54:38 +01:00
Carlos Martín
e1e4eb34f5
Feature #1772 : Change the one.vm.resize method to accept a template, instead of individual parameters
2013-03-11 15:43:59 +01:00
Carlos Martín
1187524cf3
Merge remote-tracking branch 'origin/master' into feature-1664
...
Conflicts:
src/sunstone/public/js/plugins/vms-tab.js
2013-03-08 18:42:10 +01:00
Ruben S. Montero
0e2849b645
Merge branch 'master' into feature-1791
...
Conflicts:
include/LifeCycleManager.h
include/VirtualMachine.h
src/lcm/LifeCycleActions.cc
src/lcm/LifeCycleManager.cc
src/lcm/LifeCycleStates.cc
2013-03-07 23:40:01 +01: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
d74c51e7a4
feature #1791 : set the hotplug_saveas state at the beginning of the action. Allow for suspended and poweroff to be saveas-hot valid states.
2013-03-07 13:09:57 +01:00
Daniel Molina
bec508cfb5
Merge remote-tracking branch 'origin/master' into feature-1664
2013-03-07 11:02:45 +01:00
Daniel Molina
c23ad13f81
Merge remote-tracking branch 'origin/master' into feature-1664
2013-03-06 19:09:13 +01:00
Ruben S. Montero
e5ca272b7e
feature #1691 : New state for hotplugging a network interface
2013-03-06 18:33:18 +01:00
Jaime Melis
3816c614ef
feature #1791 : manage the image lifecycle during the saveas hot operation
2013-03-06 16:09:11 +01:00
Ruben S. Montero
5b117c6d2d
Merge branch 'master' into feature-1691
...
Conflicts:
include/DispatchManager.h
include/LifeCycleManager.h
include/RequestManagerVirtualMachine.h
include/VirtualMachineManager.h
include/VirtualMachineManagerDriver.h
src/cli/onevm
src/dm/DispatchManagerActions.cc
src/lcm/LifeCycleManager.cc
src/lcm/LifeCycleStates.cc
src/mad/ruby/VirtualMachineDriver.rb
src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java
src/oca/ruby/opennebula/virtual_machine.rb
src/onedb/3.8.1_to_3.9.80.rb
src/rm/RequestManager.cc
src/rm/RequestManagerVirtualMachine.cc
src/vmm/VirtualMachineManager.cc
src/vmm/VirtualMachineManagerDriver.cc
src/vmm_mad/dummy/one_vmm_dummy.rb
2013-03-06 15:59:58 +01:00
Ruben S. Montero
70b2018f0a
feature #471 : Cache binary representation of IP's. Reorder attributes to print leases.
2013-03-03 20:39:29 +01:00
Ruben S. Montero
c96eb249d2
feature #471 : Add IPv6 addresses to network leases
2013-03-02 00:23:27 +01:00
Jaime Melis
146ca09e08
feature #1791 : new saveas hot functionality in the core
2013-03-01 19:04:56 +01:00
Carlos Martín
9179e73a83
Feature #1611 : Insert default quotas element in the USER & USER_POOL xmls
...
This saves the extra xmlrpc call each time the pool/user is shown
2013-02-28 14:53:34 +01:00
Ruben S. Montero
84b633b42b
Merge branch 'feature-1224'
...
Conflicts:
include/RequestManagerVirtualMachine.h
src/cli/one_helper/onevm_helper.rb
src/oca/ruby/opennebula/virtual_machine.rb
src/rm/RequestManager.cc
src/rm/RequestManagerVirtualMachine.cc
2013-02-28 03:19:04 +01:00
Ruben S. Montero
78e71d42ce
feature #1224 : split HOTPLUG state into HOTPLUG & HOTPLUG_SNAPSHOT
2013-02-28 02:49:56 +01:00
Ruben S. Montero
7c81925207
feature #1224 : Get rid of unused method in VirtualMachine
2013-02-28 02:09:42 +01:00
Carlos Martín
9f20fd6091
Fix bug in kvm driver: features was case-sensitive
2013-02-26 14:56:41 +01:00
Carlos Martín
25dbb79057
Feature #1556 : The parser for context & requirements looks for variables in both VM templates
2013-02-26 14:32:31 +01:00
Carlos Martín
f1ee01cffa
Feature #1556 : Move all the attributes used in the code to the internal template
2013-02-26 13:03:40 +01:00
Carlos Martín
9e9f40d718
Feature #1772 : Additional sanity checks for new capacity.
...
Even if it was not updated, VCPU was inserted with value "0",
causing the next deployment to fail
2013-02-25 17:01:55 +01:00
Ruben S. Montero
19e90ec530
feature #1722 : Use the right units for host update. Fix enforce in onevm command
2013-02-24 00:57:55 +01:00
Ruben S. Montero
dcfa0a1773
feature #1772:Resize VM capacity (cpu, memory and vcpu) offline
2013-02-23 19:49:06 +01:00
Carlos Martín
4391225f7e
Feature #1224 : Minor edits
2013-02-21 15:21:31 +01:00
Jaime Melis
d1b7fd1b8c
Feature #1224 : New command onevm snapshot-delete
2013-02-21 15:05:19 +01:00
Carlos Martín
ac87bd785c
Feature #1224 : Delete the snapshot attributes when the VMs leave the RUNNING state
2013-02-20 18:51:06 +01:00
Carlos Martín
1177d1fb6d
Feature #1224 : one.vm.snapshotcreate returns the ID of the new snapshot
2013-02-20 18:11:58 +01:00
Carlos Martín
87b5de9cd3
Feature #1224 : New xmlrpc method one.vm.snapshotrevert
2013-02-20 16:57:44 +01:00
Carlos Martín
08399c5732
Feature #1224 : New method one.vm.snapshotcreate
2013-02-19 15:21:33 +01:00
Carlos Martín
ae5561c27e
Feature #1697 : Use add_create_auth for the merged template
2013-02-18 16:44:38 +01:00
Carlos Martín
b5c31213ee
Merge remote-tracking branch 'origin/feature-1697'
2013-02-18 15:07:40 +01:00
Ruben S. Montero
b84a0350a7
Merge branch 'feature-1739'
...
Conflicts:
src/common/NebulaUtil.cc
src/common/SConstruct
2013-02-17 00:07:07 +01:00
Ruben S. Montero
064e99df74
featue #1739 : Minor modifications
2013-02-16 23:49:23 +01:00
Ruben S. Montero
701f33ca5f
featue #1739 : Move Host and VM update functions to each class.
2013-02-16 02:55:17 +01:00
Carlos Martín
60f0d4bfbd
Feature #1697 : Change Template::merge to replace and add attributes
...
This allows to merge a template with repeated attributes, like
several DISK or NIC atts.
2013-02-15 16:07:15 +01:00
Simon Boulet
3deeec215a
Feature #1697 : Initial commit for user supplied Attributes on one.template.instantiate
2013-02-15 14:58:58 +01:00
Ruben S. Montero
9ab566b2d7
Merge branch 'feature-1068'
2013-02-14 23:05:25 +01:00
Carlos Martín
fd73ebf919
Feature #1739 : Clean Host error messages when the problem is solved
2013-02-14 16:55:47 +01:00
Carlos Martín
fd1a2d165a
Feature #1739 : Skip VMM monitoring the first period
2013-02-14 16:31:13 +01:00
Carlos Martín
c5f28d8a03
Feature #1739 : Change host monitoring timeout to 5 minutes
2013-02-14 15:26:30 +01:00
Carlos Martín
7e9d1b8035
Feature #1739 : Move the host last_poll_time filtering to the DB query
2013-02-14 14:51:16 +01:00
Carlos Martín
e37c4d1665
Feature #1739 : Add messages when extra VMs are detected
2013-02-13 18:06:20 +01:00
Carlos Martín
22caac41d7
Feature #1739 : Improve host monitoring performance
...
We don't need to retrieve and parse each Host xml body column, we
already have the Hosts in the cache
2013-02-13 13:20:37 +01:00
Carlos Martín
aac7ca944c
Feature #1739 : Move the logic of what to do with a failed poll to VMMDriver
2013-02-13 11:07:23 +01:00
Jaime Melis
555da9937b
Feature #1068 : The core supports RBD images
2013-02-12 18:42:17 +01:00
Carlos Martín
ead72d740b
Feature #1739 : Detect missing VMs from the Host poll info, and move them to 'unknown'
2013-02-12 17:15:28 +01:00
Javi Fontan
1a712ed5a7
Change Util.h to NebulaUtil.h
...
In MacOS X Util.h caused problems compiling tty_expect as the filesystem
is not case sensitive by default and there is a /usr/include/util.h.
2013-02-12 12:15:09 +01:00
Javi Fontan
562561c6ed
feature #1766 : SysLog support selectable at build time
2013-02-11 19:06:20 +01:00
Carlos Martín
4cdedd2b57
Feature #1739 : Refactor VMMDriver poll so it can be called from IMMDriver
2013-02-11 17:50:08 +01:00
Ruben S. Montero
b8b3f6434d
feature #1739 : Moved SSL functions to one_util namespace. oned decodes messages from information drivers
2013-02-09 16:38:54 +01:00
Ruben S. Montero
3f0e3e8470
Merge branch 'feature-1483'
2013-02-08 22:13:57 +01:00
Ruben S. Montero
d920864c6a
Revert "feature #1483 : Inline hints for simple util functions"
...
This reverts commit 2e72c6c68b
.
2013-02-08 21:58:34 +01:00
Ruben S. Montero
2e72c6c68b
feature #1483 : Inline hints for simple util functions
2013-02-08 21:51:30 +01:00
Ruben S. Montero
4e41c91022
feature #1483 : Moved implementation of util functions to a cc file
2013-02-08 21:50:40 +01:00
Ruben S. Montero
2391713df0
feature #1483 : Add a separated action VM pool
2013-02-07 00:14:25 +01:00
Carlos Martín
92ccbd83fb
Feature #1483 #1556 : Leave SCHED_REQUIREMENTS and SCHED_RANK in the USER_TEMPLATE, so they can be edited
2013-02-06 16:34:46 +01:00
Carlos Martín
c483e7bba0
Feature #1483 #1556 : VM attributes understood by opennebula are moved to TEMPLATE, the rest are left in USER_TEMPLATE
2013-02-06 15:23:55 +01:00
Carlos Martín
3b01566e9b
Feature #1483 : Create new Util.h file to define common methods, like creating log timestamp strings
2013-02-04 18:48:05 +01:00
Ruben S. Montero
6ed2e75657
Merge branch 'feature-1658'
...
Conflicts:
src/scheduler/src/sched/Scheduler.cc
src/scheduler/src/sched/SchedulerTemplate.cc
2013-02-01 19:03:31 +01:00
Ruben S. Montero
b924b8c81f
feature #1658 : Moved init methods to constructors (static). Make use of log system enums for type cheking. Use the same LOG variables as oned for scheduler.
2013-02-01 18:49:03 +01:00
Jaime Melis
7217b53cc2
feature #1658 : the syslog label is now a parameter for the syslog init method and it's not hardcoded inside of it
2013-01-31 23:08:50 +01:00
Jaime Melis
50160c50c7
feature #1658 : Move DEBUG_LEVEL and LOG_SYSTEM to the LOG section in oned.conf
2013-01-31 20:43:17 +01:00
Jaime Melis
32f8098f8b
Feature #1658 : Add SysLogResource class and refactor
2013-01-31 17:27:21 +01:00
Carlos Martín
cdb2a8a476
Feature #846 : Add methods to update the VM template from the sched and log messages
2013-01-30 17:49:24 +01:00
Jaime Melis
2e487cdbbc
Feature #1658 : Enable syslog for oned.log
...
- LOG_SYSTEM in oned.conf
- SysLog class
2013-01-25 17:34:43 +01:00
Ruben S. Montero
99a24ac04a
Merge branch 'master' of git.opennebula.org:one
2013-01-24 17:25:44 +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
b4afe64b61
Merge branch 'master' of git.opennebula.org:one
2013-01-23 22:13:42 +01:00
Carlos Martín
185f05a273
Feature #1565 : Clean ACL rules when a Cluster is deleted
2013-01-23 16:46:14 +01:00
Carlos Martín
eeac62263c
Merge remote-tracking branch 'origin/feature-1685b'
2013-01-23 15:38:07 +01:00
Ruben S. Montero
e5d540def9
Merge branch 'feature-1554'
2013-01-23 11:43:05 +01:00
Ruben S. Montero
1a657d9268
Merge branch 'feature-1565'
...
Conflicts:
src/pool/PoolObjectSQL.cc
2013-01-22 21:16:10 +01:00
Ruben S. Montero
382f1f722b
feature #1565 : Check resource types for CLUSTER based ACLs
2013-01-22 20:57:42 +01:00
Ruben S. Montero
dc9a6711e0
Merge branch 'feature-1681'
2013-01-22 15:41:10 +01:00
Ruben S. Montero
c5044cd51b
feature #1681 : Conversions from string to mask (binary) are made in User::get_umask
2013-01-22 15:37:07 +01:00
Carlos Martín
afc4cddfd5
Feature #1554 : New method ObjectXML::add_node
2013-01-22 14:14:56 +01:00
Carlos Martín
780d7742f2
Feature #1681 : Read User template's UMASK attribute to create new objects
2013-01-21 14:38:07 +01:00
Ruben S. Montero
e4544c42b8
feature #1685 : CLEANUP_PREVIOUS action to cleanup previous hosts for migrate operations. Integrate CLEANUP actions with LCM. New state CLEANUP_DELETE.
2013-01-21 12:27:18 +01:00
Ruben S. Montero
6c50f2b147
feature #1685 : Clean network in CLEANUP. Adds cleanup_action to VMM. Make use of new action in LCM
2013-01-21 00:15:46 +01:00
Ruben S. Montero
41789046a6
feature #1685 : Epilog delete commands are generated in a separated function
2013-01-20 23:05:14 +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
Carlos Martín
c3bbc983ca
Bug #1733 : Change onehost update method rights to ADMIN
2013-01-17 15:52:02 +01:00
Carlos Martín
dafbc5d349
Feature #1565 : Implement reverse search for ACLs that apply to objects in a cluster
2013-01-17 12:33:33 +01:00
Carlos Martín
1b6e38dac1
Feature #1565 : Add new ACL resource ID bit, '%', for clusters. The reserve lookup is pending
2013-01-16 18:27:36 +01:00
Carlos Martín
9e0a06468e
Merge remote-tracking branch 'origin/feature-1556'
2013-01-09 12:24:25 +01:00
Carlos Martín
97efc55004
Bug #1698 : Automatically trim trailing spaces in NAME attributes
2013-01-08 18:34:08 +01:00
Ruben S. Montero
8a2597cd90
feature #1556 : Add a new user template to the VM to store user defined variables. Add OCA Ruby & JAVA bindings for the new update method. Add command option for onevm tool.
2013-01-04 00:04:01 +01:00
Ruben S. Montero
c9dc8c47da
Merge branch 'bug-1694'
2012-12-24 14:25:41 +01:00
Ruben S. Montero
c523b889f1
Revert "Bug #1694 : If a DS updates its type to system_ds, update the cluster system_ds"
...
This reverts commit ca4504f984
.
2012-12-24 12:27:53 +01:00
Ruben S. Montero
02208c5676
feature #1103 : Always deal with boolean values from oned.conf in the same way
2012-12-24 02:41:17 +01:00
Ruben S. Montero
fdb5f09e89
Revert "Feature #1326 : VMs instantiated from a template are named template_name-<vmid>"
...
This reverts commit 8e80bfcf66
.
2012-12-23 23:31:00 +01:00
Carlos Martín
8e80bfcf66
Feature #1326 : VMs instantiated from a template are named template_name-<vmid>
2012-12-21 13:50:10 +01:00
Carlos Martín
406877743e
Feature #1103 : Finish integrating the new oned.conf att. VM_SUBMIT_ON_HOLD
2012-12-20 18:57:20 +01:00
Carlos Martín
85678cbba8
Merge branch 'submit-on-hold'
...
Conflicts:
src/rm/RequestManagerAllocate.cc
src/rm/RequestManagerVMTemplate.cc
2012-12-20 18:35:59 +01:00
Carlos Martín
64b4f0d5d9
Feature #1103 : Patch by Simon Boulet
2012-12-20 18:21:30 +01:00
Carlos Martín
7aff914bf9
Feature #1103 : Add xmlrpc optional param to instantiate templates on hold
2012-12-20 17:45:27 +01:00
Carlos Martín
ca4504f984
Bug #1694 : If a DS updates its type to system_ds, update the cluster system_ds
2012-12-17 18:15:02 +01:00
Carlos Martín
3c6871b2c0
Bug #1694 : Remove potential deadlock
2012-12-17 16:54:17 +01:00
Carlos Martín
cdab2668d1
Bug #1694 : Add new attribute system_ds to Cluster. Template attribute is now ignored
2012-12-17 16:23:16 +01:00
Ruben S. Montero
e04b24c066
Merge branch 'feature-1686'
2012-12-15 04:21:32 +01:00
Ruben S. Montero
889eb15028
feature #1686 : Removed unused method definitions. Moved "same-name" check. Backup object pointer to use it after deleting iterator
2012-12-15 04:19:52 +01:00
Ruben S. Montero
d28b234c9c
feature #1338 : Make use of Host::test_capacity in core checks.
2012-12-15 03:11:30 +01:00
Carlos Martín
c60436e916
Feature #1691 : Add the attribute NIC_ID to each NIC
2012-12-13 13:27:36 +01:00
Carlos Martín
b89e38833c
Feature #1691 : Add support in core for nic attach/detach. Thanks to Simon Boulet for his help.
...
Next step is to add NIC_ID attribute to each NIC, and process ATTACHNIC in driver manager
2012-12-12 18:35:40 +01:00
Carlos Martín
7d1df849be
Feature #1338 : Add new param to enforce host capacity in one.vm.deploy and one.vm.migrate
2012-12-11 15:41:59 +01:00
Carlos Martín
085fa15535
Bug #1659 : Write quota numbers with the fixed format flag
2012-12-10 17:19:02 +01:00
Carlos Martín
c562e7206f
Feature #1686 : Implement one.*.rename methods in core
2012-12-07 18:32:38 +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
5d54095119
Bug #1673 : Add support for 64-bit net_tx/net_rx counters. Contributed by Simon Boulet.
2012-12-04 13:35:45 +01:00
Ruben S. Montero
d6091c439e
feature #1611 : Abstracts system properties and system DB management
2012-11-30 02:59:26 +01:00
Ruben S. Montero
e4a601dde8
feature #1611 : Default attribute for quotas can only be set at initialization
2012-11-30 00:16:52 +01:00
Ruben S. Montero
a7acfca25e
feature #1611 : Safer virtual destructor for Quotas
2012-11-29 23:53:34 +01:00
Carlos Martín
9d3fb42970
Feature #1611 : Better handling of default vs non-default quotas
2012-11-29 17:26:21 +01:00
Carlos Martín
fba200499b
Feature #1611 : Instead of changing negative limits to 0, report the error
2012-11-29 12:49:29 +01:00
Carlos Martín
5a0fb545e1
Merge remote-tracking branch 'origin/master' into feature-1611
2012-11-28 16:30:14 +01:00
Carlos Martín
c35887f3c3
Feature #1611 : Add persistence to default quotas, in a new DB table
2012-11-26 18:14:12 +01:00
Carlos Martín
08f8806de9
Feature #1611 : DefaultQuotas methods to & from xml
2012-11-26 16:12:05 +01:00
Carlos Martín
edfed5e531
Feature #1611 : Create new class DefaultQuotas, and disable the limit '-1' for def. quotas
2012-11-26 12:48:10 +01:00
Ruben S. Montero
d6538d5081
feature #1617 : Remove leading blanks from file attributes
2012-11-23 19:51:45 +01:00
Carlos Martín
38f2a8dab4
Feature #1611 : Add a top level xml element to the default quota info methods
2012-11-23 18:24:50 +01:00
Carlos Martín
1fde5eca2e
Feature #1611 : Add xml-rpc methods to retrieve and update the default user & group quotas
2012-11-23 16:03:10 +01:00
Ruben S. Montero
f51a3a45ce
feature #1617 : Parse CONTEXT files. New attribute FILE_DS added to use FILE_DS Datastore
2012-11-23 01:40:05 +01:00
Carlos Martín
8ed9fa884a
Feagture #1611 : Make the default quotas work for both user and group
2012-11-19 16:38:39 +01:00
Carlos Martín
c04f35d5ed
Feature #1611 : Start working in support for default User quotas
2012-11-19 15:20:36 +01:00
Ruben S. Montero
5364c22b4b
feature #1617 : Transfer Manager actions to clone kernels and initrds
2012-11-19 00:47:02 +01:00
Ruben S. Montero
dd914b687c
feature #1617 : Create a FILE datastore when bootstraping OpenNebula
2012-11-18 00:47:48 +01:00
Ruben S. Montero
3461fd45f6
feature #1617 : Add all the needed parameters to transfer kernels and initrd files
2012-11-18 00:01:43 +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
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
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
8a2822b33d
feature #1617 : Add Datastore TYPE. There are three types IMAGE (stores disk images), SYSTEM (stores disks of running VMs) and FILE (store context/kernel/initrd files)
2012-11-16 02:18:43 +01:00
Carlos Martín
f487277f03
Feature #1544 : New xml-rpc method one.system.config
2012-11-14 12:54:31 +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
b52381f8ba
Merge branch 'feature-1551'
2012-10-30 16:19:14 +01:00
Jaime Melis
0f928cd7cb
Bump version to 3.9.0
2012-10-29 19:21:15 +01:00
Ruben S. Montero
9884571fb0
feature #1551 : Make VM directories in /var/lib/one/vms/<vm_id> instead of /var/lib/one/<vm_id>
2012-10-28 19:19:57 +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
ea98ae0bc8
Merge branch 'bug-1210'
...
Conflicts:
share/doc/states/states-complete.dot
2012-10-18 23:40:01 +02:00
Jaime Melis
e5c0d20b96
Bump version 3.8.0
2012-10-18 13:02:43 +02:00
Carlos Martín
04a4fe9606
Bug #1210 : Add new VM LCM state in core, BOOT_STOPPED. A failed boot returns the VM to EPILOG_STOP -> STOPPED
2012-10-17 15:40:02 +02:00
Carlos Martín
fda16abb57
Bug #1210 : Add new VM LCM state in core, BOOT_SUSPENDED. A failed boot returns the VM to SUSPENDED
2012-10-17 12:34:32 +02:00
Ruben S. Montero
b3b5ea3ab4
Merge branch 'bug-1480'
2012-10-17 11:05:18 +02:00
Carlos Martín
31adafb2f9
Bug #1480 : Add DISK_ID to context, and make sure new attached disks do not collide with existing DISK_IDs
2012-10-16 18:27:16 +02:00
Carlos Martín
376b8959b7
Bug #1557 : Add new VM LCM state in core, BOOT_POWEROFF. A failed boot returns the VM to POWEROFF
2012-10-16 15:32:06 +02:00
Carlos Martín
ec4de2ed08
Bug #1557 : Add BOOT_UNKNOWN state to CLI, and OCA (both Ruby & Java)
2012-10-16 14:59:16 +02:00
Carlos Martín
e8acbce433
Bug #1557 : Add new VM LCM state in core, BOOT_UNKNOWN. A failed boot returns the VM to UNKNOWN
2012-10-16 13:08:55 +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
621f615a0c
feature #1013 : Simplify "on create" Hooks (now $ID are the same instead of $VMID, $HID,...). Add support for create/remove Virtual Network Hooks
2012-10-08 12:33:32 +02:00
Ruben S. Montero
7e027ab089
feature #1013 : Hook on drop method for PoolSQL
2012-10-07 23:33:19 +02:00
Ruben S. Montero
43d552aea2
feature #1013 : Abstraction of current Allocate and Remove hooks
2012-10-07 23:20:28 +02:00
Ruben S. Montero
ee40a04c83
feature #1393 : DATASTORE_LOCATION can be set in the cluster template
2012-10-05 13:23:44 +02:00
Jaime Melis
b27629f26e
Bump vesion to 3.7.80
2012-10-04 11:58:17 +02:00
Carlos Martín
6ff8972279
Feature #1523 : New xmlrpc method one.system.version added to RequestManager
2012-10-02 18:54:06 +02:00
Carlos Martín
cf45afe0a7
Feature #1108 : Add more verbosity to Request Manager log messages:
...
* Each request message includes a unique (ish) ID, and user doing the request
* Success results are also logged
* All arguments are included in the request message (except session)
* Password arguments are shown as ***
2012-10-02 16:25:57 +02:00
Jaime Melis
5db7e6d04b
Trim spaces and fix newline at the end of file
2012-09-10 18:08:00 +02:00
Ruben S. Montero
df2d09a550
feature #1419 : Adds premigrate and postmigrate placeholders for custom scripts. OpenNebula core generates TM command for pre & post migrate actions. VM driver executes these TM operations
2012-09-07 23:58:45 +02:00
Carlos Martín
de5181403b
Feature #1404 : Add new onevm poweroff command. New VM states POWEROFF and SHUTDOWN_POWEROFF
2012-09-04 18:30:53 +02:00
Ruben S. Montero
03f15b6498
feature #1428 : Add UNAME, GID, GNAME to the set of predefined variables to CONTEXT attribute
2012-08-28 16:52:03 +02:00
Ruben S. Montero
65ec7517cc
feature #1337 : Add CPU share for KVM VMs based on the CPU template attribute
2012-07-19 02:22:06 +02:00
Ruben S. Montero
057da9492b
bug #1363 : Better check for int and float values
2012-07-19 01:18:51 +02:00
Carlos Martín
c27c27ac4f
Bug #1363 : Check correct value types for VM CPU, VCPU, MEM, and Image SIZE
2012-07-17 15:51:50 +02:00
Carlos Martín
c94bfcab5e
Bug #1347 : quota update accepts float values
2012-07-16 18:28:58 +02:00
Carlos Martín
6cc05f5b81
Bug #1347 : Add support for float quotas. The update quotas method needs to be changed too
2012-07-16 17:15:22 +02:00
Carlos Martín
e35567ee1d
Start to clean and update core unit tests.
2012-07-13 16:40:56 +02:00
Carlos Martín
7f43ddb983
Feature #1285 : Change Host memory units in code comments and XSD files
2012-07-12 12:52:13 +02:00
Carlos Martín
1da0343cf7
Fix bug: chown of a nonexisting object caused a seg. fault
...
(cherry picked from commit f174db10dd
)
2012-07-05 18:56:41 +02:00
Jaime Melis
9dcba5ddf1
Bump version to 3.7.0
2012-07-05 11:51:05 +02:00
Ruben S. Montero
fcae47a843
Merge branch 'bug-1306'
...
Conflicts:
src/sunstone/public/js/plugins/marketplace-tab.js
src/sunstone/public/js/plugins/vms-tab.js
src/tm/TransferManager.cc
2012-07-02 18:19:20 +02:00
Ruben S. Montero
11f5c8c2da
bug #1315 : call MV/DELETE actions for volatile disks
2012-07-02 18:06:07 +02:00
Carlos Martín
4bad0444bf
Bug #1202 : Make cpu & mem threshold configurable in sched.conf
2012-07-02 16:47:27 +02:00
Carlos Martín
1327f28fab
Bug #1306 : Use the System DS id to generate the VM system dir
2012-06-29 16:48:43 +02:00
Carlos Martín
fd28ff9d9f
Bug #1306 : If the cluster has a SYSTEM_DS set, check that it is actually a system type ds. Do not allow image registration in any system type DS.
2012-06-29 15:09:25 +02:00
Carlos Martín
792dcf01b3
Bug #1306 : Clusters can use the datastore set in SYSTEM_DS, Datastores can have SYSTEM = YES in the template
2012-06-29 12:44:04 +02:00
Carlos Martín
a6b2c86bfb
Bug #1306 : Add Template contents to Clusters
2012-06-28 17:51:21 +02:00
Carlos Martín
ffc99eea2f
Bug #1306 : Use the tm_mad stored in the history, instead of the system_ds tm_mad
2012-06-28 16:45:00 +02:00
Carlos Martín
d5b40785f5
Bug #1306 : Add tm_mad to History elements
2012-06-28 15:32:52 +02:00
Carlos Martín
b44903882b
Bug #1322 : Check if user quota rollback is needed; polish quota error messages
...
(cherry picked from commit 1130e37a2e
)
2012-06-28 13:22:32 +02:00
Carlos Martín
1130e37a2e
Bug #1322 : Check if user quota rollback is needed; polish quota error messages
2012-06-28 13:21:19 +02:00
Carlos Martín
4baaeb827d
Bug #1316 : Clean files when a stopped VM is deleted. Previous commit:dbefe6f only worked with shared DS
...
(cherry picked from commit 9d8ccd61c8
)
2012-06-27 18:51:10 +02:00
Carlos Martín
9d8ccd61c8
Bug #1316 : Clean files when a stopped VM is deleted. Previous commit:dbefe6f only worked with shared DS
2012-06-27 18:50:42 +02:00
Ruben S. Montero
65751db776
Merge branch 'feature-1312'
2012-06-22 17:01:35 +02:00
Jaime Melis
746d68db03
Bump version to 3.5.80
2012-06-22 16:05:02 +02:00
Carlos Martín
256a63f9e6
Feature #1312 : Remove BUS attribute form core
2012-06-22 15:44:28 +02:00
Carlos Martín
4e3ab353ca
Feature #1304 : Remove extra type argument in document clone
2012-06-22 12:20:39 +02:00
Ruben S. Montero
98c8cc85f4
feature #1291 : Update QuotaVirtualMAchine interface
2012-06-22 01:33:48 +02:00
Carlos Martín
73baa84fbd
Feature #1288 : Code cleanup
2012-06-21 18:30:13 +02:00
Carlos Martín
06581af467
Feature #1288 : Re-do commit:e2f59f0c .
...
Previous code didn't check that all quota limits are 0, just the
ones requested. This version also cleans quotas that have 0 limit
and usage after a 'oneuser quota' operation
2012-06-21 18:12:50 +02:00
Carlos Martín
24db7e7527
Feature #1288 : Clean VM quota when it reaches 0 usage and limi
2012-06-21 16:47:12 +02:00
Carlos Martín
4c6233bd09
Bug #1308 : Before a chown operation, check if the new user already has an object with the same name
2012-06-20 17:33:00 +02:00
Carlos Martín
3c324b4ad3
Bug #1311 : Include the restricted image attributes check in RMAllocate
2012-06-20 15:07:15 +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
Carlos Martín
e2f59f0cbb
Feature #1288 : Clean quotas that reach 0 usage and limit
2012-06-19 18:02:55 +02:00
Jaime Melis
8b0db92dd3
feature #1223 : Remove DISK_ID from VMM_DRIVER_ACTION_DATA
2012-06-19 15:29:51 +02:00
Ruben S. Montero
8f809df025
Merge branch 'feature-1291'
2012-06-19 14:30:50 +02:00
Carlos Martín
f607d0ea74
Feature #1304 : Remove extra Document type arguments from Java OCA
2012-06-19 12:01:57 +02:00
Ruben S. Montero
f8fa2e09d0
feature #1223 : Modified Quota interface to accomodate Attach/Detach operations
2012-06-15 23:33:50 +02:00
Ruben S. Montero
e05dbdb5bd
feature #1223 : Attach operation name missmatch. attach operations for the dummy driver
2012-06-15 18:14:08 +02:00
Ruben S. Montero
2f0c1d0e7e
feature #1223 : Included quotas for detach. Refactor some detach methods
2012-06-15 16:28:30 +02:00
Ruben S. Montero
582b8736e9
feature #1223 : Removed unneeded log functions
2012-06-15 13:14:49 +02:00
Ruben S. Montero
bdba7a3d3c
Merge branch 'feature-1223' of git.opennebula.org:one into feature-1223
...
Conflicts:
include/DispatchManager.h
include/VirtualMachine.h
src/rm/RequestManagerVirtualMachine.cc
2012-06-15 12:34:43 +02:00
Ruben S. Montero
1dbeaa1719
feature #1233 : Added quotas.Refactor Attach methods
2012-06-15 12:28:20 +02:00
Carlos Martín
1eebdbc07a
Feature #1223 : Detach operation
2012-06-14 17:45:41 +02:00
Carlos Martín
554321c73b
Feature #1223 : New VM state HOTPLUG, continue work on the attach operation
2012-06-14 13:02:18 +02:00
Ruben S. Montero
17b9a0699e
feature #1304 : Added missing commit from feature-1304 merge. It fixes compilation.
2012-06-13 23:49:08 +02:00
Carlos Martín
492ba46570
Feature #1223 : Implement LCM::attach success/failure.
2012-06-13 19:15:33 +02:00
Carlos Martín
e5b2f84f4c
Feature #1223 : Basic xmlrpc method one.vm.attach, needs to be finished
2012-06-13 18:57:12 +02:00
Carlos Martín
8071e5ca0d
Feature #1223 : implement DispatchManager::attach
2012-06-13 18:47:04 +02:00
Carlos Martín
cc13c07317
Feature #1223 : New VMM attach action
2012-06-13 18:42:42 +02:00
Ruben S. Montero
c178d79e23
Merge branch 'feature-1304'
2012-06-13 18:20:53 +02:00
Carlos Martín
73b6457d0e
Feature #1223 : Refactor TransferManager::prolog_action to create the prolog commands in a separate method
2012-06-13 18:19:22 +02:00
Ruben S. Montero
9da2602949
feature #1304 : Fix signature for XML-RPC methods. Remove publish methods for OCA
2012-06-13 17:41:54 +02:00
Ruben S. Montero
cb9e8bdb82
feature #1304 : Removed name uniqueness for document pool. Simplify related functions because of this
2012-06-13 12:44:04 +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
17d869e388
Merge branch 'feature-1288'
...
Conflicts:
install.sh
2012-06-11 23:00:56 +02:00
Ruben S. Montero
981db30338
feature #1288 : Support for Group quotas
2012-06-08 22:14:40 +02:00
Carlos Martín
5d110819d9
Feature #1304 : Add new xml-rpc methods one.document.*
2012-06-08 16:00:16 +02:00
Carlos Martín
cc132e239a
Feature #1304 : Create new DocumentPool, add ACL Object to Core, Ruby and Java OCA
2012-06-08 15:41:59 +02:00