1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

8220 Commits

Author SHA1 Message Date
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
Carlos Martín
91bb93157b Bug #2712: Fix shell characters for mysql commands in onedb. Thanks to Nicolas Belan for the patch. 2014-03-04 15:44:15 +01:00
Carlos Martín
d2b9792240 Bug #2735: Translate zone id in resource providers and acl rules 2014-03-04 15:33:22 +01:00
Carlos Martín
fce451fc72 Feature #2763: Add group/template to onedb import-slave 2014-03-04 15:33:22 +01:00
Carlos Martín
cee9188aaa Bug #2735: Fix bug in import-slave 2014-03-04 15:33:22 +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
253d75ef0b Merge branch 'master' of git.opennebula.org:one 2014-03-04 12:02:47 +01:00
Ruben S. Montero
f8977e26c3 feature #1798: Get rid of HYPERVISOR_MEM as resources can be now limited host or cluster-wise 2014-03-04 12:02:08 +01:00
Carlos Martín
050c445cc3 Set same defaults for onezone list in code and yaml file 2014-03-04 11:46:51 +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
Carlos Martín
8df6d07a48 Feature #2565: Fix bug in acl creation 2014-03-04 11:34:43 +01:00
Carlos Martín
e317c57a55 Feature #2743: onedb upgrade now has two set of migrator files, for shared and local tables 2014-03-03 19:11:17 +01:00
Carlos Martín
e1cde0733d Feature #2745: Make onedb fsck aware of the slave and master databases 2014-03-03 16:48:44 +01:00
Javi Fontan
8dcec74c42 Typo in oneacct help 2014-03-03 16:46:05 +01:00
Carlos Martín
417cf91089 Feature #2763: Add GROUP/TEMPLATE to migrator 2014-03-03 14:46:34 +01:00
Ruben S. Montero
e8d556caed Merge branch 'bug-2723' 2014-03-01 23:16:05 +01:00
Tino Vazquez
0927a5b881 Feature #2506: Change input to textarea to allow multiple lines 2014-02-28 18:35:56 +01:00
Tino Vazquez
34ac8ff03c Bug #2721: Add error check in onegroup creation 2014-02-28 17:09:38 +01:00
Tino Vazquez
15af612918 Feature #2696: Improve Sunstone views assigments 2014-02-28 16:42:07 +01:00
Javi Fontan
f1e3d105af feature #2371: parse cdata with ox parser 2014-02-28 10:55:15 +01:00
Ruben S. Montero
1f80bb3b75 bug #2762: Prevent collitions between vlanid and vnetid
(cherry picked from commit ad1276927c8d6089f240a7bd8cf43f4ae7e57d96)
2014-02-27 13:11:59 +01:00
Ruben S. Montero
154279f24f bug #2762: Generate BRIDGE as "onebr<vlanid>" if vlan_id is defined
(cherry picked from commit d1ea5db93c2683727f408d920bdae9c95308ef47)
2014-02-27 12:46:25 +01:00
Tino Vazquez
4cf97994a0 Feature #2696: Retrieve views from primary group template 2014-02-26 19:20:01 +01:00
Tino Vazquez
7b0136523f Feature #2696: Sunstone support for Group template 2014-02-26 17:41:08 +01:00
Tino Vazquez
c58cc19d01 Feature #2696: Add generic Template for Groups 2014-02-26 12:59:29 +01:00
Javi Fontan
7b972c09da bug #2744: fix bug generating fingerprint for econe keypair 2014-02-26 12:25:56 +01:00
Carlos Martín
16056fcce1 Feature #2743: Make the migrator aware of the new local_db_versioning table 2014-02-24 18:07:02 +01:00
Javi Fontan
7f409c7b7c bug #2546: fix bug with remotes rsync copy 2014-02-24 15:30:02 +01:00
Ruben S. Montero
be2ff24801 Merge branch 'feature-1484' 2014-02-23 19:40:04 +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
Javi Fontan
414fdf8fb6 bug #2560: add remote to kill wild collectd processes 2014-02-21 19:05:02 +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
3a0fefc1c1 Bug #2741: Do not use floats to calculate cpu quotas in fsck 2014-02-20 16:36:57 +01:00
Carlos Martín
1e096aa69c Update onedb fsck 2014-02-20 16:36:57 +01:00
Carlos Martín
4ac9c8126e Fix bug in 4.5.80 migrator 2014-02-20 16:36:57 +01:00
Javi Fontan
5ad7d82109 bug #2723: fix use of --user with --cluster in the cli
--cluster param needs to create a client to search for the cluster. This
happens while the parameters are being parsed so it fails if there is no
ONE_AUTH. To make it work the parameters user, password and endpoint
are saved as OneHelper class variables as soon as they are parsed. This way
they can be used to create the XMLRPC client before all parameters are parsed.
2014-02-20 16:24:08 +01:00
Ruben S. Montero
96c823c3af feature #2731: System DS can be added to a cluster through Sunstone 2014-02-20 15:54:43 +01:00
Ruben S. Montero
12a9b8db46 feature #2731: Datastores with ID < 100 can now be removed or added to a cluster 2014-02-20 15:48:13 +01:00
Ruben S. Montero
4d2a2528d6 Merge branch 'master' of git.opennebula.org:one 2014-02-20 13:29:34 +01:00
Javi Fontan
a52a66445e Fix onehost sync percentage bar bug 2014-02-20 13:00:47 +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
Jaime Melis
10a161eda7 Merge branch 'feature-2568' 2014-02-19 22:52:21 +01:00
Carlos Martín
7e824a39a2 Feature #2736: Default group ACL allows to create DOCUMENTs
This way we can remove the default acl that allowed everybody
to create them, and let the admin decide when a new group
is defined.
2014-02-19 19:05:30 +01:00
Carlos Martín
73bdfbe632 Bug #2724 #2736: DS 1,2 are not created with permission OTHER USE
Since permissions are managed with resource providers, it is no
longer needed
2014-02-19 19:05:30 +01:00
Javi Fontan
a224d0777e Merge branch 'deployment_changes' 2014-02-19 18:25:28 +01:00