sfa.git
13 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

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

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

13 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

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

13 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

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

13 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

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

13 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

13 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

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

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

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

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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

13 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

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

13 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

13 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

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

13 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

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

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

13 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

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

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

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

13 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

13 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

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

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

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

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

13 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

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

13 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

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

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

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

13 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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

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

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

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

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

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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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

13 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

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

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

13 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>

13 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

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

13 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

13 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

13 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

13 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

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

13 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

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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 years agofix mode bits
smbaker [Tue, 5 Jul 2011 22:55:13 +0000 (15:55 -0700)]
fix mode bits