sfa.git
13 years agoSetting tag sfa-1.0-3 sfa-1.0-3
Barış Metin [Wed, 13 Oct 2010 16:03:30 +0000 (18:03 +0200)]
Setting tag sfa-1.0-3
various cleanups.
tagging the commit before merge.

13 years agofix missing import of determine_rights
Thierry Parmentelat [Wed, 13 Oct 2010 12:34:47 +0000 (14:34 +0200)]
fix missing import of determine_rights

13 years agobugfix/typo
Thierry Parmentelat [Wed, 13 Oct 2010 10:05:00 +0000 (12:05 +0200)]
bugfix/typo

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Tue, 12 Oct 2010 17:23:36 +0000 (19:23 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agosfadump more usable
Thierry Parmentelat [Tue, 12 Oct 2010 17:23:30 +0000 (19:23 +0200)]
sfadump more usable
add filename in *.dump for tracking the filesystem
cleanup imports of namespace

13 years agoooops. last commit was wrong
Giovanni Gherdovich [Mon, 11 Oct 2010 11:21:50 +0000 (13:21 +0200)]
ooops. last commit was wrong

13 years agothe config file resulted to be /root/.sfi//sfi_config
Giovanni Gherdovich [Mon, 11 Oct 2010 10:53:10 +0000 (12:53 +0200)]
the config file resulted to be /root/.sfi//sfi_config

13 years agoSetting tag sfa-1.0-2 sfa-1.0-2
Thierry Parmentelat [Mon, 11 Oct 2010 07:54:48 +0000 (09:54 +0200)]
Setting tag sfa-1.0-2
deprecated old methods (e.g. List/list, and GetCredential/get_credential)
NOTE:  get_(self_)credential both have type and hrn swapped when moving to Get(Self)Credential
hrn-urn translations tweaked
fixed 'service sfa status'
sfa-nuke-plc has a -f/--file-system option to clean up /var/lib/authorities (exp.)
started to repair sfadump - although not usable yet
trust objects now have dump_string method that dump() actually prints
unit tests under review
logging cleanup ongoing (always safe to use sfalogging.sfa_logger())
binaries now support -v or -vv to increase loglevel
trashed obsolete sfa.util.client

13 years agostarted to repair sfadump
Thierry Parmentelat [Fri, 8 Oct 2010 14:19:35 +0000 (16:19 +0200)]
started to repair sfadump
dumps can return strings

13 years agocosmetic
Thierry Parmentelat [Fri, 8 Oct 2010 08:23:30 +0000 (10:23 +0200)]
cosmetic

13 years agofix typo
Thierry Parmentelat [Fri, 8 Oct 2010 07:23:40 +0000 (09:23 +0200)]
fix typo

13 years agoreview logging again; code that runs in client and/or server now logs in the right...
Thierry Parmentelat [Thu, 7 Oct 2010 16:15:18 +0000 (18:15 +0200)]
review logging again; code that runs in client and/or server now logs in the right place

13 years agofix "service sfa status"
Thierry Parmentelat [Thu, 7 Oct 2010 13:17:58 +0000 (15:17 +0200)]
fix "service sfa status"

13 years agofixing email and added a necessary import to credential
Josh Karlin [Wed, 6 Oct 2010 20:44:13 +0000 (16:44 -0400)]
fixing email and added a necessary import to credential

13 years agoMerge commit 'origin/jktest'
Tony Mack [Wed, 6 Oct 2010 18:44:18 +0000 (14:44 -0400)]
Merge commit 'origin/jktest'

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 6 Oct 2010 18:30:19 +0000 (14:30 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agomerged namespace
Josh Karlin [Wed, 6 Oct 2010 17:47:49 +0000 (13:47 -0400)]
merged namespace

13 years agonew unittest testNamespace
Thierry Parmentelat [Wed, 6 Oct 2010 13:14:09 +0000 (15:14 +0200)]
new unittest testNamespace

13 years agoxmlrpc calls traced with logger.debug
Thierry Parmentelat [Wed, 6 Oct 2010 08:10:52 +0000 (10:10 +0200)]
xmlrpc calls traced with logger.debug
use /var/log/sfa.log for servers and stderr for clients

13 years agonot sure if this is still current but the names have changed
Thierry Parmentelat [Wed, 6 Oct 2010 08:00:22 +0000 (10:00 +0200)]
not sure if this is still current but the names have changed

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 6 Oct 2010 07:56:02 +0000 (09:56 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

13 years agomissing methods in __init__
Thierry Parmentelat [Wed, 6 Oct 2010 07:54:43 +0000 (09:54 +0200)]
missing methods in __init__
arguments to Get(Self)Credential (from get_credential, need to swap hrn and type)
renamed RightList into just Rights

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 5 Oct 2010 16:10:35 +0000 (12:10 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agostring replace doesn't modify the string in-place
Barış Metin [Tue, 5 Oct 2010 14:52:20 +0000 (16:52 +0200)]
string replace doesn't modify the string in-place

13 years agosmall fix for verbose output
Barış Metin [Tue, 5 Oct 2010 14:33:07 +0000 (16:33 +0200)]
small fix for verbose output

13 years agoupdate tags locally
Thierry Parmentelat [Tue, 5 Oct 2010 11:19:52 +0000 (13:19 +0200)]
update tags locally

13 years agofixed module contents
Thierry Parmentelat [Tue, 5 Oct 2010 10:59:11 +0000 (12:59 +0200)]
fixed module contents

13 years agofixed comment - this one is NOT deprecated
Thierry Parmentelat [Tue, 5 Oct 2010 10:58:58 +0000 (12:58 +0200)]
fixed comment - this one is NOT deprecated

13 years agoremoved obsolete util/client.py
Thierry Parmentelat [Tue, 5 Oct 2010 10:58:34 +0000 (12:58 +0200)]
removed obsolete util/client.py

13 years agodismantle legacy scaffolding - 2
Thierry Parmentelat [Tue, 5 Oct 2010 08:55:38 +0000 (10:55 +0200)]
dismantle legacy scaffolding - 2

13 years agodismantle legacy scaffolding - 1
Thierry Parmentelat [Tue, 5 Oct 2010 07:48:12 +0000 (09:48 +0200)]
dismantle legacy scaffolding - 1

13 years agoMerge branch 'master' of git.onelab.eu:/git/sfa
Barış Metin [Mon, 4 Oct 2010 16:19:35 +0000 (18:19 +0200)]
Merge branch 'master' of git.onelab.eu:/git/sfa

Conflicts:
sfa/client/sfi.py

13 years agoon client (sfi.py), when verbose flag is given print xml-rpc method calls.
Barış Metin [Mon, 4 Oct 2010 16:17:24 +0000 (18:17 +0200)]
on client (sfi.py), when verbose flag is given print xml-rpc method calls.

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Mon, 4 Oct 2010 16:09:25 +0000 (12:09 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agocleaned up globals - except in the foreign plugins for eucalyptus and MAX
Thierry Parmentelat [Mon, 4 Oct 2010 15:42:11 +0000 (17:42 +0200)]
cleaned up globals - except in the foreign plugins for eucalyptus and MAX

13 years agoSetting tag sfa-1.0-1 sfa-1.0-1
Thierry Parmentelat [Mon, 4 Oct 2010 14:49:18 +0000 (16:49 +0200)]
Setting tag sfa-1.0-1
various bugfixes and cleanup, improved/harmonized logging

13 years agouse console_logger (stderr) for messages other than expected output
Thierry Parmentelat [Mon, 4 Oct 2010 13:32:17 +0000 (15:32 +0200)]
use console_logger (stderr) for messages other than expected output
attach local data to instances, not to class

13 years agotweaked logging
Thierry Parmentelat [Mon, 4 Oct 2010 12:28:27 +0000 (14:28 +0200)]
tweaked logging

13 years agothis doesn't looks good, but seems like giving a None hrn to checkCredentials will...
Barış Metin [Mon, 4 Oct 2010 10:32:51 +0000 (12:32 +0200)]
this doesn't looks good, but seems like giving a None hrn to checkCredentials will do the trick.

13 years agotry fixing all name errors in slice_manager_pl.py
Barış Metin [Mon, 4 Oct 2010 10:17:35 +0000 (12:17 +0200)]
try fixing  all name errors in slice_manager_pl.py

13 years agodon't know how to fix fix this one - just reverted as my attempt was incorrect
Thierry Parmentelat [Sat, 2 Oct 2010 18:57:35 +0000 (20:57 +0200)]
don't know how to fix fix this one - just reverted as my attempt was incorrect

13 years agoconsole has a different formatter
Thierry Parmentelat [Sat, 2 Oct 2010 06:54:16 +0000 (08:54 +0200)]
console has a different formatter

13 years agofixes
Thierry Parmentelat [Sat, 2 Oct 2010 06:53:28 +0000 (08:53 +0200)]
fixes

13 years agofix log
Barış Metin [Fri, 1 Oct 2010 08:34:55 +0000 (10:34 +0200)]
fix log

13 years agoadd .gitignore
Barış Metin [Fri, 1 Oct 2010 08:21:17 +0000 (10:21 +0200)]
add .gitignore

13 years agofinish cleaning with util.report
Thierry Parmentelat [Fri, 1 Oct 2010 07:10:06 +0000 (09:10 +0200)]
finish cleaning with util.report

13 years agoops (don't know what I was thinking)...
Barış Metin [Thu, 30 Sep 2010 20:22:49 +0000 (22:22 +0200)]
ops (don't know what I was thinking)...

13 years agouse sfaImporter.logger.info
Barış Metin [Thu, 30 Sep 2010 20:05:11 +0000 (22:05 +0200)]
use sfaImporter.logger.info

13 years agoconsole_logger defined for the client side
Thierry Parmentelat [Thu, 30 Sep 2010 16:06:33 +0000 (18:06 +0200)]
console_logger defined for the client side
turn on verbosity if SFA_API_DEBUG is set

13 years agoadd 'OPTIONS=-v' in your /etc/sfa/sfa_config to get debug messages in log files
Thierry Parmentelat [Thu, 30 Sep 2010 12:45:58 +0000 (14:45 +0200)]
add 'OPTIONS=-v' in your /etc/sfa/sfa_config to get debug messages in log files

13 years ago* tried to put some sense in the way things get logged, at least on server-side for now
Thierry Parmentelat [Thu, 30 Sep 2010 12:36:19 +0000 (14:36 +0200)]
* tried to put some sense in the way things get logged, at least on server-side for now
/var/log/sfa.log
/var/log/sfa_import.log
/var/log/htppd/sfa_access_log
* please use sfalogging objects as far as possible, deprecated sfa.util.debug and sfa.util.report

13 years agofixed up the names of new site names/slices to be more PLC compatible
Josh Karlin [Wed, 29 Sep 2010 18:13:40 +0000 (14:13 -0400)]
fixed up the names of new site names/slices to be more PLC compatible

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Tue, 28 Sep 2010 20:58:30 +0000 (16:58 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agourn_to_hrn() is no longer lossy. urn_to_hrn() escapes '.' instead of replacing it...
Tony Mack [Tue, 28 Sep 2010 20:57:52 +0000 (16:57 -0400)]
urn_to_hrn() is no longer lossy. urn_to_hrn() escapes '.' instead of replacing it. Made hrn_to_urn() conversion consistent. hrn_to_urn() unescapes any escaped '.'. hrn_to_pl_*() methods completely remove escaped '.'

13 years agourn_to_hrn() is no longer lossy. urn_to_hrn() escapes '.' instead of replacing it...
Tony Mack [Tue, 28 Sep 2010 20:56:05 +0000 (16:56 -0400)]
urn_to_hrn() is no longer lossy. urn_to_hrn() escapes '.' instead of replacing it. Made hrn_to_urn() conversion consistent. hrn_to_urn() unescapes any escaped '.'. hrn_to_pl_*() methods completely remove escaped '.'

13 years agoimprove server-side logging of exceptions
Thierry Parmentelat [Tue, 28 Sep 2010 16:07:13 +0000 (18:07 +0200)]
improve server-side logging of exceptions

13 years agopreun scriplets more robust, otherwise may prevent uninstall
Thierry Parmentelat [Tue, 28 Sep 2010 12:11:15 +0000 (14:11 +0200)]
preun scriplets more robust, otherwise may prevent uninstall

13 years agoMerge remote branch 'origin/master'
Thierry Parmentelat [Tue, 28 Sep 2010 08:35:36 +0000 (10:35 +0200)]
Merge remote branch 'origin/master'

13 years agoexclude .git when making tags
Thierry Parmentelat [Tue, 28 Sep 2010 08:07:07 +0000 (10:07 +0200)]
exclude .git when making tags

13 years agofix typo
Tony Mack [Mon, 27 Sep 2010 19:22:06 +0000 (15:22 -0400)]
fix typo

13 years agoget_gid_caller() belongs to Credential object
Tony Mack [Mon, 27 Sep 2010 19:17:43 +0000 (15:17 -0400)]
get_gid_caller() belongs to Credential object

13 years agoremove all refrences to self
Tony Mack [Mon, 27 Sep 2010 19:10:23 +0000 (15:10 -0400)]
remove all refrences to self

13 years ago=! should be !=
Tony Mack [Mon, 27 Sep 2010 18:44:33 +0000 (14:44 -0400)]
=! should be !=

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Mon, 27 Sep 2010 18:43:11 +0000 (14:43 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

13 years agoProtoGeni slices may have special characters that need to be filtered out
Tony Mack [Mon, 27 Sep 2010 18:42:40 +0000 (14:42 -0400)]
ProtoGeni slices may have special characters that need to be filtered out

13 years agoProtoGeni slice names have special characters. Filter these out using re.sub()
Tony Mack [Mon, 27 Sep 2010 16:54:04 +0000 (12:54 -0400)]
ProtoGeni slice names have special characters. Filter these out using re.sub()

13 years agocosmetic, exclude git files instead of CVS files
Thierry Parmentelat [Thu, 23 Sep 2010 14:29:35 +0000 (16:29 +0200)]
cosmetic, exclude git files instead of CVS files

13 years agocorsmetic
Thierry Parmentelat [Fri, 24 Sep 2010 16:27:51 +0000 (18:27 +0200)]
corsmetic

13 years agobump to 1.0
Thierry Parmentelat [Mon, 27 Sep 2010 14:38:54 +0000 (16:38 +0200)]
bump to 1.0

13 years agorebind stuff in reverse order (wrt unbind),
Thierry Parmentelat [Fri, 24 Sep 2010 16:29:19 +0000 (18:29 +0200)]
rebind stuff in reverse order (wrt unbind),
and even more paranoid, to be sure that rebind really does the job

13 years agouninstall to stop/unregister running services
Thierry Parmentelat [Mon, 27 Sep 2010 12:56:30 +0000 (14:56 +0200)]
uninstall to stop/unregister running services

13 years agofix sfatables on slice create
Andy Bavier [Fri, 24 Sep 2010 15:47:02 +0000 (11:47 -0400)]
fix sfatables on slice create

13 years agotweak taglevel manually
Thierry Parmentelat [Thu, 23 Sep 2010 13:38:45 +0000 (15:38 +0200)]
tweak taglevel manually

13 years agoadded --delegate option for Slice Manager methods
Tony Mack [Tue, 21 Sep 2010 17:06:14 +0000 (13:06 -0400)]
added --delegate option for Slice Manager methods

13 years agoadded get_errors() method
Tony Mack [Tue, 21 Sep 2010 16:37:06 +0000 (12:37 -0400)]
added get_errors() method

13 years agono longer use caller's plauth
Tony Mack [Mon, 20 Sep 2010 19:38:46 +0000 (15:38 -0400)]
no longer use caller's plauth

13 years agoupdate arguments for get_rspec()
Tony Mack [Mon, 20 Sep 2010 19:29:40 +0000 (15:29 -0400)]
update arguments for get_rspec()

13 years agoupdate get_rspec() to accept creds, and options params
Tony Mack [Mon, 20 Sep 2010 19:00:53 +0000 (15:00 -0400)]
update get_rspec() to accept creds, and options params

13 years agofix urn for vini internet2 sites
Tony Mack [Mon, 20 Sep 2010 17:36:07 +0000 (13:36 -0400)]
fix urn for vini internet2 sites

13 years agofix bug in urn_to_hrn()
Tony Mack [Mon, 20 Sep 2010 16:35:46 +0000 (12:35 -0400)]
fix bug in urn_to_hrn()

13 years agoattempt to fix 'make sync'
Thierry Parmentelat [Mon, 20 Sep 2010 14:40:50 +0000 (16:40 +0200)]
attempt to fix 'make sync'

13 years agothis is expected to be a binary file, set to executable to ease manual install
Thierry Parmentelat [Mon, 20 Sep 2010 14:40:14 +0000 (16:40 +0200)]
this is expected to be a binary file, set to executable to ease manual install

13 years agomerged in master the change from 0.9-17 to 0.9-18 :
Thierry Parmentelat [Mon, 20 Sep 2010 14:09:50 +0000 (16:09 +0200)]
merged in master the change from 0.9-17 to 0.9-18 :
protected & reviewed UnBind/Bind calls
and hacked client to not pass delegation credentials (tmp)

13 years agofix bug in urn_to_hrn()
Tony Mack [Fri, 17 Sep 2010 00:29:41 +0000 (00:29 +0000)]
fix bug in urn_to_hrn()

13 years agocheck for certificate expiration
Tony Mack [Tue, 14 Sep 2010 19:55:40 +0000 (19:55 +0000)]
check for certificate expiration

13 years agoadded CertExpired fault
Tony Mack [Tue, 14 Sep 2010 19:37:37 +0000 (19:37 +0000)]
added CertExpired fault

13 years agoprevent infinite loop
Tony Mack [Wed, 8 Sep 2010 19:09:57 +0000 (19:09 +0000)]
prevent infinite loop

13 years agoadd helper methods to rspec helper
Barış Metin [Wed, 8 Sep 2010 17:30:18 +0000 (17:30 +0000)]
add helper methods to rspec helper

13 years agofix NameError in ComponentAPI.get_credential
Tony Mack [Tue, 7 Sep 2010 21:35:41 +0000 (21:35 +0000)]
fix NameError in ComponentAPI.get_credential

13 years agoConstructs of the form '%if %{?macro} == foo' are no longer accepted, and yield foo...
Tony Mack [Tue, 7 Sep 2010 19:02:29 +0000 (19:02 +0000)]
Constructs of the form '%if %{?macro} == foo' are no longer accepted, and yield foo.spec:12: parseExpressionBoolean returns -1
errors

13 years agosetting tag sfa-0.9-16 sfa-1.0-0
Tony Mack [Tue, 7 Sep 2010 18:24:17 +0000 (18:24 +0000)]
setting tag sfa-0.9-16

13 years agomerge from geni branch, truncate login base of geni slices to 20 characters
Tony Mack [Tue, 7 Sep 2010 15:48:29 +0000 (15:48 +0000)]
merge from geni branch, truncate login base of geni slices to 20 characters

13 years agoguard lookupSliceTag calls. as we ignore some tag types now maybe it's better not...
Barış Metin [Tue, 7 Sep 2010 14:26:07 +0000 (14:26 +0000)]
guard lookupSliceTag calls. as we ignore some tag types now maybe it's better not to raise an exception when the tag is not found.

13 years agofilter-out tags and fields from GetSliceTags plcapi call.
Barış Metin [Tue, 7 Sep 2010 13:21:04 +0000 (13:21 +0000)]
filter-out tags and fields from GetSliceTags plcapi call.
On PLE, this brings the call to 3 seconds from 45 seconds.

13 years agoMake PLCAPI calls as user in Aggregate Manager
Andy Bavier [Fri, 3 Sep 2010 17:53:29 +0000 (17:53 +0000)]
Make PLCAPI calls as user in Aggregate Manager

13 years agoremove ResolveGeni
Tony Mack [Wed, 1 Sep 2010 14:30:59 +0000 (14:30 +0000)]
remove ResolveGeni

13 years agoremoving get_gei_aggregates
Tony Mack [Tue, 31 Aug 2010 22:22:43 +0000 (22:22 +0000)]
removing get_gei_aggregates

13 years agoincrease tag level
Tony Mack [Mon, 30 Aug 2010 19:13:18 +0000 (19:13 +0000)]
increase tag level

13 years agofix NameError
Tony Mack [Wed, 25 Aug 2010 20:30:21 +0000 (20:30 +0000)]
fix NameError

13 years agoComponentAPI need sfa.util.xmlrpcprotocol to be imported
Tony Mack [Wed, 25 Aug 2010 19:35:06 +0000 (19:35 +0000)]
ComponentAPI need sfa.util.xmlrpcprotocol to be imported