sfa.git
12 years agoCA certs are only given to objects of type authority sfa-1.0-30
Tony Mack [Mon, 15 Aug 2011 22:47:47 +0000 (18:47 -0400)]
CA certs are only given to objects of type authority

12 years agoremove timeout arguments; reverting back to previous version
smbaker [Wed, 10 Aug 2011 00:25:15 +0000 (17:25 -0700)]
remove timeout arguments; reverting back to previous version

12 years agobetter timeout handling
smbaker [Tue, 9 Aug 2011 23:58:18 +0000 (16:58 -0700)]
better timeout handling

12 years agobetter timeout handling
smbaker [Tue, 9 Aug 2011 23:55:51 +0000 (16:55 -0700)]
better timeout handling

12 years agorenamed slice_max_renew to max_slice_renew. type should be int not boolean
Tony Mack [Tue, 9 Aug 2011 17:22:53 +0000 (13:22 -0400)]
renamed slice_max_renew to max_slice_renew. type should be int not boolean

12 years agofix NameError
Tony Mack [Tue, 9 Aug 2011 17:03:33 +0000 (13:03 -0400)]
fix NameError

12 years agoadded SFA_MAX_SLICE_RENEW config option now allows operators to configure the maximum...
Tony Mack [Tue, 9 Aug 2011 15:54:20 +0000 (11:54 -0400)]
added SFA_MAX_SLICE_RENEW config option now allows operators to configure the maximum amount day a user can extend thier slice

12 years agoremove timeout agrument
Tony Mack [Tue, 9 Aug 2011 12:18:01 +0000 (08:18 -0400)]
remove timeout agrument

12 years agoadd statistics to slicemanager listresources/createsliver, better error checking...
smbaker [Tue, 9 Aug 2011 05:50:42 +0000 (22:50 -0700)]
add statistics to slicemanager listresources/createsliver, better error checking on bad aggregates

12 years agofix potential TypeError
Tony Mack [Mon, 8 Aug 2011 18:25:33 +0000 (14:25 -0400)]
fix potential TypeError

12 years agofix slice delegation, and other bug fixes
Tony Mack [Mon, 8 Aug 2011 17:22:32 +0000 (13:22 -0400)]
fix slice delegation, and other bug fixes

12 years agocompletely disable timeout bugfix code to see if build passes
Tony Mack [Mon, 8 Aug 2011 13:01:19 +0000 (09:01 -0400)]
completely disable timeout bugfix code to see if build passes

12 years agodisabled python 2.6 fix
Tony Mack [Mon, 8 Aug 2011 00:03:44 +0000 (20:03 -0400)]
disabled python 2.6 fix

12 years agoinitial checkin
Tony Mack [Sun, 7 Aug 2011 01:32:04 +0000 (21:32 -0400)]
initial checkin

12 years agofix typo
Tony Mack [Fri, 5 Aug 2011 23:46:36 +0000 (19:46 -0400)]
fix typo

12 years agodeclare namespace and schema location
Tony Mack [Fri, 5 Aug 2011 19:22:29 +0000 (15:22 -0400)]
declare namespace and schema location

12 years agodeclare namespace and schema location
Tony Mack [Fri, 5 Aug 2011 19:22:10 +0000 (15:22 -0400)]
declare namespace and schema location

12 years agoslight modification to namespace path
Tony Mack [Fri, 5 Aug 2011 19:20:05 +0000 (15:20 -0400)]
slight modification to namespace path

