Javi Fontan
1abee8aafc
Take advantage of delete not acting on null values
...
Nebula.h and User.h
2013-12-10 18:03:03 +01:00
JensHoffmann
74414c31b1
Use std::string for log file name in module Log
2013-12-09 17:55:10 +01:00
Jaime Melis
6b32d4c20f
Bump to version 4.4.0
...
(cherry picked from commit d7c6a6a6d2
)
2013-11-28 15:11:39 +01:00
Javi Fontan
b775ef1247
Bump version to 4.3.90
...
(cherry picked from commit f783d3082b
)
2013-11-28 15:09:37 +01:00
Ruben S. Montero
9eba97912c
bug #2492 : Host rename requires ADMIN rights
2013-11-23 18:56:41 +01:00
Ruben S. Montero
7f2a68c5d5
Get rid of unneeded double string-int conversions
2013-11-22 10:15:57 +01:00
Ruben S. Montero
eb56f526a6
feature #2435 : Remove unused function. Minor optimizations
2013-11-21 23:40:13 +01:00
Carlos Martín
b2cb9c10f6
Feature #2435 #2092 : Rename HYBRID to PUBLIC_CLOUD
2013-11-21 18:46:31 +01:00
Carlos Martín
4a71896ec6
Feature #2435 #2092 : Allow deployment to hybrid hosts using system DS -1
2013-11-21 18:46:31 +01:00
Carlos Martín
70444b21f7
Feature #2435 #2092 : Code cleanup.
...
Hybrid hosts are not detected with the generic HYBRID=YES
2013-11-21 18:46:31 +01:00
Carlos Martín
637f1dbbd2
Feature #2435 #2092 : New generic HYBRID section in VMs, better automatic_requirements
2013-11-21 18:46:30 +01:00
Carlos Martín
ab619a50f4
Bug #2487 : RM forces the system DS for stopped/undeployed VMs
2013-11-21 18:28:49 +01:00
Carlos Martín
bc6ae465d9
Feature #2479 : Allow CONTEXT/DEV_PREFIX, and make 'hd' the default prefix for cdrom type disks
2013-11-21 16:01:35 +01:00
Ruben S. Montero
d1b71d0df1
bug #1264 : Do not allow wrong number in GRAPHICS/PORT; i.e. floats, <0, strings...
2013-11-21 12:07:06 +01:00
Ruben S. Montero
5fb9fc931e
Fix bug that prevents a host from come out init state
...
(cherry picked from commit e4f46706bcd765e712506408fc8f6023d6f40efd)
2013-11-18 22:13:40 +01:00
Ruben S. Montero
78171a42a2
:im-threads: Add oned.conf configuration attribute. Moved thread pool to IM
...
(cherry picked from commit 3ab3b92de2c054f63e3c9b40246082d24b451e1e)
2013-11-18 22:13:40 +01:00
Ruben S. Montero
9f691779cd
Add multithead Information Manager to process monitor messages
...
(cherry picked from commit 042ba56731720c4d7973015b5cc89945bebed8d3)
2013-11-18 22:13:40 +01:00
Jaime Melis
96b5cd4276
Bump to version 4.3.85
2013-11-15 14:32:03 +01:00
Carlos Martín
1a2b923825
Feature #1796 : Add ceph host and secret to kvm deployment files
2013-11-15 12:58:53 +01:00
Carlos Martín
b559b3250a
Feature #2459 : Define image, ds and vnet attributes to be inherited to the VM disk or nic sections
2013-11-14 11:49:53 +01:00
Ruben S. Montero
f5876a248e
bug #2144 : Execute epilog commands if an attach operation fails
2013-11-10 20:40:04 +01:00
Carlos Martín
f00d57c013
Feature im-collectd: host poll info gives a grace period to lost and zombie VMs
...
Because the collectd will report always outdated info, even if it is
only by a few seconds, the core must take into account that recently
deployed VMs can be missing from the monitoring information.
The same happens for deleted VMs, they may appear as running in the
next host monitoring information.
2013-11-06 13:06:56 +01:00
Jaime Melis
b76b22dc6e
Feature #1678 : Don't process MONITOR_PUSH_INTERVAL in the core.
2013-11-05 19:24:38 +01:00
Ruben S. Montero
9837e7c93a
feature #1678 : Remove host right before sending the STOPMONITOR action to driver
2013-11-05 19:20:28 +01:00
Jaime Melis
3a6cd82ae4
Feature #1678 : Add a new MONITORING_PUSH_INTERVAL
...
configuration option that handles the time between push
monitoring intervals. This new parameter is passed on to the
collectd-client.rb
2013-11-05 12:55:52 +01:00
Ruben S. Montero
a2dd9e9780
feature #2357 : When creating a Datastore, if a wrong DISK_TYPE is specified an error is reported
2013-11-03 18:03:39 +01:00
Ruben S. Montero
9f9057dd79
Wait poll_period since the VM started to run to proactively monitor a VM
2013-11-02 18:25:10 +01:00
Ruben S. Montero
b99d0c294a
Merge branch 'feature-1678'
...
Conflicts:
src/im_mad/remotes/common.d/collectd-client_control.sh
src/onedb/4.2.0_to_4.3.80.rb
2013-10-25 21:23:27 +02:00
Ruben S. Montero
beb266a3bb
feature #1678 : Test functions for VM capacity uses Pool. Conditional print VM requirements for DEBUG log level
2013-10-25 20:52:10 +02:00
Jaime Melis
55c1399fd2
feature #1678 : Send STOPMONITOR action when host is deleted.
2013-10-25 17:53:12 +02:00
Tino Vazquez
5413d42eb6
feature #2392 : Add CID to VM history
...
Modify CLI accordingly
2013-10-25 17:09:00 +02:00
Carlos Martín
84ecfbeb7e
Remove outdated core tests
2013-10-25 16:05:53 +02:00
Ruben S. Montero
f98a2daee9
feature #1678 : Exit oned if a driver cannot be loaded
2013-10-25 15:16:44 +02:00
Ruben S. Montero
67732e18f9
feature #1678 : Remnoved unneeded forward declaration
2013-10-24 15:42:07 +02:00
Ruben S. Montero
2660b2ff5b
feature #1678 : Moved update info of datastore, and minor work on monitor callback function
2013-10-24 15:30:21 +02:00
Carlos Martín
232482a97b
Feature #1678 : Move TM_MAD ln and clone target definitions to oned.conf
2013-10-23 16:15:18 +02:00
Carlos Martín
ed8aa715bd
Feature #1678 : Remove the with_ds_info param in host poll
2013-10-22 17:46:34 +02:00
Carlos Martín
bf8c8f1646
Feature #1678 : small refactor
2013-10-22 17:20:23 +02:00
Carlos Martín
51124a9d12
Feature #1678 : Move DS location monitorization att to Host Share
2013-10-22 17:12:06 +02:00
Carlos Martín
79472b23e1
Feature #1678 : Make the DS monitorization more generic
...
System DS do not have ln and clone targets, and this
change allows monitorization to return any arbitrary
values to be used in SCHED_REQ and SCHED_RANK, like
FS speed
2013-10-22 16:49:30 +02:00
Carlos Martín
149dab3525
Feature #1678 : Add a template to HostShare, store local system DS monitorization there
2013-10-22 15:42:51 +02:00
Carlos Martín
da7aa6117b
Merge branch 'feature-1678' of git.opennebula.org:one into feature-1678
2013-10-21 15:40:56 +02:00
Carlos Martín
c28d9710ce
Feature #1678 : Store non shared DS info in host template
2013-10-21 15:39:58 +02:00
Ruben S. Montero
d5277652ce
feature #1678 : Datastore location sent to the IM driver. Updated probes and collector manager accordingly
2013-10-20 15:11:13 +02:00
Carlos Martín
debdc9a92c
Feature #1678 : Host monitorization copies DS info to each system DS. Assumes all DS are shared.
2013-10-17 17:38:52 +02:00
Carlos Martín
5f8af5cf39
Feature #1678 : Make all disk related variables long long
2013-10-17 17:38:45 +02:00
Carlos Martín
b7234a4c37
Feature #1612 : Add volatile disk quotas for attach/detach operations
2013-10-15 13:45:16 +02:00
Jaime Melis
37e065b7f7
Bump to version 4.3.80
2013-10-11 16:37:50 +02:00
Ruben S. Montero
e24fc1aae4
Merge branch 'feature-1612'
2013-10-10 15:35:06 +02:00
Ruben S. Montero
d21c71f93c
Merge branch 'feature-2092'
2013-10-10 13:12:03 +02:00
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