root [Wed, 16 Mar 2011 17:00:33 +0000 (13:00 -0400)]
Merge commit 'origin/master'
Thierry Parmentelat [Wed, 16 Mar 2011 16:53:49 +0000 (17:53 +0100)]
add the initscript_body accessor/tag
Sapan Bhatia [Wed, 9 Mar 2011 15:14:49 +0000 (10:14 -0500)]
Added cache_utils to the distribution because it includes a patch and is not packaged by maintainer
Sapan Bhatia [Wed, 9 Mar 2011 15:06:52 +0000 (10:06 -0500)]
Formalized GetSlivers cache, added option to plc_config
root [Wed, 9 Mar 2011 08:34:55 +0000 (03:34 -0500)]
Merge commit 'origin/master'
Thierry Parmentelat [Wed, 9 Mar 2011 08:26:35 +0000 (09:26 +0100)]
Setting tag plcapi-5.0-30
working draft for GetSliceSshKeys
root [Wed, 9 Mar 2011 08:24:51 +0000 (03:24 -0500)]
Merge commit 'origin/master'
Thierry Parmentelat [Wed, 9 Mar 2011 08:18:40 +0000 (09:18 +0100)]
bugfixes
root [Wed, 9 Mar 2011 06:45:17 +0000 (01:45 -0500)]
Merge commit 'origin/master'
Thierry Parmentelat [Wed, 9 Mar 2011 06:41:35 +0000 (07:41 +0100)]
fixes in GetSliceSshKeys
smbaker [Wed, 9 Mar 2011 01:29:42 +0000 (17:29 -0800)]
add cpu_cores slice attribute
Thierry Parmentelat [Tue, 8 Mar 2011 23:24:44 +0000 (00:24 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 8 Mar 2011 23:17:10 +0000 (00:17 +0100)]
first draft for GetSliceSshKeys
Thierry Parmentelat [Thu, 17 Feb 2011 21:08:53 +0000 (22:08 +0100)]
Setting tag plcapi-5.0-29
trash getbootmedium tmp file if already exists but is longer than 5 minutes old
(this is for people who cancel their download)
Thierry Parmentelat [Fri, 11 Feb 2011 16:12:23 +0000 (17:12 +0100)]
cosmetic error msg - somehow debug_backtrace seems to lack context sometimes
Thierry Parmentelat [Fri, 11 Feb 2011 15:51:31 +0000 (16:51 +0100)]
whoops, stupid me
Thierry Parmentelat [Fri, 11 Feb 2011 15:25:47 +0000 (16:25 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Fri, 11 Feb 2011 15:09:02 +0000 (16:09 +0100)]
trashing existing tmp file if older than 5 minutes
Thierry Parmentelat [Fri, 4 Feb 2011 13:22:36 +0000 (14:22 +0100)]
Setting tag plcapi-5.0-28
fix db-config sequence : accessors step now merged in, and occurs at the right time
db-config also more robust
no more explicit 'accessors' step in plc.d
Thierry Parmentelat [Fri, 4 Feb 2011 11:50:41 +0000 (12:50 +0100)]
running accessors before db not working (misses admin account)
so merged accessors as one of the early stages of db-config.d
Thierry Parmentelat [Fri, 4 Feb 2011 10:26:05 +0000 (11:26 +0100)]
review startup steps 'db' and 'accessors' - run accessors first, make
code more robust
Thierry Parmentelat [Fri, 4 Feb 2011 08:23:44 +0000 (09:23 +0100)]
more robust
Thierry Parmentelat [Fri, 4 Feb 2011 08:23:23 +0000 (09:23 +0100)]
more verbose when fails to deal with a tagtype
Thierry Parmentelat [Thu, 3 Feb 2011 15:05:30 +0000 (16:05 +0100)]
more robust code for setting tags
Thierry Parmentelat [Thu, 3 Feb 2011 15:04:18 +0000 (16:04 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Thu, 3 Feb 2011 15:04:09 +0000 (16:04 +0100)]
more robust code for creating tags
wrap in try/except, enforce roles when set and ['admin'] otherwise, ignore min_role_id
Thierry Parmentelat [Thu, 3 Feb 2011 04:35:18 +0000 (05:35 +0100)]
Setting tag plcapi-5.0-27
session auth: do *not* delete session when node runs a method that does not have 'node' role
session auth: remove support for bootonce in old boot CDs
give a reason when caller_may_write_slice_tag fails
remove ugly hack that was setting 'vref' to 'omf' - need to set both tags now
Thierry Parmentelat [Wed, 2 Feb 2011 15:49:30 +0000 (16:49 +0100)]
oops again
Thierry Parmentelat [Wed, 2 Feb 2011 15:46:10 +0000 (16:46 +0100)]
oops
Thierry Parmentelat [Wed, 2 Feb 2011 15:34:21 +0000 (16:34 +0100)]
do not delete session when node is trying to call a method that it is not allowed to
Thierry Parmentelat [Wed, 2 Feb 2011 15:33:25 +0000 (16:33 +0100)]
remove support for boot_nonce and old boot CDs
Thierry Parmentelat [Wed, 2 Feb 2011 15:25:13 +0000 (16:25 +0100)]
provide a reason why permission is denied
Thierry Parmentelat [Wed, 2 Feb 2011 15:24:35 +0000 (16:24 +0100)]
remove an ugly hack that had GetSliceFamily set the slice vref to omf
Thierry Parmentelat [Wed, 2 Feb 2011 15:23:47 +0000 (16:23 +0100)]
svn keywords
Thierry Parmentelat [Tue, 1 Feb 2011 18:55:30 +0000 (19:55 +0100)]
Setting tag plcapi-5.0-26
SetSliceVref needed the node role
protect GetSliceFamily
Fix bugs in tag authorizations
Thierry Parmentelat [Mon, 31 Jan 2011 10:51:40 +0000 (11:51 +0100)]
bugfix - nodes could not write anu tag
Thierry Parmentelat [Fri, 28 Jan 2011 08:40:56 +0000 (09:40 +0100)]
protect GetSlivers against possible failure
Thierry Parmentelat [Fri, 28 Jan 2011 08:40:39 +0000 (09:40 +0100)]
vref may be set by node running getslivers -> getslicefamily -> setslicevref
Thierry Parmentelat [Sun, 23 Jan 2011 19:40:22 +0000 (20:40 +0100)]
Setting tag plcapi-5.0-25
altered checking of optional fields in Interfaces
UpdateTagType more picky on inputs - msg when trying to set roles, which is not supported
has pyxml and python-simplejson as new deps
Thierry Parmentelat [Tue, 18 Jan 2011 14:41:46 +0000 (15:41 +0100)]
raise exception when trying to set unsupported column
Thierry Parmentelat [Tue, 18 Jan 2011 14:09:40 +0000 (15:09 +0100)]
hopefully more robust, as we've seen this file to be interpreted by bash on PLE
Thierry Parmentelat [Fri, 14 Jan 2011 08:42:22 +0000 (09:42 +0100)]
fix sync target for pushing on running plc
Thierry Parmentelat [Wed, 5 Jan 2011 16:58:09 +0000 (17:58 +0100)]
fix URL in specfile - rm svn-keywords
Thierry Parmentelat [Thu, 30 Dec 2010 21:00:39 +0000 (22:00 +0100)]
more ignored files
S.Çağlar Onur [Wed, 22 Dec 2010 01:56:13 +0000 (20:56 -0500)]
use gethostbyname for determining PLC_API_IP argument like plc.d/postgresql
S.Çağlar Onur [Tue, 21 Dec 2010 20:56:23 +0000 (15:56 -0500)]
[minor] add required build deps.
root [Wed, 8 Dec 2010 15:40:26 +0000 (16:40 +0100)]
Merge commit 'local_master/master'
Thierry Parmentelat [Wed, 8 Dec 2010 15:39:20 +0000 (16:39 +0100)]
Setting tag plcapi-5.0-24
tweak doc extraction for fedora14
Daniel Hokka Zakrisson [Wed, 8 Dec 2010 15:38:23 +0000 (10:38 -0500)]
Fix gateway logic for secondary interfaces.
Thierry Parmentelat [Wed, 8 Dec 2010 09:12:34 +0000 (10:12 +0100)]
building myplc-docs on f14
Thierry Parmentelat [Tue, 7 Dec 2010 19:40:43 +0000 (20:40 +0100)]
Setting tag plcapi-5.0-23
builtin accessors for the myslice page
Get{Node,Interface}Tags allowed to techs
tweak in ratelimitaspect.py
Thierry Parmentelat [Tue, 7 Dec 2010 15:25:13 +0000 (16:25 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 7 Dec 2010 15:25:03 +0000 (16:25 +0100)]
allow tech to Get node and interface tags
Thierry Parmentelat [Tue, 7 Dec 2010 15:20:36 +0000 (16:20 +0100)]
svn kwds
Thierry Parmentelat [Tue, 7 Dec 2010 14:53:19 +0000 (15:53 +0100)]
more info on person when missing roles
S.Çağlar Onur [Mon, 6 Dec 2010 20:30:51 +0000 (15:30 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plcapi
S.Çağlar Onur [Mon, 6 Dec 2010 20:30:46 +0000 (15:30 -0500)]
Thierry Parmentelat [Mon, 6 Dec 2010 20:09:04 +0000 (21:09 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Mon, 6 Dec 2010 20:08:56 +0000 (21:08 +0100)]
remove dups & old ref. to ilinks
Thierry Parmentelat [Mon, 6 Dec 2010 20:07:24 +0000 (21:07 +0100)]
two accessors for use in myslice for storing user preferences
Thierry Parmentelat [Mon, 6 Dec 2010 15:59:19 +0000 (16:59 +0100)]
Setting tag plcapi-5.0-22
add admin role to accessor-related tags (arch, {fc,pl}distro)
Thierry Parmentelat [Mon, 6 Dec 2010 15:58:23 +0000 (16:58 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Mon, 6 Dec 2010 15:57:57 +0000 (16:57 +0100)]
all accessor-defined tag-types should have 'admin' role,
otherwise admin cannot call Set accessor
Thierry Parmentelat [Mon, 6 Dec 2010 15:48:48 +0000 (16:48 +0100)]
Setting tag plcapi-5.0-21
bugfix in {Update,Delete}PersonTag
updated xml doc for filters, accessors and tagtypes
more explicit msg in case of missing roles
improvements in ratelimitaspects.py
Thierry Parmentelat [Mon, 6 Dec 2010 15:44:12 +0000 (16:44 +0100)]
bug fix, tag_type was undefined
Thierry Parmentelat [Mon, 6 Dec 2010 15:43:49 +0000 (16:43 +0100)]
more explicit messages in case of missing role
Thierry Parmentelat [Mon, 6 Dec 2010 15:43:25 +0000 (16:43 +0100)]
more doc update
Thierry Parmentelat [Mon, 6 Dec 2010 15:43:07 +0000 (16:43 +0100)]
updated doc and comments
root [Fri, 3 Dec 2010 09:32:01 +0000 (04:32 -0500)]
Merge commit 'origin/master'
Thierry Parmentelat [Fri, 3 Dec 2010 09:29:29 +0000 (10:29 +0100)]
Setting tag plcapi-5.0-20
fix the roles for ssh_key and hmac tags
root [Thu, 2 Dec 2010 23:17:44 +0000 (18:17 -0500)]
Merge commit 'origin/master'
Thierry Parmentelat [Thu, 2 Dec 2010 23:11:00 +0000 (00:11 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Thu, 2 Dec 2010 23:10:48 +0000 (00:10 +0100)]
move sliverauth-related tags from db-config.d to accessors - fixed roles
S.Çağlar Onur [Thu, 2 Dec 2010 20:00:28 +0000 (15:00 -0500)]
add notification support
Thierry Parmentelat [Wed, 1 Dec 2010 16:48:43 +0000 (17:48 +0100)]
Setting tag plcapi-5.0-19
tag permissions system based on roles and not min_role_ids
accessors simplified accordingly (no more min_role_id)
new methods AddRoleToTagType and DeleteRoleFromTagType
accessor-related tagtypes are created sooner, and enforced
cleaned up redundancy between db-config.d and accessors
Thierry Parmentelat [Wed, 1 Dec 2010 16:01:54 +0000 (17:01 +0100)]
cleanup accessors
Thierry Parmentelat [Wed, 1 Dec 2010 14:44:49 +0000 (15:44 +0100)]
define_accessors accepts a list of classes if needed
service plc start accessors ensures consistency b/w the accessors
definition and the tag_types in the db
revised std accessors accordingly
Thierry Parmentelat [Wed, 1 Dec 2010 14:42:38 +0000 (15:42 +0100)]
tweaked message
Thierry Parmentelat [Wed, 1 Dec 2010 14:42:23 +0000 (15:42 +0100)]
del svn kwds
Thierry Parmentelat [Tue, 30 Nov 2010 18:17:12 +0000 (19:17 +0100)]
propagate caller in more places
node can change its own tag
protect for when caller does not have 'roles'
Thierry Parmentelat [Tue, 30 Nov 2010 17:51:19 +0000 (18:51 +0100)]
propagate caller when a method calls another method
Thierry Parmentelat [Tue, 30 Nov 2010 15:29:06 +0000 (16:29 +0100)]
ignoring tags
Thierry Parmentelat [Tue, 30 Nov 2010 15:26:20 +0000 (16:26 +0100)]
add node role to the 3 tags used (and possibly tweaked) by GetNodeFlavour
Thierry Parmentelat [Tue, 30 Nov 2010 15:25:54 +0000 (16:25 +0100)]
del svn kwds
Thierry Parmentelat [Tue, 30 Nov 2010 14:16:51 +0000 (15:16 +0100)]
added comment on how to modify accessors
Thierry Parmentelat [Tue, 30 Nov 2010 14:16:23 +0000 (15:16 +0100)]
missing import
Thierry Parmentelat [Tue, 30 Nov 2010 13:48:08 +0000 (14:48 +0100)]
cleanup tag types definition b/w db-config.d and accessors
Thierry Parmentelat [Tue, 30 Nov 2010 13:38:40 +0000 (14:38 +0100)]
plc.d/accessors now created the tagtype for all defined accessors
Thierry Parmentelat [Tue, 30 Nov 2010 13:36:04 +0000 (14:36 +0100)]
plc.d/accessors now created the tagtype for all defined accessors
Thierry Parmentelat [Tue, 30 Nov 2010 10:14:53 +0000 (11:14 +0100)]
again
Thierry Parmentelat [Tue, 30 Nov 2010 10:09:23 +0000 (11:09 +0100)]
fix fix
Thierry Parmentelat [Tue, 30 Nov 2010 10:07:27 +0000 (11:07 +0100)]
retrieve tag_type needed for caller_may_write_tag
Thierry Parmentelat [Mon, 29 Nov 2010 15:23:13 +0000 (16:23 +0100)]
svn-keywords
Thierry Parmentelat [Mon, 29 Nov 2010 15:22:58 +0000 (16:22 +0100)]
new step 'accessors' in the 'service plc start'
this ensures all the tagtypes mentioned in accessors are created
Thierry Parmentelat [Mon, 29 Nov 2010 14:53:35 +0000 (15:53 +0100)]
svn keywords
Thierry Parmentelat [Mon, 29 Nov 2010 10:02:37 +0000 (11:02 +0100)]
force import of AuthorizeHelpers
Thierry Parmentelat [Mon, 29 Nov 2010 10:02:14 +0000 (11:02 +0100)]
remove svn keywords
Thierry Parmentelat [Sun, 28 Nov 2010 16:29:07 +0000 (17:29 +0100)]
always invoke caller_my_access_tag
Thierry Parmentelat [Sun, 28 Nov 2010 16:28:49 +0000 (17:28 +0100)]
removed svn keywords
Thierry Parmentelat [Fri, 26 Nov 2010 08:28:17 +0000 (09:28 +0100)]
add missing imports