12 years agoslight modification to planetlab namespace path
Tony Mack [Fri, 5 Aug 2011 19:19:06 +0000 (15:19 -0400)]
slight modification to planetlab namespace path

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 5 Aug 2011 15:02:28 +0000 (11:02 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoSetting tag sfa-1.0-29 sfa-1.0-29
Thierry Parmentelat [Fri, 5 Aug 2011 14:31:44 +0000 (16:31 +0200)]
Setting tag sfa-1.0-29
tag 1.0-28 was broken due to typo in the changelog
new class sfa/util/httpsProtocol.py that supports timeouts

12 years agotypo in changelog -g prevents from building
Thierry Parmentelat [Fri, 5 Aug 2011 14:26:23 +0000 (16:26 +0200)]
typo in changelog -g prevents from building

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 5 Aug 2011 00:24:37 +0000 (20:24 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoThreadManager variables should be instance variables not class variables
Tony Mack [Fri, 5 Aug 2011 00:18:44 +0000 (20:18 -0400)]
ThreadManager variables should be instance variables not class variables

12 years agofix timeout bug for python 2.6
Tony Mack [Thu, 4 Aug 2011 23:57:43 +0000 (19:57 -0400)]
fix timeout bug for python 2.6

12 years agoadded 'timeout' option
Tony Mack [Thu, 4 Aug 2011 23:57:00 +0000 (19:57 -0400)]
added 'timeout' option

12 years agoxmlrpcprotocol has been updated
Tony Mack [Thu, 4 Aug 2011 23:56:40 +0000 (19:56 -0400)]
xmlrpcprotocol has been updated

12 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Thu, 4 Aug 2011 23:13:27 +0000 (16:13 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

12 years agomake threadmanager variables instance-specific
smbaker [Thu, 4 Aug 2011 23:12:47 +0000 (16:12 -0700)]
make threadmanager variables instance-specific

12 years agoremote connections timeout after 30 seconds
Tony Mack [Thu, 4 Aug 2011 20:17:14 +0000 (16:17 -0400)]
remote connections timeout after 30 seconds

12 years agoinstall_peer_certs will timeout after 30 seconds
Tony Mack [Thu, 4 Aug 2011 20:11:43 +0000 (16:11 -0400)]
install_peer_certs will timeout after 30 seconds

12 years agofix https timeout bug
Tony Mack [Thu, 4 Aug 2011 19:49:12 +0000 (15:49 -0400)]
fix https timeout bug

12 years agosetting sfa-1.0-28 tag sfa-1.0-28
Tony Mack [Thu, 4 Aug 2011 17:21:25 +0000 (13:21 -0400)]
setting sfa-1.0-28 tag

12 years agowhitespace
Tony Mack [Thu, 4 Aug 2011 17:08:11 +0000 (13:08 -0400)]
whitespace

12 years agofix duplicate default slice tags
smbaker [Wed, 3 Aug 2011 22:42:42 +0000 (15:42 -0700)]
fix duplicate default slice tags

12 years agosfa manifest rspec should declare name of slice being described in the 'slice' attrib...
Tony Mack [Tue, 2 Aug 2011 19:54:44 +0000 (15:54 -0400)]
sfa manifest rspec should declare name of slice being described in the 'slice' attribute of the network tag

12 years agostrip whitespace from hostname before in get_node_element()
Tony Mack [Tue, 2 Aug 2011 00:10:25 +0000 (20:10 -0400)]
strip whitespace from hostname before  in get_node_element()

12 years agostrip whitespace from text attribute
Tony Mack [Mon, 1 Aug 2011 23:48:39 +0000 (19:48 -0400)]
strip whitespace from text attribute

12 years agoGENICLOUD-25 Fix table initiazation. Switch to process.
Marco Yuen [Mon, 25 Jul 2011 18:48:49 +0000 (14:48 -0400)]
GENICLOUD-25 Fix table initiazation. Switch to process.

 * The Meta table was not initialized at all.
 * Creating a process to update the meta data instead of using
   a thread.

12 years agoMerge branch 'master' into eucalyptus-devel
Marco Yuen [Mon, 25 Jul 2011 16:05:31 +0000 (12:05 -0400)]
Merge branch 'master' into eucalyptus-devel

Conflicts:
sfa/managers/aggregate_manager_eucalyptus.py

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 22 Jul 2011 18:59:23 +0000 (14:59 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoinitial checkin
Tony Mack [Fri, 22 Jul 2011 18:59:16 +0000 (14:59 -0400)]
initial checkin

12 years agoinitial checkin
Tony Mack [Fri, 22 Jul 2011 18:59:01 +0000 (14:59 -0400)]
initial checkin

12 years agoinitial checkin
Tony Mack [Fri, 22 Jul 2011 18:58:40 +0000 (14:58 -0400)]
initial checkin

12 years agoinitial checkin
Tony Mack [Fri, 22 Jul 2011 18:58:10 +0000 (14:58 -0400)]
initial checkin

12 years agouse xmlrpc to access plcapi until out why PLC.Shell.Shell doesn't close db connection...
Tony Mack [Fri, 22 Jul 2011 18:46:37 +0000 (14:46 -0400)]
use xmlrpc to access plcapi until out why PLC.Shell.Shell doesn't close db connection properly

12 years agoGENICLOUD-2 Pulling keys in a federated environment.
Marco Yuen [Fri, 22 Jul 2011 14:40:37 +0000 (10:40 -0400)]
GENICLOUD-2 Pulling keys in a federated environment.

Switch to SFA api for pulling keys from MyPLC.

12 years ago__getCreentialRaw(): get the correct authority record type
Tony Mack [Wed, 20 Jul 2011 12:28:09 +0000 (08:28 -0400)]
__getCreentialRaw(): get the correct authority record type

12 years agofix AttributeError
Tony Mack [Wed, 20 Jul 2011 11:21:00 +0000 (07:21 -0400)]
fix AttributeError

12 years agoremoving redundant determine_rights() method
Tony Mack [Tue, 19 Jul 2011 20:26:57 +0000 (16:26 -0400)]
removing redundant determine_rights() method

12 years agosupport authority+sm type
Tony Mack [Tue, 19 Jul 2011 20:03:40 +0000 (16:03 -0400)]
support authority+sm type

12 years agoadvertise available pl initscripts in advertisement rspec
Tony Mack [Mon, 18 Jul 2011 20:31:23 +0000 (16:31 -0400)]
advertise available pl initscripts in advertisement rspec

12 years agosupport planetlab initscript in protogeni rspec using planetlab extension
Tony Mack [Mon, 18 Jul 2011 18:17:47 +0000 (14:17 -0400)]
support planetlab initscript in protogeni rspec using planetlab extension

12 years agoscan only *.gid files in /etc/sfa/trusted_roots
Thierry Parmentelat [Wed, 13 Jul 2011 10:23:58 +0000 (12:23 +0200)]
scan only *.gid files in /etc/sfa/trusted_roots
previous behaviour was to scan all files, which was error-prone

12 years agoAdd 'expires' and 'generated' attributes to VINI schema
Andy Bavier [Tue, 12 Jul 2011 21:05:24 +0000 (17:05 -0400)]
Add 'expires' and 'generated' attributes to VINI schema

12 years agodont add in blank networks
Tony Mack [Tue, 12 Jul 2011 21:03:14 +0000 (17:03 -0400)]
dont add in blank networks

12 years agofill in missing node attributes
Tony Mack [Tue, 12 Jul 2011 19:58:36 +0000 (15:58 -0400)]
fill in missing node attributes

12 years agoproperly merge ProtoGENI v2 rspec with SFA rspec
Tony Mack [Mon, 11 Jul 2011 23:33:28 +0000 (19:33 -0400)]
properly merge ProtoGENI v2 rspec with SFA rspec

12 years agoremove 'geni_compressed' option before calling ListResources
Tony Mack [Mon, 11 Jul 2011 19:03:57 +0000 (15:03 -0400)]
remove 'geni_compressed' option before calling ListResources

12 years agocomponent_manager_id should be a urn not hrn
Tony Mack [Sat, 9 Jul 2011 21:48:56 +0000 (17:48 -0400)]
component_manager_id should be a urn not hrn

12 years agoremove unnecessary statement sfa-1.0-27
Tony Mack [Fri, 8 Jul 2011 20:36:40 +0000 (16:36 -0400)]
remove unnecessary statement

12 years agofix NameError(s)
Tony Mack [Fri, 8 Jul 2011 20:24:24 +0000 (16:24 -0400)]
fix NameError(s)

12 years agospelling
Tony Mack [Fri, 8 Jul 2011 19:55:35 +0000 (15:55 -0400)]
spelling

12 years agosetting 1.0-27 tag
Tony Mack [Fri, 8 Jul 2011 19:54:25 +0000 (15:54 -0400)]
setting 1.0-27 tag

12 years agofix name error
Tony Mack [Fri, 8 Jul 2011 19:20:08 +0000 (15:20 -0400)]
fix name error

12 years agoListResources: filter our nodes with a whitelist if the caller's slice isn't on the...
Tony Mack [Fri, 8 Jul 2011 16:55:15 +0000 (12:55 -0400)]
ListResources: filter our nodes with a whitelist if the caller's slice isn't on the whitelist

12 years agofix slices geni_urn in SliverStatus
Tony Mack [Thu, 7 Jul 2011 21:14:46 +0000 (17:14 -0400)]
fix slices geni_urn in SliverStatus

12 years agofix sliver_id in PG manifest RSpec
Tony Mack [Thu, 7 Jul 2011 20:45:18 +0000 (16:45 -0400)]
fix sliver_id in PG manifest RSpec

12 years agoneed to cast ids to string
Tony Mack [Thu, 7 Jul 2011 20:29:48 +0000 (16:29 -0400)]
need to cast ids to string

12 years agoadded urn_to_sliver_id() method
Tony Mack [Thu, 7 Jul 2011 20:27:19 +0000 (16:27 -0400)]
added urn_to_sliver_id() method

12 years agofix import
Tony Mack [Thu, 7 Jul 2011 20:17:25 +0000 (16:17 -0400)]
fix import

12 years agoadd fack info to the rspec if it exists
Tony Mack [Thu, 7 Jul 2011 20:02:36 +0000 (16:02 -0400)]
add fack info to the rspec if it exists

12 years agojust store the string representation of flack:info attributes
Tony Mack [Thu, 7 Jul 2011 19:02:30 +0000 (15:02 -0400)]
just store the string representation of flack:info attributes

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Thu, 7 Jul 2011 18:37:43 +0000 (14:37 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agofix bug
Tony Mack [Thu, 7 Jul 2011 18:37:37 +0000 (14:37 -0400)]
fix bug

12 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
smbaker [Thu, 7 Jul 2011 18:04:25 +0000 (11:04 -0700)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa

12 years agofix possible IOError (pemission denied) 2 users are writing to the same log file
Tony Mack [Thu, 7 Jul 2011 18:04:11 +0000 (14:04 -0400)]
fix possible IOError (pemission denied) 2 users are writing to the same log file

12 years agomake gid.dump() look nice
Tony Mack [Thu, 7 Jul 2011 18:00:49 +0000 (14:00 -0400)]
make gid.dump() look nice

12 years agoadded warning() method to logger
smbaker [Thu, 7 Jul 2011 17:59:16 +0000 (10:59 -0700)]
added warning() method to logger

12 years agomake pg_rspec aware of <sliver_type> child tags <initscript> and <flack:info>
Tony Mack [Thu, 7 Jul 2011 17:20:54 +0000 (13:20 -0400)]
make pg_rspec aware of <sliver_type> child tags <initscript> and <flack:info>

12 years agocatch and log execptions when adding sliver attributes(tags) fails
Tony Mack [Thu, 7 Jul 2011 17:19:50 +0000 (13:19 -0400)]
catch and log execptions when adding sliver attributes(tags) fails

12 years agoremove debugging output
Tony Mack [Thu, 7 Jul 2011 17:18:47 +0000 (13:18 -0400)]
remove debugging output

12 years agolog exceptions that occur inside of threads
Tony Mack [Thu, 7 Jul 2011 16:19:55 +0000 (12:19 -0400)]
log exceptions that occur inside of threads

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Thu, 7 Jul 2011 16:10:50 +0000 (12:10 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agocall dump_string instead of dump
Tony Mack [Thu, 7 Jul 2011 16:10:46 +0000 (12:10 -0400)]
call dump_string instead of dump

12 years agovarious fixes - should bring createsliver back to life
Thierry Parmentelat [Thu, 7 Jul 2011 08:41:21 +0000 (10:41 +0200)]
various fixes - should bring createsliver back to life

12 years agouse the correct logger
Tony Mack [Wed, 6 Jul 2011 23:37:28 +0000 (19:37 -0400)]
use the correct logger

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Wed, 6 Jul 2011 20:31:21 +0000 (16:31 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agoimplement get_slice_attributes
Tony Mack [Wed, 6 Jul 2011 20:31:14 +0000 (16:31 -0400)]
implement get_slice_attributes

12 years agoUndo GENICloud-specific change to PL SM
Andy Bavier [Wed, 6 Jul 2011 18:48:47 +0000 (14:48 -0400)]
Undo GENICloud-specific change to PL SM

12 years agoMerge branch 'master' into eucalyptus-devel
Marco Yuen [Wed, 6 Jul 2011 18:20:59 +0000 (14:20 -0400)]
Merge branch 'master' into eucalyptus-devel

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Andy Bavier [Wed, 6 Jul 2011 18:18:36 +0000 (14:18 -0400)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agocatch eception if convert_publickey fails
Tony Mack [Wed, 6 Jul 2011 18:12:46 +0000 (14:12 -0400)]
catch eception if convert_publickey fails

12 years agologger.warn instead of logger.warning
Tony Mack [Wed, 6 Jul 2011 18:04:57 +0000 (14:04 -0400)]
logger.warn instead of logger.warning

12 years agoUpdate RelaxNG schemas for PL RSpec changes
Andy Bavier [Wed, 6 Jul 2011 18:03:22 +0000 (14:03 -0400)]
Update RelaxNG schemas for PL RSpec changes

12 years agoStrip out <network> subtrees corresponding to other aggregates.
Andy Bavier [Wed, 6 Jul 2011 18:00:10 +0000 (14:00 -0400)]
Strip out <network> subtrees corresponding to other aggregates.

The PlanetLab slice manager sends the entire RSpec to each aggregate.
In order to cleanly validate the RSpec, first strip out portions corresponding
to other aggregates.

12 years agocall api.get_cached_server_version() insead of _get_server_version() in CreateSliver
Tony Mack [Wed, 6 Jul 2011 17:28:29 +0000 (13:28 -0400)]
call api.get_cached_server_version() insead of _get_server_version() in CreateSliver

12 years agocatch exception in _CreateSliver that otherwise gets discarded
Thierry Parmentelat [Wed, 6 Jul 2011 15:02:37 +0000 (17:02 +0200)]
catch exception in _CreateSliver that otherwise gets discarded
still need to fix _get_server_version that's an unknown symbol

12 years agoeven safer handling of expiration types across
Thierry Parmentelat [Wed, 6 Jul 2011 10:47:22 +0000 (12:47 +0200)]
even safer handling of expiration types across
timestamp/datetime/strings, as this tends to be used outside of the
trust area in the pl aggregate, and RenewSliver method

12 years agoreviewed consistency of the expiration field in credential, and calls
Thierry Parmentelat [Wed, 6 Jul 2011 10:38:50 +0000 (12:38 +0200)]
reviewed consistency of the expiration field in credential, and calls
to utcparse that could not deal with a datetime input