plcapi.git
12 years agoSetting tag plcapi-5.0-36 plcapi-5.0-36
Thierry Parmentelat [Mon, 28 Nov 2011 08:28:18 +0000 (09:28 +0100)]
Setting tag plcapi-5.0-36
tweaks in postgresql setup - in line with sfa

12 years agooops
Thierry Parmentelat [Sun, 27 Nov 2011 21:58:01 +0000 (22:58 +0100)]
oops

12 years agoseparate postgresql launching and checking
Thierry Parmentelat [Wed, 23 Nov 2011 17:59:42 +0000 (18:59 +0100)]
separate postgresql launching and checking

12 years agoSetting tag plcapi-5.0-35 plcapi-5.0-35
Thierry Parmentelat [Mon, 26 Sep 2011 14:20:51 +0000 (16:20 +0200)]
Setting tag plcapi-5.0-35
slight tweaks in Persons.py

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plcapi
Tony Mack [Wed, 7 Sep 2011 18:33:18 +0000 (14:33 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plcapi

12 years agofix bug that prevented certain users from being deleted
Tony Mack [Wed, 7 Sep 2011 18:33:11 +0000 (14:33 -0400)]
fix bug that prevented certain users from being deleted

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 6 Sep 2011 15:09:21 +0000 (17:09 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

12 years agoopen up visibility amob people on a same site
Thierry Parmentelat [Tue, 6 Sep 2011 15:09:07 +0000 (17:09 +0200)]
open up visibility amob people on a same site
pis and techs can see all users on their site, regardless of roles
formerly people with admin role were artificially hidden

12 years agoSetting tag plcapi-5.0-34 plcapi-5.0-34
Thierry Parmentelat [Wed, 31 Aug 2011 09:42:27 +0000 (11:42 +0200)]
Setting tag plcapi-5.0-34
GetSession has support for more than one day sessions
reset_xmpp_pubsub_nodes is much more efficient
reset_xmpp_pubsub_nodes uses the config instead of localhost:5053
bugfix - deleting a person in the middle of the signup process

12 years agoremove verification_expires from person before deleting
Tony Mack [Tue, 2 Aug 2011 12:20:54 +0000 (08:20 -0400)]
remove verification_expires from person before deleting

12 years agocan now delete accounts that still have a pending verification
Tony Mack [Mon, 25 Jul 2011 18:07:34 +0000 (14:07 -0400)]
can now delete accounts that still have a pending verification

12 years agofix typo
Baris Metin [Thu, 7 Jul 2011 18:36:01 +0000 (14:36 -0400)]
fix typo

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Thu, 7 Jul 2011 10:29:08 +0000 (12:29 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

12 years agomuch faster reset_xmpp_pubsub_nodes - one single API call
Thierry Parmentelat [Thu, 7 Jul 2011 10:29:00 +0000 (12:29 +0200)]
much faster reset_xmpp_pubsub_nodes - one single API call
to retrieve nodes

12 years agoAdd an optional 'expires' argument to GetSession() to allow longer expirations
Stephen Soltesz [Fri, 17 Jun 2011 00:01:49 +0000 (20:01 -0400)]
Add an optional 'expires' argument to GetSession() to allow longer expirations

12 years agoSetting tag plcapi-5.0-33 plcapi-5.0-33
Thierry Parmentelat [Tue, 7 Jun 2011 12:02:23 +0000 (14:02 +0200)]
Setting tag plcapi-5.0-33
ratelimit aspects
cache getslivers per node if PLC_GET_SIVERS_CACHE is enabled
requires Django for cache_utils
attempt to expose 'pldistro' to sfa
last_time_spent_online, last_time_spent_offline: new fields in Node
new slice tags 'isolate_loopback' and 'cpu_cores'
refresh-peer federation logs dump exceptions
modpython logs have a timestamp
more verbose/accurate php error reporting
postgresql listens on PLC_DB_HOST+localhost instead of 0.0.0.0
AddNode, UpdateNode: manage tags directly rather than through another method
BootUpdateNode: only update once
GetPersons: techs can access the list of persons on their site
GetSlices and GetSliceTags: techs can see slices on their nodes
GetSlivers: isrootonsite tag; cacheable

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 7 Jun 2011 12:00:53 +0000 (14:00 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

12 years agoreviewed comments - no change
Thierry Parmentelat [Tue, 7 Jun 2011 12:00:27 +0000 (14:00 +0200)]
reviewed comments - no change

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plcapi
Tony Mack [Wed, 1 Jun 2011 17:09:15 +0000 (13:09 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plcapi

12 years agofix NameError
Tony Mack [Wed, 1 Jun 2011 17:08:46 +0000 (13:08 -0400)]
fix NameError

12 years agoAdd two new fields to Nodes & DB to track last run-time and last down-time
Stephen Soltesz [Fri, 27 May 2011 21:12:22 +0000 (17:12 -0400)]
Add two new fields to Nodes & DB to track last run-time and last down-time
    add fields: last_time_spent_online & last_time_spent_offline
    make BootUpdateNode conditional on parameters passed so these values are
        calculated only once per boot.
    bootmanager was also updated to enforce this limit in a separate patch.

12 years agotechs can view all the users at their site
Tony Mack [Thu, 19 May 2011 01:34:46 +0000 (21:34 -0400)]
techs can view all the users at their site

12 years agoTechs can view slices that are running on nodes at their site
Tony Mack [Thu, 19 May 2011 00:08:59 +0000 (20:08 -0400)]
Techs can view slices that are running on nodes at their site

12 years agoTechs can view slices that are running on nodes at their site
Tony Mack [Thu, 19 May 2011 00:06:58 +0000 (20:06 -0400)]
Techs can view slices that are running on nodes at their site

12 years agotweak the way postgresql.conf defines listen_addresses
Thierry Parmentelat [Mon, 16 May 2011 09:13:24 +0000 (11:13 +0200)]
tweak the way postgresql.conf defines listen_addresses
now mention PLC_DB_HOST and localhost
in some setups, when run inside a vserver, localhost was found to not
be bound

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Mon, 16 May 2011 09:09:10 +0000 (11:09 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

12 years agoPrint php.log stack traces in reverse order (a more standard order)
Stephen Soltesz [Thu, 12 May 2011 21:52:28 +0000 (17:52 -0400)]
Print php.log stack traces in reverse order (a more standard order)

12 years agoAdd isolate_loopback slice tag to prevent shared loopback at vserver creation
Stephen Soltesz [Thu, 12 May 2011 21:51:21 +0000 (17:51 -0400)]
Add isolate_loopback slice tag to prevent shared loopback at vserver creation

12 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Mon, 9 May 2011 08:04:51 +0000 (10:04 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agofix ;
Baris Metin [Wed, 4 May 2011 21:24:44 +0000 (17:24 -0400)]
fix ;

13 years agoexpose pldistro tag in sfa
Thierry Parmentelat [Tue, 3 May 2011 06:21:43 +0000 (08:21 +0200)]
expose pldistro tag in sfa

13 years agofix typo
Baris Metin [Fri, 29 Apr 2011 20:40:00 +0000 (16:40 -0400)]
fix typo

13 years agoAdd timestamp to ModPython exceptions to aid in tracking down time-of-failure
Stephen Soltesz [Tue, 26 Apr 2011 19:23:30 +0000 (15:23 -0400)]
Add timestamp to ModPython exceptions to aid in tracking down time-of-failure
Add more detailed stack traces to plc_api.php to identify users and arguments of failed API commands.

13 years agoMerge branch 'master' of ssh://sapanb@git.planet-lab.org/git/plcapi
Sapan Bhatia [Tue, 26 Apr 2011 14:05:51 +0000 (10:05 -0400)]
Merge branch 'master' of ssh://sapanb@git.planet-lab.org/git/plcapi

13 years agoImplemented isrootonsite tag for selectively granting site_admins root
Sapan Bhatia [Tue, 26 Apr 2011 14:05:32 +0000 (10:05 -0400)]
Implemented isrootonsite tag for selectively granting site_admins root

13 years agoadd node tags as root not as caller
Tony Mack [Thu, 21 Apr 2011 02:12:24 +0000 (22:12 -0400)]
add node tags as root not as caller

13 years agoadd node tags as root not as caller
Tony Mack [Thu, 21 Apr 2011 00:30:21 +0000 (20:30 -0400)]
add node tags as root not as caller

13 years agocosmetic
Thierry Parmentelat [Wed, 13 Apr 2011 08:16:38 +0000 (10:16 +0200)]
cosmetic

13 years agoalso print out stack dump when hrn can't be figured while adding a federated node
Thierry Parmentelat [Wed, 13 Apr 2011 08:15:35 +0000 (10:15 +0200)]
also print out stack dump when hrn can't be figured while adding a federated node

13 years agosync aspects/ too
Thierry Parmentelat [Tue, 12 Apr 2011 15:49:08 +0000 (17:49 +0200)]
sync aspects/ too

13 years agoTony has reported that in some rare occurences, RefreshPeer creates
Thierry Parmentelat [Tue, 12 Apr 2011 15:26:47 +0000 (17:26 +0200)]
Tony has reported that in some rare occurences, RefreshPeer creates
nodes that should be remote but remain local
protect the fragment that sets host's hrn
in the case reported by Tony, this fails with, apparently,
the peer's 'hrn_root' being None
this change does not fix the first cause for that, but at least should
let RefreshPeer finish its job cleanly (but with a missing hrn though)

13 years agoactivate cache_utils only when enabled.
Baris Metin [Mon, 11 Apr 2011 21:59:40 +0000 (17:59 -0400)]
activate cache_utils only when enabled.

13 years agouse PLC_RATELIMIT_ENABLED to enable ratelimit aspect
Baris Metin [Mon, 11 Apr 2011 20:37:09 +0000 (16:37 -0400)]
use PLC_RATELIMIT_ENABLED to enable ratelimit aspect

13 years agomore ocaml for plc is a good thing, but not in Python code ;)
Baris Metin [Mon, 11 Apr 2011 19:06:24 +0000 (15:06 -0400)]
more ocaml for plc is a good thing, but not in Python code ;)

13 years agoMerge commit 'origin/master'
root [Tue, 22 Mar 2011 12:26:41 +0000 (08:26 -0400)]
Merge commit 'origin/master'

13 years agoSetting tag plcapi-5.0-32 plcapi-5.0-32
Thierry Parmentelat [Tue, 22 Mar 2011 12:25:57 +0000 (13:25 +0100)]
Setting tag plcapi-5.0-32
rename initscript_body into initscript_code

13 years agoMerge commit 'origin/master'
root [Mon, 21 Mar 2011 22:15:56 +0000 (18:15 -0400)]
Merge commit 'origin/master'

13 years agorename initscript_body into initscript_code
Thierry Parmentelat [Mon, 21 Mar 2011 21:54:31 +0000 (22:54 +0100)]
rename initscript_body into initscript_code

13 years agorename initscript_body into initscript_code
Thierry Parmentelat [Mon, 21 Mar 2011 21:54:15 +0000 (22:54 +0100)]
rename initscript_body into initscript_code

13 years agoMerge commit 'origin/master'
root [Mon, 21 Mar 2011 00:00:43 +0000 (20:00 -0400)]
Merge commit 'origin/master'

13 years agoSetting tag plcapi-5.0-31 plcapi-5.0-31
Thierry Parmentelat [Sun, 20 Mar 2011 23:52:12 +0000 (00:52 +0100)]
Setting tag plcapi-5.0-31
new initscript_body tag

13 years agoMerge commit 'origin/master'
root [Wed, 16 Mar 2011 17:00:33 +0000 (13:00 -0400)]
Merge commit 'origin/master'

13 years agoadd the initscript_body accessor/tag
Thierry Parmentelat [Wed, 16 Mar 2011 16:53:49 +0000 (17:53 +0100)]
add the initscript_body accessor/tag

13 years agoAdded cache_utils to the distribution because it includes a patch and is not packaged...
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

13 years agoFormalized GetSlivers cache, added option to plc_config
Sapan Bhatia [Wed, 9 Mar 2011 15:06:52 +0000 (10:06 -0500)]
Formalized GetSlivers cache, added option to plc_config

13 years agoMerge commit 'origin/master'
root [Wed, 9 Mar 2011 08:34:55 +0000 (03:34 -0500)]
Merge commit 'origin/master'

13 years agoSetting tag plcapi-5.0-30 plcapi-5.0-30
Thierry Parmentelat [Wed, 9 Mar 2011 08:26:35 +0000 (09:26 +0100)]
Setting tag plcapi-5.0-30
working draft for GetSliceSshKeys

13 years agoMerge commit 'origin/master'
root [Wed, 9 Mar 2011 08:24:51 +0000 (03:24 -0500)]
Merge commit 'origin/master'

13 years agobugfixes
Thierry Parmentelat [Wed, 9 Mar 2011 08:18:40 +0000 (09:18 +0100)]
bugfixes

13 years agoMerge commit 'origin/master'
root [Wed, 9 Mar 2011 06:45:17 +0000 (01:45 -0500)]
Merge commit 'origin/master'

13 years agofixes in GetSliceSshKeys
Thierry Parmentelat [Wed, 9 Mar 2011 06:41:35 +0000 (07:41 +0100)]
fixes in GetSliceSshKeys

13 years agoadd cpu_cores slice attribute
smbaker [Wed, 9 Mar 2011 01:29:42 +0000 (17:29 -0800)]
add cpu_cores slice attribute

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 8 Mar 2011 23:24:44 +0000 (00:24 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agofirst draft for GetSliceSshKeys
Thierry Parmentelat [Tue, 8 Mar 2011 23:17:10 +0000 (00:17 +0100)]
first draft for GetSliceSshKeys

13 years agoSetting tag plcapi-5.0-29 plcapi-5.0-29
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)

13 years agocosmetic error msg - somehow debug_backtrace seems to lack context sometimes
Thierry Parmentelat [Fri, 11 Feb 2011 16:12:23 +0000 (17:12 +0100)]
cosmetic error msg - somehow debug_backtrace seems to lack context sometimes

13 years agowhoops, stupid me
Thierry Parmentelat [Fri, 11 Feb 2011 15:51:31 +0000 (16:51 +0100)]
whoops, stupid me

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Fri, 11 Feb 2011 15:25:47 +0000 (16:25 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agotrashing existing tmp file if older than 5 minutes
Thierry Parmentelat [Fri, 11 Feb 2011 15:09:02 +0000 (16:09 +0100)]
trashing existing tmp file if older than 5 minutes

13 years agoSetting tag plcapi-5.0-28 plcapi-5.0-28
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

13 years agorunning accessors before db not working (misses admin account)
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

13 years agoreview startup steps 'db' and 'accessors' - run accessors first, make
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

13 years agomore robust
Thierry Parmentelat [Fri, 4 Feb 2011 08:23:44 +0000 (09:23 +0100)]
more robust

13 years agomore verbose when fails to deal with a tagtype
Thierry Parmentelat [Fri, 4 Feb 2011 08:23:23 +0000 (09:23 +0100)]
more verbose when fails to deal with a tagtype

13 years agomore robust code for setting tags
Thierry Parmentelat [Thu, 3 Feb 2011 15:05:30 +0000 (16:05 +0100)]
more robust code for setting tags

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Thu, 3 Feb 2011 15:04:18 +0000 (16:04 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agomore robust code for creating tags
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

13 years agoSetting tag plcapi-5.0-27 plcapi-5.0-27
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

13 years agooops again
Thierry Parmentelat [Wed, 2 Feb 2011 15:49:30 +0000 (16:49 +0100)]
oops again

13 years agooops
Thierry Parmentelat [Wed, 2 Feb 2011 15:46:10 +0000 (16:46 +0100)]
oops

13 years agodo not delete session when node is trying to call a method that it is not allowed to
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

13 years agoremove support for boot_nonce and old boot CDs
Thierry Parmentelat [Wed, 2 Feb 2011 15:33:25 +0000 (16:33 +0100)]
remove support for boot_nonce and old boot CDs

13 years agoprovide a reason why permission is denied
Thierry Parmentelat [Wed, 2 Feb 2011 15:25:13 +0000 (16:25 +0100)]
provide a reason why permission is denied

13 years agoremove an ugly hack that had GetSliceFamily set the slice vref to omf
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

13 years agosvn keywords
Thierry Parmentelat [Wed, 2 Feb 2011 15:23:47 +0000 (16:23 +0100)]
svn keywords

13 years agoSetting tag plcapi-5.0-26 plcapi-5.0-26
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

13 years agobugfix - nodes could not write anu tag
Thierry Parmentelat [Mon, 31 Jan 2011 10:51:40 +0000 (11:51 +0100)]
bugfix - nodes could not write anu tag

13 years agoprotect GetSlivers against possible failure
Thierry Parmentelat [Fri, 28 Jan 2011 08:40:56 +0000 (09:40 +0100)]
protect GetSlivers against possible failure

13 years agovref may be set by node running getslivers -> getslicefamily -> setslicevref
Thierry Parmentelat [Fri, 28 Jan 2011 08:40:39 +0000 (09:40 +0100)]
vref may be set by node running getslivers -> getslicefamily -> setslicevref

13 years agoSetting tag plcapi-5.0-25 plcapi-5.0-25
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

13 years agoraise exception when trying to set unsupported column
Thierry Parmentelat [Tue, 18 Jan 2011 14:41:46 +0000 (15:41 +0100)]
raise exception when trying to set unsupported column

13 years agohopefully more robust, as we've seen this file to be interpreted by bash on PLE
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

13 years agofix sync target for pushing on running plc
Thierry Parmentelat [Fri, 14 Jan 2011 08:42:22 +0000 (09:42 +0100)]
fix sync target for pushing on running plc

13 years agofix URL in specfile - rm svn-keywords
Thierry Parmentelat [Wed, 5 Jan 2011 16:58:09 +0000 (17:58 +0100)]
fix URL in specfile - rm svn-keywords

13 years agomore ignored files
Thierry Parmentelat [Thu, 30 Dec 2010 21:00:39 +0000 (22:00 +0100)]
more ignored files

13 years agouse gethostbyname for determining PLC_API_IP argument like plc.d/postgresql
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

13 years ago[minor] add required build deps.
S.Çağlar Onur [Tue, 21 Dec 2010 20:56:23 +0000 (15:56 -0500)]
[minor] add required build deps.

13 years agoMerge commit 'local_master/master'
root [Wed, 8 Dec 2010 15:40:26 +0000 (16:40 +0100)]
Merge commit 'local_master/master'

13 years agoSetting tag plcapi-5.0-24 plcapi-5.0-24
Thierry Parmentelat [Wed, 8 Dec 2010 15:39:20 +0000 (16:39 +0100)]
Setting tag plcapi-5.0-24
tweak doc extraction for fedora14

13 years agoFix gateway logic for secondary interfaces.
Daniel Hokka Zakrisson [Wed, 8 Dec 2010 15:38:23 +0000 (10:38 -0500)]
Fix gateway logic for secondary interfaces.