Ruben S. Montero
7301def913
feature #132 : Support for reboot action in OpenNebula core
2011-12-25 23:46:19 +01:00
Ruben S. Montero
42cebe30c1
Bug #1036 : Local hooks are now executed from $VAR_LOCATION/remotes/hooks. Remote hooks are still executed from the SCRIPTS_REMOTE_PATH.
2011-12-19 23:35:46 +01:00
Ruben S. Montero
f41a20d4dd
Bug #963 : Prevents seg fault if user is freed while executing RM action
2011-12-19 22:42:33 +01:00
Carlos Martín
f0d8ac78d6
Bug #759 : Check if XML is valid before it is stored in the DB.
2011-12-19 17:09:31 +01:00
Ruben S. Montero
3f38152881
feature #360 : Scheduler now uses configuration file parameters. Removed sched options from one start script and scheduler daemon
2011-12-15 01:19:23 +01:00
Ruben S. Montero
52819b7909
feature #360 : Split NebulaTemplate class to support addtional configuration files for OpenNebula daemons
2011-12-13 23:57:56 +01:00
Carlos Martín
3bce21e03a
Modify one.host.allocate signature, to match changes of commit:665036ef
2011-12-13 17:36:20 +01:00
Jaime Melis
db18cbe829
Bump to version 3.1.80
2011-12-05 17:56:34 +01:00
Ruben S. Montero
6c7bbe6d76
Merge branch 'feature-602'
...
Conflicts:
src/vnm/test/VirtualNetworkPoolTest.cc
2011-12-04 19:58:51 +01:00
Ruben S. Montero
3874271a69
Merge branch 'master' into feature-863
...
Conflicts:
install.sh
src/cli/one_helper/onevnet_helper.rb
src/mad/ruby/ActionManager.rb
2011-12-02 18:13:39 +01:00
Carlos Martín
5f7cea8083
Feature #602 #863 : Add VLAN tag to vnets and VM NIC attribute
...
(cherry picked from commit cdf1231f81
)
Conflicts:
src/cli/one_helper/onevnet_helper.rb
src/vnm/test/VirtualNetworkPoolTest.cc
2011-12-02 12:43:29 +01:00
Carlos Martín
cdf1231f81
Feature #602 #863 : Add VLAN tag to vnets and VM NIC attribute
2011-12-02 12:23:21 +01:00
Ruben S. Montero
8117ca4b77
Bug: Fixed wrong method name for VM migrate
2011-12-01 21:58:29 +01:00
Carlos Martín
d3081e4cb6
Feature #862 : 'one* list a' commands return all the resources over which the user has INFO rights
2011-12-01 09:56:29 -08:00
Carlos Martín
05e40b5b6f
Feature #602 : Small bugfixes
2011-11-29 18:09:19 +01:00
Carlos Martín
4904cc964b
Feature #965 : New one.vn.hold and one.vn.release methods to mark IPs as used, without an associated VM. Includes Ruby OCA and CLI
2011-11-29 16:12:00 +01:00
Carlos Martín
effb4a5712
Feature #602 : Refactorin of the Range creation code. New method RangedLeases::process_template
2011-11-28 17:24:46 +01:00
Carlos Martín
83e82830c8
Feature #602 : Refactor Ranged VNets to store first and last IP of the range
2011-11-25 10:02:17 -08:00
Javi Fontan
85a676e959
now vmm deploy gets local and remote deployment paths
2011-11-16 18:11:53 +01:00
Ruben S. Montero
535d1c06c4
feature #966 : Vnet can now be referred by name with NETWORK
2011-11-12 23:39:10 +01:00
Ruben S. Montero
34cb7a19be
feature #966 : Images can now be referred by name with IMAGE. Conflicts for images with the same name can be resolved with IMAGE_UID and IMAGE_UNAME
2011-11-12 03:20:59 +01:00
Carlos Martín
7efcb0e140
Feature #863 : Small comment fix
2011-11-11 17:11:59 +01:00
Ruben S. Montero
744ab1faca
feature #863 : Fix XML for the driver message
2011-11-11 00:45:33 +01:00
Ruben S. Montero
fbcc340c8a
feature #863 : change prototype for vnm_mad functions
2011-11-10 22:53:39 +01:00
Carlos Martín
665036efcf
Feature #863 : Add Virtual Network MAD to hosts
2011-11-10 17:28:32 +01:00
Ruben S. Montero
5571bd81c0
feature #863 : Fix comment on for the XML format of the driver message
2011-11-10 11:20:49 +01:00
Ruben S. Montero
f6ce18bfb4
feature #863 : Change the OpenNebula Core to VMM Driver protocol now all messages have the same format:
...
ACTION ID XML_B64_DATA
The B64 data includes the parameters for each action plus a new field for the network driver used by the target host.
Also this commit changes the tree for the networking drivers.
2011-11-10 11:15:58 +01:00
Carlos Martín
45e4923dc0
Fixes outdated xml-rpc methods signatures
2011-11-02 17:36:53 +01:00
Ruben S. Montero
9abd1e91a4
Merge branch 'master' into bug-847
2011-10-27 01:46:30 +02:00
Ruben S. Montero
76243c5ea8
Merge branch 'bug-868'
2011-10-27 01:43:28 +02:00
Carlos Martín
c7584ad602
Bug #847 : Automatically create at bootstrap new user serveradmin with server_cipher driver.
2011-10-25 18:49:09 +02:00
Carlos Martín
0bd23e33d9
Bug #847 : Change the expected session token for server users to allow session caching
2011-10-24 18:04:00 +02:00
Ruben S. Montero
2650f81e50
Merge branch 'master' into bug-847
...
Conflicts:
src/ozones/Server/lib/OZones/AggregatedPool.rb
src/ozones/Server/lib/OZones/Zones.rb
2011-10-23 00:42:39 +02:00
Ruben S. Montero
03c9e6bc9a
feature #940 : Removed security check in tm_context drivers. Added check for restricted attributes to
...
VirtualMachineTemplate class. VM creation check templates for non-oneadmin users.
2011-10-22 22:38:00 +02:00
Carlos Martín
f0b1a28d89
Bug #868 : Add new one.image.chtype method, in core, ruby & java oca, and CLI. Needs testing
2011-10-21 18:50:04 +02:00
Ruben S. Montero
7a44026d66
bug #847 : Get rid of unneeded constructor in AuthRequest
2011-10-21 10:15:26 +02:00
Ruben S. Montero
3a2cbc229b
bug #847 : This commit includes several changes to the auth mechanism:
...
1.- Simplified auth methods for UserPool
2.- Added special SERVER_AUTH method for sudo'ing
3.- Added special PUBLIC_AUTH method for only-public interface users
4.- Added special driver name ("default") to authenticate unknown users
2011-10-21 01:17:46 +02:00
Carlos Martín
86c127320e
Bug #847 : Perform sha1 for new passwords if the core driver is used
2011-10-20 19:22:42 +02:00
Carlos Martín
303d17b260
Bug #847 - #918 : Add password to one.user.chauth method, this way the driver and the auth driver are changed atomically
2011-10-20 18:58:40 +02:00
Carlos Martín
319e170ea5
Bug #847 : Add new ACL operation to change the user auth driver. TODO: update Sunstone acl tab
2011-10-20 17:46:33 +02:00
Carlos Martín
30734a57f2
Bug #847 - #929 : Add session expiration time in oned.conf
2011-10-20 12:53:36 +02:00
Carlos Martín
0ff522488f
Bug #847 - #929 : Include authentication session expiration time
2011-10-20 11:55:44 +02:00
Carlos Martín
b8ab225614
Bug #847 - #928 : The character ':' is now allowed in passwords
2011-10-18 18:48:31 +02:00
Carlos Martín
d2e781cd27
Bug #847 - #918 : Add method to change user auth driver in core, ruby oca and CLI
2011-10-17 15:08:00 +02:00
Ruben S. Montero
30a9162f5e
Merge branch 'master' into bug-847
...
Conflicts:
src/um/UserPool.cc
2011-10-15 00:22:52 +02:00
Ruben S. Montero
605d580c63
bug #847 : The authentication driver is now not encoded as part of the secret. The base auth driver has been updated to deal with this new protocol
2011-10-12 01:00:50 +02:00
Ruben S. Montero
fcb352d09d
bug #847 : Tokens are never sha1_digested. Core authentication mechanism stores the passwords digested, client sends plain passwords. Includes OCA (Ruby), CloudAuth and CLI updates. Ozones needs redesign its password storafe strategy.
2011-10-12 00:27:03 +02:00
Ruben S. Montero
cbf64ecf1b
bug #847 : Auth drivers are set in OpenNebula core. Login tokens do not include the driver, so the hash logic needs update, see #911
2011-10-11 19:15:13 +02:00
Ruben S. Montero
7683ba8998
bug #847 : Cleans image templates so only metadata is left. Adds path and fstype to image attributes for reference
2011-10-11 16:05:32 +02:00
Ruben S. Montero
1d9d1bd7bb
bug #847 : Fix constness for erase method in PoolObjectSQL. Better check in template erase
2011-10-11 15:46:58 +02:00
Ruben S. Montero
8356248782
bug #847 : changes the prototype of mkfs function in Image Driver
2011-10-11 15:45:38 +02:00
Ruben S. Montero
6c55f347ec
bug #847 : Added method to get & erase an attribute. Cleaned up prototypes
2011-10-11 12:47:30 +02:00
Ruben S. Montero
b94dd94f3f
bug #847 : Adds template to Users to store metadata. Added OCA (ruby) methods and command option
2011-10-11 00:20:50 +02:00
Ruben S. Montero
fd5fc63dd0
bug #847 : Implements update method for VirtualNetworks in OpenNebula core
2011-10-10 23:06:13 +02:00
Carlos Martín
21bca20780
Bug #848 : Add error message and stop oned execution if bootstrap fails
2011-10-10 06:14:46 -07:00
Jaime Melis
b4368c961a
Bump version to 3.1.0
2011-09-23 17:01:43 +02:00
Carlos Martín
77cf88ca5d
Clean some TODOs in core
2011-09-21 16:13:04 +02:00
Ruben S. Montero
84a8d9e282
Bug #804:removed unneeded return
...
(cherry picked from commit 2fc3d7fbb4
)
2011-09-15 23:17:51 +02:00
Carlos Martín
91d554b3aa
Bug #804 : Better image release rollback when a VM can't be created
2011-09-15 19:07:30 +02:00
Carlos Martín
f2a45ed139
Bugs #797 , #485 : Add invalid character checks to user names, add invalid char ':'
2011-09-13 17:54:51 +02:00
Ruben S. Montero
0faf6203fb
bug #797 : OpenNebula core prevents a password with spaces to be used
...
(cherry picked from commit f0410c9e75
)
2011-09-09 18:33:37 +02:00
Jaime Melis
72b24945a6
Bump version to 2.9.85
2011-09-02 17:37:50 +02:00
Ruben S. Montero
c8f44ede9a
feature #788 : Compute image size when moving an image to the repository. Drivers now return <CP|MV|MKFS> SUCESS IMAGE_ID SOURCE SIZE. The fs based image repository drivers has been updates, oneimage utility has been also updated to show the size (list and show operations).
2011-08-31 16:21:18 +02:00
Ruben S. Montero
3501633b3d
Merge branch 'master' into feature-754
2011-08-30 17:09:57 +02:00
Ruben S. Montero
a85b531035
feature #718 : Change operation for deploy and migrate actions to DEPLOY
2011-08-30 16:34:05 +02:00
Ruben S. Montero
a724af2add
Merge branch 'feature-718'
2011-08-30 15:51:50 +02:00
Ruben S. Montero
6b63fd4fe0
feature: New configuration attribute for the the number of HOSTs and VMs to be monitored per interval.
2011-08-16 18:12:45 +02:00
Carlos Martín
8706613748
Feature #718 : Add new DEPLOY authorization operation in core
2011-08-05 16:35:24 +02:00
Ruben S. Montero
65606e7faf
feture-754: OpenNebula core sends information about the ACL authZ result to the driver. Improved formating of auth strings. Check trivial authZ requests.
2011-07-27 11:27:16 +02:00
Ruben S. Montero
22574704e4
bug #742 : Cosmetic change in error message for Image::persistent method
2011-07-27 10:17:17 +02:00
Carlos Martín
3cf9d5c68b
Bug #742 : Images can't be made (non)persistent when are in use. Add better error reporting.
2011-07-26 19:35:58 +02:00
Carlos Martín
3282fb80d5
Bug #719 : Fixed taking back the RM UserDelete::drop method, see commit:66485c6e
2011-07-21 02:57:04 -07:00
Carlos Martín
32e10726d4
Bug: Image and VNet creation with an already used name reported a DB error, instead of a nice reason like Templates
2011-07-12 19:30:00 +02:00
Jaime Melis
9f3919b0ac
Bump version to 2.9.80
2011-07-12 15:36:41 +02:00
Carlos Martín
55a8601b85
onedb: Change the db_versioning table.
...
Until now the version column was an integer, and the version was supposed to be
incremental starting from 0.
This can be a problem in future scenarios where we may have two active branches.
The table has been modified to store a string with the OpenNebula version.
2011-07-12 13:54:53 +02:00
Ruben S. Montero
88317546b5
feature #653 , #488 : Networks can only be referenced by ID in NICs. Names can now be repeated, even for the same user
2011-07-08 20:00:27 +02:00
Ruben S. Montero
82982a7a31
feature #653 , #488 : Images can only be referenced by ID in DISKs. Names can now be repeated, even for the same user
2011-07-08 18:55:21 +02:00
Ruben S. Montero
66485c6ed7
MULTIPLE GROUPS: Removed initial effort to support multiple user groups for the users. This should be easily recovered to complete this feature in the future
2011-07-07 19:01:04 +02:00
Carlos Martín
03fac9096a
Bug #702 : xmlrpc-c does not create a new xmlrpc_c::method class for each request.
...
Instead, it creates a single instance and its execute method is called for each new request.
This caused some variables to be shared by several threads, which eventually ended in
segmentation fault.
2011-07-07 12:45:13 +02:00
Ruben S. Montero
db1a3ae691
Merge branch 'feature-687' of git.opennebula.org:one into feature-687
2011-07-05 16:32:58 +02:00
Ruben S. Montero
37f0700a96
feature #687 : Added an ACL Manager to the Scheduler. The ACL is base class for the new one
2011-07-05 16:32:18 +02:00
Ruben S. Montero
d850f6924d
feature #687 : AclManager can now be rebuild from an xml string
2011-07-04 22:33:13 +02:00
Ruben S. Montero
2e9ed0cc9f
feature #687 : Removed unused ObjectXML method
2011-07-04 22:32:29 +02:00
Carlos Martín
27e04919b2
Feature #687 : Add a default ACL rule at bootstrap
2011-07-04 19:14:43 +02:00
Carlos Martín
3db9d55684
Feature #687 : Add the ACL Manager to the test Nebula class
2011-07-04 15:59:36 +02:00
Ruben S. Montero
d60c98345b
feature #687 : DeleteRule returns the oid of the rule. AclManager initialized in constructor
2011-07-03 22:52:21 +02:00
Ruben S. Montero
84a19e69ad
feature #687 : Minor changes in the ACL module
2011-07-03 14:13:43 +02:00
Ruben S. Montero
c844ccb2cd
feature #687 : Comments and formatting for AclRule. Removed uneeded includes
2011-07-03 13:12:00 +02:00
Ruben S. Montero
95cc8c31d5
feature #687 : Potentiall access to freed memory in Object_XML::get_nodes. Nodes must be disposed when not needed by the calling function
2011-07-03 01:57:39 +02:00
Ruben S. Montero
ff7e79207f
feature #687 : Scheduler uses the new filter function
2011-07-02 19:11:22 +02:00
Ruben S. Montero
d74b69e4ce
Merge branch 'feature-696' into feature-687 + Filter for all groups
...
Conflicts:
include/RequestManagerPoolInfoFilter.h
src/rm/RequestManagerPoolInfoFilter.cc
2011-07-01 18:39:36 +02:00
Carlos Martín
2b90f02377
Feature #687 : Bug in RequestManagerPoolInfoFilter: each request has a different operation, they can't share the common auth_op attribute
2011-07-01 17:33:37 +02:00
Carlos Martín
1b656b3b29
Feature #687 : Additional check for new ACL rules
2011-07-01 12:54:31 +02:00
Carlos Martín
dc0a1edff5
Feature #687 : Better handling of requests that don't have oid or gid
2011-06-30 19:43:36 +02:00
Carlos Martín
d813946556
Feature #687 : Add method AclRule::from_xml
2011-06-30 16:04:56 +02:00
Carlos Martín
f2f9c267cb
Feature #687 : Let users in the oneadmin group manage ACL rules
2011-06-30 15:17:58 +02:00
Ruben S. Montero
071763887c
Merge branch 'feature-687' of git.opennebula.org:one into feature-687
2011-06-30 12:10:01 +02:00
Ruben S. Montero
255c8ff886
feature #687 : user and group name are now stored in XML descriptions
2011-06-30 12:09:25 +02:00
Carlos Martín
348e0aaebc
Feature #687 : Add mutex to AclManager
2011-06-30 11:41:27 +02:00
Ruben S. Montero
8e33e4cded
feature #687 : Resources now stores the name of the owner and the group
2011-06-30 11:31:00 +02:00