1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00
Commit Graph

1148 Commits

Author SHA1 Message Date
Jaime Melis
13af872dce Feature #2202: Adds support for cdroms a Gluster datastores 2014-03-11 14:54:18 +01:00
Ruben S. Montero
dbe21675fa System attributes, Group and User quotas are local tables needs to be bootstraped locally 2014-03-08 02:44:53 +01:00
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
444b5bf8c0 Feature #1798: Add host reserved_cpu/mem attributes each monitoring step 2014-03-06 16:18:28 +01:00
Ruben S. Montero
73456ca7a7 Merge branch 'feature-2465' 2014-03-05 18:14:46 +01:00
Carlos Martín
0ebd23916a Bump version manually for shared/local tables 2014-03-05 16:33:05 +01:00
Ruben S. Montero
a759d95c59 feature #2465: virtualnetwork can update VLAN, VLAN_ID, BRIDGE and PHYDEV configuration attributes 2014-03-04 17:11:56 +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
Javi Fontan
03f577bbeb Bump version 2014-03-04 12:53:44 +01:00
Javi Fontan
68a7909348 Change Nebula.h version for bump version script 2014-03-04 12:49:42 +01:00
Ruben S. Montero
7577d6d6b9 feature #1798: Optionally reserve capacity from a host. Cluster defaults can be defined 2014-03-04 11:42:44 +01:00
Tino Vazquez
c58cc19d01 Feature #2696: Add generic Template for Groups 2014-02-26 12:59:29 +01:00
Ruben S. Montero
3ae612a3c6 feature #2743: Split logic to deal with local and shared table DB versions. 2014-02-23 19:31:08 +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
Ruben S. Montero
f01854f8d9 Merge branch 'master' of git.opennebula.org:one 2014-02-20 12:36:40 +01:00
Ruben S. Montero
d1a2b207f2 feature #2587: Added a DEFAULT_DEV_PREFIX for CD-ROM devices 2014-02-20 12:36:06 +01:00
Jaime Melis
2a8393b15d Merge branch 'bug-2645' 2014-02-19 22:58:18 +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
22e621ea95 Bug #2734: ACL rules are not forced to be in the local zone
But the onedb import-slave command will simply ignore any
rule that applies to a zone other than #0 or *
2014-02-18 18:54:36 +01:00
Carlos Martín
d0eb7aead4 Bug #2734: Revert "Feature #2694: Force ACL rule zone to be the local zone when oned is standalone"
This reverts commit 41756a9de3.
2014-02-18 18:45:01 +01:00
Jaime Melis
3004e3c055 Bug #2645: A VM disk detach leaves Images to be saved-as in LOCKED state 2014-02-17 15:47:46 +01:00
Carlos Martín
41756a9de3 Feature #2694: Force ACL rule zone to be the local zone when oned is standalone
This way the import process to a federation is simplified
2014-02-13 17:23:42 +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
Carlos Martín
9b7a1120d5 Feature #2693: A federation slave can now bootstrap the remaining local tables 2014-02-05 19:30:35 +01:00
Ruben S. Montero
93377e0ba6 Feature #2672: Remove uneeded getter. add some comments 2014-01-30 11:41:56 +01:00
Carlos Martín
a6455c9d04 Bug #2676: Ensure Zone TEMPLATE/ENDPOINT always exists 2014-01-29 19:26:01 +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
c36bc33fd4 Feature #2665: More DB write checks for federation slaves 2014-01-29 13:04:07 +01:00
Carlos Martín
7254f1b81a Feature #2653: Add more checks to ACL creation 2014-01-28 18:21:49 +01:00
Carlos Martín
87df948ee3 Feature #2562: Create a local zone on bootstrap 2014-01-28 18:20:59 +01:00
Carlos Martín
83a5a413ab Feature #2613: Implement onezone rename 2014-01-28 14:47:57 +01:00
Carlos Martín
758d9fdb8a Merge remote-tracking branch 'origin/feature-2672' into vdc-federation
Conflicts:
	include/AclManager.h
	src/acl/AclManager.cc
	src/nebula/Nebula.cc
2014-01-27 17:51:54 +01:00
Carlos Martín
ab479bdc72 Feature #2672: Disable ACL cache for federation slave nodes 2014-01-27 17:44:27 +01:00
Ruben S. Montero
2c6049b754 Feature #2653: Store zone_id in AclManager and send it to PoolObjectAuth 2014-01-25 20:41:13 +01:00
Carlos Martín
63d0b8f5a3 Feature #2653: Temporary fix for stand-alone mode 2014-01-24 18:50:09 +01:00
Carlos Martín
025092f157 Feature #2672: Disable cache for federation slave nodes 2014-01-24 18:27:36 +01:00
Ruben S. Montero
3721b0ff68 Remove unused Zone attribute 2014-01-24 00:26:44 +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
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