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

1206 Commits

Author SHA1 Message Date
Ruben S. Montero
7686ca93e0 Merge branch 'master' into vdc-federation
Conflicts:
	include/GroupPool.h
	include/UserPool.h
2014-01-23 16:36:22 +01:00
Ruben S. Montero
90a565c264 Revert "Feature #2665: Move c++ xmlrpc client from sched to oned"
This reverts commit 11b255a0f7.
2014-01-23 16:11:09 +01:00
Carlos Martín
8403b17998 Feature #2565: Better management of zone & cluster id in ddd/del provider 2014-01-23 15:45:26 +01:00
Carlos Martín
0a33f08de1 Feature #2632: Make two separate methods to update user/group, or its quotas 2014-01-22 18:54:48 +01:00
Carlos Martín
09f204e242 Merge branch 'master' of git.opennebula.org:faf-71 2014-01-22 13:21:59 +01:00
Carlos Martín
625890f9fc Feature #2665: New RMProxy class, proxy user methods 2014-01-22 13:17:09 +01:00
Carlos Martín
554cd57c61 Feature #2665: Add federation config to oned.conf 2014-01-22 12:55:30 +01:00
Carlos Martín
11b255a0f7 Feature #2665: Move c++ xmlrpc client from sched to oned 2014-01-22 12:43:24 +01:00
Ruben S. Montero
cda9fa28e7 feature #2632: Moved DB implementation to its own class 2014-01-21 23:21:18 +01:00
Carlos Martín
cf31d91abd Feature #2653: Add zone id to each ACL rule 2014-01-21 12:52:25 +01:00
Carlos Martín
c2f1a6d1c4 Feature #2632: Extract group quotas to another table 2014-01-16 17:08:08 +01:00
Carlos Martín
d5d904b114 Feature #2632: Extract user quotas to another table 2014-01-15 16:27:50 +01:00
Tino Vazquez
461bda9f82 Feature #2613: Extend zonepool with endpoint + update
Done for CLI and Sunstone
2014-01-13 18:26:21 +01:00
Javi Fontan
193e7a9cf6 feature #2371: add pagination to pool info
When the end_id of pool.info xmlrpc call is lower than -1 the parameters
do not refer to object ids but offset and cuantity used for pool pagination.r
The SQL query will have "LIMIT start_id,-end_id".
2014-01-13 16:30:43 +01:00
Jaime Melis
11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Ruben S. Montero
99157ea06b Feature #2572: XML-RPC library element size can be defined in sched.conf 2013-12-21 01:35:51 +01:00
Carlos Martín
402eee32ef Feature #2565: New special cluster ID, 10, adds ACL rule *
This allows the admin to assign all resources from a zone
to a group
2013-12-20 17:21:47 +01:00
Carlos Martín
25fce2c847 Feature #2565: Manage resource providers in oned 2013-12-13 16:16:53 +01:00
Carlos Martín
599dabd702 Feature #2565: New method in acl manager to delete acl rules directly, instead of by id 2013-12-13 11:43:34 +01:00
Carlos Martín
f308bdeb06 Feature #2562: New Zone pool in core 2013-12-12 19:08:59 +01:00
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