Ruben S. Montero
38ad6cebeb
feature #2092 : Make use of hybrid hypervisor instead of attribute
2013-10-10 13:07:33 +02:00
Ruben S. Montero
e68fe0202d
Merge branch 'feature-1683'
2013-10-09 18:40:09 +02:00
Ruben S. Montero
09fe471af6
feature #1683 : Renamed Nebula::init() to Nebula::bootstrap_db()
2013-10-09 18:39:18 +02:00
Carlos Martín
4020d536cb
Feature #1612 : Add VOLATILE_SIZE to VM quotas
2013-10-09 12:13:23 +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
a9bccd4423
Feature #1683 : Simplify bootstrap methods
2013-10-08 15:14:12 +02:00
Robert Schweikert
2054836301
Feature #1683 : create a way to initialize without service start + This allows a mode to just initialize the database + Changes the decision making about DB bootstrapping such that a missing DB no longer produces misleading messages in the log file + Allows the DB to be initialized/bootstrapped during an automated install process without having to wait for some arbitrary time to kill the daemon - return the SQL error code from the DB::exec method + This allows to make decisions about DB bootstrapping earlier and avoids misleading messages in the log file
2013-10-08 15:14:00 +02:00
Ruben S. Montero
e0f2a3b393
feature #1612 : Functions to check if a disk is volatile and to compute the total size of volatile disks of a template
2013-10-04 20:24:31 +02:00
Tino Vazquez
3b269146bc
feature #2092 : Added hybrid mode, not triggering PROLOG
...
Still need to figure out EPILOG
2013-10-04 19:05:55 +02:00
Ruben S. Montero
5899820844
Merge branch 'feature-1712'
...
Conflicts:
src/scheduler/src/pool/HostXML.cc
2013-10-04 15:00:44 +02:00
Ruben S. Montero
4309d10c12
bug #2326
2013-10-04 13:26:03 +02:00
Ruben S. Montero
3cb4a984c1
bug #2352 : Set host share variables to long long type
...
Conflicts:
src/host/Host.cc
2013-10-02 18:24:33 +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
Ruben S. Montero
56681cec9a
Merge branch 'master' into feature-1712
2013-09-16 12:01:38 +02:00
Ruben S. Montero
aaaadf3fc8
feature #1712 : Default DS selection code moved to Cluster class
2013-09-16 12:00:34 +02:00
Ruben S. Montero
59bbb3b156
feature #2245 : Allow multiple MySQL connections
2013-09-11 12:38:58 +02:00
Carlos Martín
1d0cd105f4
Feature #1712 : If the ds_id is not defined, the first cluster system DS is used
2013-09-10 13:43:50 +02:00
Ruben S. Montero
33579df771
feature #1713 : Deal with concurrent renames
2013-09-04 18:43:23 +02:00
Carlos Martín
00525bf5c9
Merge remote-tracking branch 'origin/master' into feature-1713
2013-09-02 15:45:43 +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
9eb140e38b
feature #1712 : Use cluster system DS. If no DS is specified in onevm.deploy the default SYSTEM_DS will be used.
2013-08-31 01:03:46 +02:00
Ruben S. Montero
28d5bedc91
Merge branch 'master' into feature-1712
...
Conflicts:
src/xml/expr_arith.cc
src/xml/expr_bool.cc
src/xml/expr_bool.h
2013-08-30 17:08:48 +02:00
Ruben S. Montero
983804df18
feature #1742 : Redo parsers, clear set of group ids in case of failed authN
2013-08-30 16:50:04 +02:00
Carlos Martín
b4e63d8a33
Feature #1742 : add/del secondary group requires MANAGE GROUP
2013-08-23 17:46:46 +02:00
Carlos Martín
0bc0f4a353
Feature #1742 : List resources from secondary groups
2013-08-23 15:36:43 +02:00
Carlos Martín
1b3a10b958
Feature #1742 : Methods to add and remove secondary groups
2013-08-23 13:30:06 +02:00
Carlos Martín
7bfb930292
Feature #1742 : Add a set of group IDs to Users
2013-08-23 12:39:14 +02:00
Carlos Martín
990092271c
Feature #2145 : Remove host monitoring attributes from the template
2013-08-22 15:04:25 +02:00
Ruben S. Montero
cad0fc8903
feature #1712 : Deployment and Migration API calls accept target system DS
2013-08-21 13:20:09 +02:00
Ruben S. Montero
eca497f5f4
Merge branch 'master' into feature-1712
2013-08-06 17:32:28 +02:00
Ruben S. Montero
ef1275caf6
feature #1712 : Generic match-making functions. It can be used with any Resource and not just hosts
2013-08-06 17:25:21 +02:00
Jaime Melis
e3594fc11b
Bump to version 4.3.0
2013-08-06 07:42:57 -04:00
Carlos Martín
4926f60fdb
Feature #2245 : Add new xmlrpc config params to oned.conf
...
(cherry picked from commit b84158f98d
)
2013-07-31 18:36:07 +02:00
Javi Fontan
09a10e3dcc
Feature #2245 : Add xmlrpc concurrency paramenters to oned
...
(cherry picked from commit 4f271af67f
)
2013-07-31 18:36:07 +02:00
Ruben S. Montero
00e38376a9
Revert "Bug #2200 : VM Resize uses the same quota mechanism as all the other methods"
...
This reverts commit 886346606d
.
(cherry picked from commit 9126e8a8f6
)
2013-07-22 23:36:24 +02:00
Carlos Martín
7658e9cd94
Bug #2200 : VM Resize uses the same quota mechanism as all the other methods
...
(cherry picked from commit 886346606d
)
2013-07-22 15:50:34 +02:00
Carlos Martín
f53fdb3d4a
Fix log level
...
(cherry picked from commit 580b39c734
)
2013-07-16 16:53:08 +02:00
Carlos Martín
a771e7e271
Feature #1613 : Minor changes
2013-07-12 16:51:36 +02:00
Ruben S. Montero
c89f15959f
Merge branch 'feature-1613'
2013-07-10 17:53:38 +02:00
Ruben S. Montero
da40453426
feature #1613 : New configuration attribute to make optional capacity checking
2013-07-10 17:48:39 +02:00
Ruben S. Montero
196af214a4
feature #1613:Remove datastore config attribute (RESERVED_SIZE)
2013-07-06 16:44:26 +02:00
Ruben S. Montero
f689d1ea4a
feature #1613 : Triiger monitor actions when an image operation is made. Check datastore size before registering or cloning an image. RESERVED_SIZE and MAX_USED_SIZE control datastore capacity
2013-07-05 21:14:34 +02:00
Ruben S. Montero
95ea9ecfde
feature #2054 : Free encoded string in aes encryption. Move token path to history. Minor changes
2013-07-05 01:31:30 +02:00
Carlos Martín
c632828876
Feature #2124 : New template append action in core
2013-06-28 18:45:27 +02:00
Ruben S. Montero
6ee32c6a0e
feature #1613 : Total, free and used capacity for Datastore class
2013-06-27 18:06:17 +02:00
Carlos Martín
3a16a58c0c
Feature #2054 : Add TOKEN_PASSWORD to all users
2013-06-27 15:49:23 +02:00
Ruben S. Montero
5186a0a41c
feature #1613:Set callback for MONITOR action
2013-06-27 02:30:49 +02:00
Ruben S. Montero
9da1385ebc
feature #1613 : Add datastore monitor action call to OpenNebula core
2013-06-27 01:34:31 +02:00
Ruben S. Montero
d32c736b5c
feature #1613 : Function to list the oids of a Pool.
2013-06-27 01:11:41 +02:00
Carlos Martín
522ea39c3a
Feature #2054 : CONTEXT/TOKEN = yes creates a token.txt file in the context cdrom
2013-06-26 17:05:12 +02:00
Ruben S. Montero
c3861de27a
feature #2097 : Checks trailing character in ds_location before creating a new datastore. Adds '/' if needed.
2013-06-20 17:43:05 +02:00
Ruben S. Montero
2ca5c88e50
feature #2097 : Get DS_LOCATION from cluster when allocating a new DS
...
(cherry picked from commit 1f69905000
)
2013-06-03 23:38:22 +02:00
Jaime Melis
0f5dbf1e98
Merge branch 'feature-2063'
2013-05-20 14:44:23 +02:00
Ruben S. Montero
a59441392a
feature qemu: Add support for qemu emulator in LibVirtDriver
2013-05-18 20:22:47 +02:00
Ruben S. Montero
2d102df0c7
feature #2019 : Adds PREV_STATE and PREV_LCM_STATE to hook attributes.
2013-05-18 01:05:26 +02:00
Ruben S. Montero
1c4d369c3b
feature #2063 : Add Custom hook to VM Pool.
2013-05-18 01:04:40 +02:00
Ruben S. Montero
fbbeaefc82
feature #2009 : Implementation of recover XML-RPC method and Core functionality
...
(cherry picked from commit 051a575f1d8bbc8c78d96ccb426c2cd4de29bdb1)
2013-05-17 01:11:00 +02:00
Ruben S. Montero
67b88ece7d
feature #2009 : Fix constness of Mad protocol interface
...
(cherry picked from commit b44788399f369fd46e0cbfa21eaf758994424606)
2013-05-17 01:10:47 +02:00
Jaime Melis
00db2ee615
feature #1793 : Return the extended template in the CONTEXT section for the vnet attribute
2013-05-14 14:59:09 +02:00
Jaime Melis
e87da0aa31
Bump version 4.1.0
2013-05-09 16:12:37 +02:00
Javi Fontan
437346202c
Bump version
2013-05-06 16:01:53 +02:00
Carlos Martín
2611c15491
Bug #1955 : Set VM error messages in the user template
2013-04-26 17:26:54 +02:00
Ruben S. Montero
de3df1432d
bug #1949 : Update last_monitor
2013-04-25 16:00:03 +02:00
Carlos Martín
28d8e44ea4
Bug #1949 : Prevent bug #1800 from reappearing
2013-04-25 15:10:12 +02:00
Ruben S. Montero
0c35a80ac1
bug #1949 : remove function definition
2013-04-24 01:21:58 +02:00
Ruben S. Montero
930ef686e4
bug #1949 : Add MONITORING States. Change DISABLED behavior
2013-04-24 01:12:22 +02:00
Ruben S. Montero
a452bd047e
Add explicit constants to History enum's
2013-04-22 15:02:13 +02:00
Jaime Melis
ede3bf7528
Bump to version 3.9.90 (OpenNebula 4.0 RC1)
2013-04-16 12:16:54 +02:00
Carlos Martín
0725f3308e
Rename onevm destroy to onevm delete
2013-04-11 16:39:55 +02:00
Jaime Melis
3b5c8f00b3
Merge branch 'feature-1879' into one-4.0
2013-04-10 19:22:24 +02:00
Ruben S. Montero
55e3eece8c
feature #1879 : Prevent wrong chars in rename
2013-04-10 15:37:07 +02:00
Ruben S. Montero
5dc50875d4
feature #1879 : New function to check object names.
2013-04-10 12:56:06 +02:00
Ruben S. Montero
f851b6420c
Merge branch 'bug-1800' into one-4.0
2013-04-10 11:20:04 +02:00
Ruben S. Montero
0d6a87bdfb
Merge branch 'feature-1631' into one-4.0
2013-04-04 23:35:07 +02:00
Ruben S. Montero
5e16073479
feautr #1631 : Renamed to life-migrate.
2013-04-04 23:17:55 +02:00
Carlos Martín
30b3d4f035
Feature #1839 : Add new state BOOT_UNDEPLOY to handle a deploy failure from UNDEPLOYED
2013-04-04 18:01:49 +02:00
Carlos Martín
68e48b0d1f
Feature #1631 : Fix change made for testing
2013-04-04 15:47:24 +02:00
Carlos Martín
002ec7e915
Feature #1631 : Rearrange History Actions so NONE is 0
2013-04-04 15:28:35 +02:00
Carlos Martín
4095acb7cc
Feature #1631 : Fix history reason for migrate.
2013-04-04 11:34:20 +02:00
Carlos Martín
b483b8bb25
Feature #1631 : Fix merge
2013-04-03 18:20:20 +02:00
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