Sandrine Avakian [Wed, 29 Feb 2012 09:07:08 +0000 (10:07 +0100)]
Removed hard coded login in GET requests (OARrestapi).
Only GetJobIds needs a username. Modified SendRequest and
GetREquestFromOARapi to take this into account.
Sandrine Avakian [Tue, 28 Feb 2012 15:11:36 +0000 (16:11 +0100)]
Added sliver_status in slabdriver.
Added username as a parameter in POST (OARrestapi).
Sandrine Avakian [Thu, 23 Feb 2012 16:06:30 +0000 (17:06 +0100)]
Added DeleteJobs in SlabDriver.
Fixed the OAR/EH/Hibernate/java lib problem by using dirty
hardcoded username in the code.(original senslab account savakian
behaves really weird and cannot be deleted entirely
from the rpod senslab platform. Using new account avakian
but sfa BD is not synchronized with senslab prod LDAP:
avakian not existing in sfa.Using savakian slice and avakian for
oar etc...)
Sandrine Avakian [Wed, 22 Feb 2012 11:47:02 +0000 (12:47 +0100)]
Trying to fix the "platform crash" pbm.
Scheduling an experiment to take place in 3 min on OAR instead
of being immediate.
------------------
Since it seems I don't have admin rights on OAR from sfa-vm2,
I can't test the code. I am pushing these things hoping I can test
it on sfa-vm, NT's VM.
......Seriously -_-....
SA.
Nicolas Turro [Fri, 10 Feb 2012 17:47:26 +0000 (18:47 +0100)]
bugfix and adding the deploy type for oar jobs. NT
Nicolas Turro [Fri, 10 Feb 2012 16:46:47 +0000 (17:46 +0100)]
Link to the senslab wrapper in AddSliceToNodes, dummy prototype function for sliver_status (used by sface), error jobs.NT
Nicolas Turro [Fri, 10 Feb 2012 16:44:52 +0000 (17:44 +0100)]
get_nodes_and_links should return nothing on en empty slice.NT.
Nicolas Turro [Wed, 8 Feb 2012 14:32:11 +0000 (15:32 +0100)]
Bugfix, asking ressources without filter was bugged. NT.
Sandrine Avakian [Thu, 26 Jan 2012 16:09:59 +0000 (17:09 +0100)]
Moved computation of hrn on the OARrestapi level.
Querying slice resources ok but considers that the nodes in the slice
are local nodes ( not from a federated senslab platform).
This is due to missing information in node hostnames in OAR.
TODO : fix parse_filter in case of dict filter.
Sandrine Avakian [Wed, 25 Jan 2012 14:42:17 +0000 (15:42 +0100)]
Cleaned GetJobs.
Sandrine Avakian [Wed, 25 Jan 2012 14:33:21 +0000 (15:33 +0100)]
Modification of get_slice_and_slivers to have the full hrn of the node.
Sandrine Avakian [Wed, 25 Jan 2012 10:27:40 +0000 (11:27 +0100)]
Clean up of Getslices.
Sandrine Avakian [Wed, 25 Jan 2012 10:24:50 +0000 (11:24 +0100)]
GetSlices fix 1.
Sandrine Avakian [Tue, 24 Jan 2012 14:30:19 +0000 (15:30 +0100)]
Removed unused functions in OARapi( Get*FromOARParse).
Fixed update_senslab_slice in slabpostgres, updated GetJobs
to update the job id in the slice table upon queries on terminated jobs.
Sandrine Avakian [Tue, 24 Jan 2012 13:11:45 +0000 (14:11 +0100)]
Cleaned OARapi file. Removed class OARapi.
Added GetJobId
Sandrine Avakian [Tue, 24 Jan 2012 09:33:40 +0000 (10:33 +0100)]
Thrash commit between cleaning OARrestapi and adding job features...
Sandrine Avakian [Wed, 18 Jan 2012 13:41:47 +0000 (14:41 +0100)]
Tony fix to the sfa- start bug when aggregates.xml holds peer information .
Sandrine Avakian [Tue, 17 Jan 2012 15:02:40 +0000 (16:02 +0100)]
Added return email and firstname/lastname in LDAP when calling ldapfind.
Added DEPLOY option when creating a job on OAR (missing firmware=>error).
Fixed show option bug with sfi.py.
Sandrine Avakian [Tue, 17 Jan 2012 10:13:12 +0000 (11:13 +0100)]
Corrected sfa-start from master.
Sandrine Avakian [Mon, 16 Jan 2012 16:07:29 +0000 (17:07 +0100)]
Fixed problem from merge from master.
Added list slice functionnality from sfi.py.
Todo : Fix hrn problem when listing slice.
Sandrine Avakian [Mon, 16 Jan 2012 14:17:48 +0000 (15:17 +0100)]
Merge branch 'master' into senslab2
Conflicts:
sfa/managers/registry_manager.py
Thierry Parmentelat [Mon, 16 Jan 2012 14:21:17 +0000 (15:21 +0100)]
Merge branch 'upstreammaster'
Sandrine Avakian [Mon, 16 Jan 2012 14:10:40 +0000 (15:10 +0100)]
Added GetPeers and get_peer functions.
Sandrine Avakian [Fri, 13 Jan 2012 12:06:31 +0000 (13:06 +0100)]
REmoved modifications in auth.py and sfa-start.py.
Sandrine Avakian [Fri, 13 Jan 2012 09:51:57 +0000 (10:51 +0100)]
Debugging federation functions on senslab/senslab2.
Thierry Parmentelat [Thu, 12 Jan 2012 17:14:11 +0000 (18:14 +0100)]
reinstate 'sfa' and 'geni_api' keys in GetVersion for the registry
Thierry Parmentelat [Thu, 12 Jan 2012 16:34:50 +0000 (17:34 +0100)]
interpret return values
better messages with unexisting hostnames
better performance with unexisting hostnames
Sandrine Avakian [Thu, 12 Jan 2012 09:06:47 +0000 (10:06 +0100)]
Removing GetSites , GetSitesFRomOARParse, verify_site
as Senslab only has one main entry point and is considered
as one and unique site : therfore, does not need to handle
multiple sites. May be subject to changes in the future.
Removed the peer checkings in:
verify_slice_nodes, verify_slice, for the same reason.
Removed verify_slice_links and verify_slice_attributes
(no links and no special attibutes in senslab slices).
Thierry Parmentelat [Thu, 12 Jan 2012 00:03:03 +0000 (01:03 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
smbaker [Wed, 11 Jan 2012 00:05:41 +0000 (16:05 -0800)]
bump DEFAULT_CREDENTIAL_LIFETIME to 31 days, to make renew work
smbaker [Tue, 10 Jan 2012 23:52:56 +0000 (15:52 -0800)]
add optional minimum expiration to getCredential, better handling of returns in slicemanager renew
Tony Mack [Tue, 10 Jan 2012 19:04:46 +0000 (14:04 -0500)]
Registry supports the OpenStack backend
Tony Mack [Tue, 10 Jan 2012 18:10:08 +0000 (13:10 -0500)]
support openstack database access to pg_hba.conf
Tony Mack [Tue, 10 Jan 2012 17:56:53 +0000 (12:56 -0500)]
fix bugs
Tony Mack [Tue, 10 Jan 2012 17:39:33 +0000 (12:39 -0500)]
fix bug in delete
Sandrine Avakian [Tue, 10 Jan 2012 13:44:33 +0000 (14:44 +0100)]
Added GetJobs.
smbaker [Tue, 10 Jan 2012 03:20:34 +0000 (19:20 -0800)]
force geni_rspec_version for protogeni aggregate
Tony Mack [Tue, 10 Jan 2012 00:53:42 +0000 (19:53 -0500)]
use sfa.openstack.openstack_shell to interact with openstack back end
Tony Mack [Tue, 10 Jan 2012 00:51:18 +0000 (19:51 -0500)]
added sfa/openstack directory
Tony Mack [Tue, 10 Jan 2012 00:37:32 +0000 (19:37 -0500)]
dont forget __init__.py
Tony Mack [Tue, 10 Jan 2012 00:35:47 +0000 (19:35 -0500)]
Initial checkin of openstack shell
Thierry Parmentelat [Mon, 9 Jan 2012 17:59:28 +0000 (18:59 +0100)]
minor cleanup
Tony Mack [Mon, 9 Jan 2012 17:22:53 +0000 (12:22 -0500)]
can now import and use sfa.server.sfaapi withough having to worry about registry dependencies
Thierry Parmentelat [Mon, 9 Jan 2012 08:35:12 +0000 (09:35 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Tony Mack [Sat, 7 Jan 2012 16:53:54 +0000 (11:53 -0500)]
Setting tag sfa-2.0-9
Tony Mack [Sat, 7 Jan 2012 15:42:31 +0000 (10:42 -0500)]
fix type error
Tony Mack [Sat, 7 Jan 2012 01:17:12 +0000 (20:17 -0500)]
use PlXrn to parse the login base (authority) out of a urn
Tony Mack [Sat, 7 Jan 2012 01:16:11 +0000 (20:16 -0500)]
<login> element should have it's 'username' attribute set to the sliver's plc slice name
Tony Mack [Sat, 7 Jan 2012 00:40:39 +0000 (19:40 -0500)]
fix bug that prevented planetlab initscripts from showing up in the sliver_type element for PGv2 and GENIv3 rspecs
Tony Mack [Fri, 6 Jan 2012 21:52:30 +0000 (16:52 -0500)]
fix bug in verify_slice
Tony Mack [Fri, 6 Jan 2012 21:20:12 +0000 (16:20 -0500)]
extra whitespace in the 'schemaLocation' field shouldn't prevent us from identifying the schema
Tony Mack [Fri, 6 Jan 2012 19:10:21 +0000 (14:10 -0500)]
make sure datetime_to_epoch() returns ints
Tony Mack [Fri, 6 Jan 2012 19:05:37 +0000 (14:05 -0500)]
fix name error
Tony Mack [Fri, 6 Jan 2012 18:31:57 +0000 (13:31 -0500)]
try casting strings to ints before parsing
Tony Mack [Fri, 6 Jan 2012 17:03:05 +0000 (12:03 -0500)]
SFA_SM_{PORT,HOST} should be SFA_AGGREGATE_{PORT,HOST}
Tony Mack [Fri, 6 Jan 2012 16:57:26 +0000 (11:57 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Fri, 6 Jan 2012 16:50:14 +0000 (11:50 -0500)]
'geni_api' should be in the top level struct, not the code struct
Thierry Parmentelat [Fri, 6 Jan 2012 12:03:55 +0000 (13:03 +0100)]
minor cleanup
Thierry Parmentelat [Fri, 6 Jan 2012 10:13:43 +0000 (11:13 +0100)]
bugfix
Sandrine Avakian [Thu, 5 Jan 2012 16:39:23 +0000 (17:39 +0100)]
Added job requests to OAR.
Using hardcoded authentication ...
Thierry Parmentelat [Thu, 5 Jan 2012 11:36:35 +0000 (12:36 +0100)]
hopefully clearer message when client can't bootstrap
Thierry Parmentelat [Thu, 5 Jan 2012 11:34:23 +0000 (12:34 +0100)]
typo
Thierry Parmentelat [Thu, 5 Jan 2012 07:46:58 +0000 (08:46 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Tony Mack [Wed, 4 Jan 2012 21:22:29 +0000 (16:22 -0500)]
Setting tag sfa-2.0-8
Tony Mack [Wed, 4 Jan 2012 19:54:50 +0000 (14:54 -0500)]
sfaImport no longer has verbose option
Tony Mack [Wed, 4 Jan 2012 19:20:27 +0000 (14:20 -0500)]
set the 'authority' field when importing sites
Tony Mack [Wed, 4 Jan 2012 19:19:02 +0000 (14:19 -0500)]
fix bug in summary_string()
Tony Mack [Wed, 4 Jan 2012 18:46:08 +0000 (13:46 -0500)]
handle failed imports gracefully.
Tony Mack [Wed, 4 Jan 2012 18:16:08 +0000 (13:16 -0500)]
convert_public_key() should raise an exception instead for returning None
Tony Mack [Wed, 4 Jan 2012 18:15:30 +0000 (13:15 -0500)]
fix import logging
Tony Mack [Tue, 3 Jan 2012 19:12:30 +0000 (14:12 -0500)]
Setting tag sfa-2.0-7
Thierry Parmentelat [Tue, 3 Jan 2012 11:29:21 +0000 (12:29 +0100)]
cosmetic
Thierry Parmentelat [Tue, 3 Jan 2012 11:11:29 +0000 (12:11 +0100)]
fix sfascan wrt recent changes
Thierry Parmentelat [Tue, 3 Jan 2012 11:11:13 +0000 (12:11 +0100)]
sync targets more robust
Thierry Parmentelat [Tue, 3 Jan 2012 11:10:45 +0000 (12:10 +0100)]
Makefile is for sfascan
Tony Mack [Tue, 3 Jan 2012 06:22:45 +0000 (01:22 -0500)]
PlShell reference belongs in sfa-import-plc
Tony Mack [Tue, 3 Jan 2012 06:18:40 +0000 (01:18 -0500)]
initial checkin of openstack import script
Tony Mack [Tue, 3 Jan 2012 06:14:12 +0000 (01:14 -0500)]
fix AttributeError in sync()
smbaker [Tue, 3 Jan 2012 00:54:37 +0000 (16:54 -0800)]
fix hostname, add conversion of hardware_types
smbaker [Tue, 3 Jan 2012 00:53:58 +0000 (16:53 -0800)]
add support for hardware_type element to sfa rspec
smbaker [Tue, 3 Jan 2012 00:53:07 +0000 (16:53 -0800)]
fix types in hardware_type
Sandrine Avakian [Mon, 2 Jan 2012 09:07:49 +0000 (10:07 +0100)]
Using generic registry manager.
Tony Mack [Sun, 1 Jan 2012 21:05:42 +0000 (16:05 -0500)]
moved plc specific code out of sfa.importer.sfaImporter. Refactored sfa.importer.sfa-import.plc and sfa.importer.sfaImporter
Tony Mack [Sun, 1 Jan 2012 17:43:24 +0000 (12:43 -0500)]
fix name error
Tony Mack [Sun, 1 Jan 2012 17:24:07 +0000 (12:24 -0500)]
fix name error
Tony Mack [Fri, 30 Dec 2011 21:00:20 +0000 (16:00 -0500)]
move generic code from sfa.importer.sfa-import-plc sfa.importer.sfaImport
smbaker [Fri, 30 Dec 2011 03:38:34 +0000 (19:38 -0800)]
fix protogeni rspec converter
smbaker [Fri, 30 Dec 2011 03:37:22 +0000 (19:37 -0800)]
fix error in get_networks
smbaker [Thu, 29 Dec 2011 03:40:06 +0000 (19:40 -0800)]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/sfa
Tony Mack [Mon, 26 Dec 2011 04:53:34 +0000 (23:53 -0500)]
use utcparse and datetime_to_epoch to handle slice 'expires' field
Tony Mack [Mon, 26 Dec 2011 04:42:51 +0000 (23:42 -0500)]
utcparse now supports longs
Tony Mack [Mon, 26 Dec 2011 04:42:17 +0000 (23:42 -0500)]
raise exception if there are no slivers
Tony Mack [Thu, 22 Dec 2011 21:14:20 +0000 (16:14 -0500)]
no need to call timetuple() here
Tony Mack [Thu, 22 Dec 2011 21:05:47 +0000 (16:05 -0500)]
replaced epochparse with datetime_to_epoch()
Tony Mack [Thu, 22 Dec 2011 19:33:45 +0000 (14:33 -0500)]
convert slice record 'expires' field from utc to human readable format
Tony Mack [Thu, 22 Dec 2011 19:16:56 +0000 (14:16 -0500)]
added 'geni_api' to the return value struct
Tony Mack [Thu, 22 Dec 2011 19:16:33 +0000 (14:16 -0500)]
make sure verify_persons() passes user keys to verify_keys()
Tony Mack [Thu, 22 Dec 2011 18:04:45 +0000 (13:04 -0500)]
remove interface element from request rspec
Tony Mack [Thu, 22 Dec 2011 17:43:27 +0000 (12:43 -0500)]
sliver_type element must contain the 'name' attribute
Tony Mack [Thu, 22 Dec 2011 17:35:37 +0000 (12:35 -0500)]
<available> element not allowed in manifest rspec