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

14 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

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

14 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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

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

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

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

14 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

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

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

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

14 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

14 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.

14 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

14 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

14 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

14 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

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

14 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.

14 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

14 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

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

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

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

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

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

14 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)...

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

14 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

14 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

14 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

14 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

14 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

14 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 '.'

14 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 '.'

14 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

14 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

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

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

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

14 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

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

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

14 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

14 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

14 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()

14 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

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

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

14 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

14 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

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

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

14 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

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

14 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

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

14 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

14 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

14 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()

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

14 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

14 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)

14 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()

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

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

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

14 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

14 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

14 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

14 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

14 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

14 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.

14 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.

14 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

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

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

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

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

14 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

14 years agoSfaTable module depends on pdg (postgres) package being installed. Move the import...
Tony Mack [Wed, 25 Aug 2010 19:31:29 +0000 (19:31 +0000)]
SfaTable module depends on pdg (postgres) package being installed. Move the import into the methods that needs access to this libaray so that this module can be imported/used on systems that dont haave postgres installed

14 years agono need to import sfa.trust.auth.Auth here
Tony Mack [Wed, 25 Aug 2010 16:57:40 +0000 (16:57 +0000)]
no need to import sfa.trust.auth.Auth here

14 years agono need for geni_aggregates.xml
Tony Mack [Tue, 24 Aug 2010 18:29:08 +0000 (18:29 +0000)]
no need for geni_aggregates.xml

14 years agouse new methods
Tony Mack [Tue, 24 Aug 2010 17:39:22 +0000 (17:39 +0000)]
use new methods

14 years agouse new methods.
Tony Mack [Tue, 24 Aug 2010 17:35:12 +0000 (17:35 +0000)]
use new methods.

14 years agono more separate interface for geni aggregate
Tony Mack [Tue, 24 Aug 2010 16:53:40 +0000 (16:53 +0000)]
no more separate interface for geni aggregate

14 years agoupdated
Tony Mack [Tue, 24 Aug 2010 16:46:44 +0000 (16:46 +0000)]
updated

14 years agoreplace origin_hrn param with creds param
Tony Mack [Tue, 24 Aug 2010 15:24:49 +0000 (15:24 +0000)]
replace origin_hrn param with creds param

14 years agoset the peer_id once the slice is verified
Tony Mack [Tue, 24 Aug 2010 00:44:03 +0000 (00:44 +0000)]
set the peer_id once the slice is verified

14 years agoimport copy.deepcopy
Tony Mack [Mon, 23 Aug 2010 21:49:55 +0000 (21:49 +0000)]
import copy.deepcopy

14 years agofix NameError (cred should be credential)
Tony Mack [Mon, 23 Aug 2010 21:43:16 +0000 (21:43 +0000)]
fix NameError (cred should be credential)

14 years agono need to get origin hrn here
Tony Mack [Mon, 23 Aug 2010 21:36:46 +0000 (21:36 +0000)]
no need to get origin hrn here