Commit Graph
599 Commits
Author SHA1 Message Date
Ruben S. Montero f949691cef bug #2565: Join get_info and get_info_without_error 2014-03-08 00:02:38 +01:00
Carlos Martín aba30a59e4 Feature #2565: Fix bug in del_provider for deleted clusters 2014-03-07 19:03:43 +01:00
Carlos Martín 22cab7f07e Feature #2565: Fix bug in success response 2014-03-05 16:43:45 +01:00
Carlos Martín 2e8dc65fd6 Bug #2503: Add rollback in case of error 2014-03-04 17:09:04 +01:00
JensHoffmann 0a3ba8aca9 Bug #2503: Improve setting of password/auth_driver
UserChangePassword followed this strategy:
  a1. Eventually encrypt user password if the users
      auth_driver is CORE_AUTH
  a2. Set (probably encrypted) password with
      User::set_password
  a3. User::set_password tries to validate (probably
      encrypted) password instead of the raw password

UserChangeAuth did something similar:
  b1. If password is given (not empty) do a1 through a3
  b2. Set auth_driver

The change proposes the following:
 * In set_password:
    1. Validate the raw password
    2. Do encryption if needed
 * In UserChangePassword: simply call set_password
 * In UserChangeAuth: set auth_driver *before* calling
   set_password, such that set_password does the right thing
   if the auth_driver changes

Note: I needed to move the implementation of set_password
from User.h to User.cc since it seems impossible to access
UserPool::CORE_AUTH from within User.h.
2014-03-04 17:00:11 +01:00
Tino Vazquez c58cc19d01 Feature #2696: Add generic Template for Groups 2014-02-26 12:59:29 +01:00
Carlos Martín 46e6688706 Feature #2743: onedb keeps 3 different versions
1 the code version
2 the replicated (master) DB tables version
3 the slave (local) DB tables version
2014-02-21 18:08:41 +01:00
Carlos Martín 7744150944 Feature #2727: Delete acl rules that apply to a zone when that zone is deleted 2014-02-21 15:23:24 +01:00
Carlos Martín 0a71139b34 Bug #2724: Add resource provider ALL to users group on bootstrap 2014-02-19 16:49:26 +01:00
Carlos Martín def8fa4490 Feature #2565: Make all zones visible by default to all users 2014-02-19 15:48:36 +01:00
Carlos Martín 77b51290eb Feature #2694: New zones can only be created if oned is master 2014-02-12 19:27:38 +01:00
Ruben S. Montero 57775a968a Feature #2665: Better name for Proxy method 2014-01-30 20:04:17 +01:00
Ruben S. Montero 9aca04fb7f Feature #2665: Rename proxy methods to one.proxy.<remote method name> 2014-01-30 11:26:15 +01:00
Carlos Martín 51b7327d09 Bug #1804, #2618: Create auth request uses the new object's target group 2014-01-29 18:15:06 +01:00
Carlos Martín 83a5a413ab Feature #2613: Implement onezone rename 2014-01-28 14:47:57 +01:00
Carlos Martín 3e4fcf369e Feature #2665: RMProxy logs the proxied method, and manages connection errors 2014-01-27 18:42:45 +01:00
Ruben S. Montero e88ff5f0da New attribute MESSAGE_SIZE to configure xml-rpc Client for slave zones 2014-01-24 00:14:38 +01:00
Ruben S. Montero 03914330a4 Fix merge of master branch 2014-01-23 17:07:52 +01:00
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
Carlos Martín da93115475 Feature #2565: typo 2014-01-23 16:09:28 +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 090dbb456c Feature #2613: add provider creates an acl rule to USE the ZONE 2014-01-23 13:16:35 +01:00
Carlos Martín 92eb10fe7c Feature #2665: Proxy group, acl, and zone RM methods 2014-01-23 11:31:51 +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
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
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 bd0cb167d6 feature #2533: xml-rpc log file can be disable through oned.conf 2014-01-02 17:37:11 +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 f308bdeb06 Feature #2562: New Zone pool in core 2013-12-12 19:08:59 +01:00
Carlos Martín 444e729f03 Bug #2471: Update log messages that refer to deprecated actions 2013-11-25 16:08:37 +01:00
Ruben S. Montero bc98a3fa02 bug #2487: Always use the current system ds when resuming 2013-11-23 17:45:45 +01:00
Ruben S. Montero 7f2a68c5d5 Get rid of unneeded double string-int conversions 2013-11-22 10:15:57 +01:00
Carlos Martín 9c9a0306db Feature #2435 #2092: Do not allow migrations to/from a public cloud host 2013-11-21 18:46:31 +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 ab619a50f4 Bug #2487: RM forces the system DS for stopped/undeployed VMs 2013-11-21 18:28:49 +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
Ruben S. Montero 4988ddd0ec Fix deadlock when deleting a host with running VMs 2013-11-04 17:29:17 +01:00
Carlos Martín 61eab89315 Bug #2385 & #2418: Fix quota for nic attach when the owner is another user 2013-11-04 15:43:50 +01:00
Carlos Martín 50561edbc9 Bug #2385: Fix quota for vm attach disk when vm is owned by another user 2013-10-31 17:24:13 +01:00
Carlos Martín 5f04549bb7 Bug #2418: Fix quota rollback for vm resize when the VM is owned by another user 2013-10-31 17:24:13 +01:00
Ruben S. Montero ba92116496 fix dead-lock when deleting a host 2013-10-31 14:59:37 +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 c6748b2816 feature #1678: Drop logic moved to Information Manager. Always drop the host 2013-10-25 21:11:20 +02:00