sfa.git
12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Wed, 14 Mar 2012 09:38:27 +0000 (10:38 +0100)]
Merge branch 'master' into senslab2

12 years agoCorrected import site
Sandrine Avakian [Wed, 14 Mar 2012 09:36:20 +0000 (10:36 +0100)]
Corrected import site
- corrected GetSites
- corrected GetNodes
Federation still notworking.

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Tue, 13 Mar 2012 14:34:25 +0000 (07:34 -0700)]
Merge branch 'upstreammaster'

12 years agoonly import ssh keys
Tony Mack [Tue, 13 Mar 2012 00:36:12 +0000 (20:36 -0400)]
only import ssh keys

12 years agosfa.clientbin.sfaadmin replaces sfa-ca.py, sfa-nuke.py and sfa-import.py
Tony Mack [Mon, 12 Mar 2012 16:42:22 +0000 (12:42 -0400)]
sfa.clientbin.sfaadmin replaces sfa-ca.py, sfa-nuke.py and sfa-import.py

12 years agoremoving
Tony Mack [Mon, 12 Mar 2012 16:41:10 +0000 (12:41 -0400)]
removing

12 years agoremoving
Tony Mack [Mon, 12 Mar 2012 16:40:41 +0000 (12:40 -0400)]
removing

12 years agospaces
Tony Mack [Mon, 12 Mar 2012 16:40:11 +0000 (12:40 -0400)]
spaces

12 years agohandle potential exception if db is not under version control
Tony Mack [Mon, 12 Mar 2012 16:39:03 +0000 (12:39 -0400)]
handle potential exception if db is not under version control

12 years agofix NameError
Tony Mack [Mon, 12 Mar 2012 16:33:28 +0000 (12:33 -0400)]
fix NameError

12 years agofix NameError
Tony Mack [Mon, 12 Mar 2012 16:31:38 +0000 (12:31 -0400)]
fix NameError

12 years agofix NameError
Tony Mack [Mon, 12 Mar 2012 16:30:57 +0000 (12:30 -0400)]
fix NameError

12 years agofix NameError
Tony Mack [Mon, 12 Mar 2012 16:29:49 +0000 (12:29 -0400)]
fix NameError

12 years agoimplement registry_import
Tony Mack [Mon, 12 Mar 2012 16:16:19 +0000 (12:16 -0400)]
implement registry_import

12 years agoadded Importer class (replaces sfa.importer.sfaimporter
Tony Mack [Mon, 12 Mar 2012 16:15:56 +0000 (12:15 -0400)]
added Importer class (replaces sfa.importer.sfaimporter

12 years agofix various errors
Tony Mack [Fri, 9 Mar 2012 22:07:22 +0000 (17:07 -0500)]
fix various errors

12 years agofix import error
Tony Mack [Fri, 9 Mar 2012 22:04:43 +0000 (17:04 -0500)]
fix import error

12 years agospelling
Tony Mack [Fri, 9 Mar 2012 22:02:48 +0000 (17:02 -0500)]
spelling

12 years agofix indent error
Tony Mack [Fri, 9 Mar 2012 22:01:47 +0000 (17:01 -0500)]
fix indent error

12 years agoadd cert to list of valid commands
Tony Mack [Fri, 9 Mar 2012 22:00:51 +0000 (17:00 -0500)]
add cert to list of valid commands

12 years agoimplemnt more certificate and aggregate commands
Tony Mack [Fri, 9 Mar 2012 21:52:34 +0000 (16:52 -0500)]
implemnt more certificate and aggregate commands

12 years agoSome emails from LDAP are missing = set field to None.
Sandrine Avakian [Fri, 9 Mar 2012 14:57:51 +0000 (15:57 +0100)]
Some emails from LDAP are missing = set field to None.
Created slab_sfa db, and senslab_slice table.
Using SQLalchemy in slabpostgres instead of psycopg (
as in sfa master).
Removed unused files.
TODO : use Query objects from SQLalchemy to make
the filtering when selecting on senslab_slice.

12 years agofix bug in get_rspec
Tony Mack [Thu, 8 Mar 2012 20:16:07 +0000 (15:16 -0500)]
fix bug in get_rspec

12 years agofix AttributeError
Tony Mack [Thu, 8 Mar 2012 19:39:19 +0000 (14:39 -0500)]
fix AttributeError

12 years agofix call to registry_manager.GetCredential
Tony Mack [Thu, 8 Mar 2012 19:33:00 +0000 (14:33 -0500)]
fix call to registry_manager.GetCredential

12 years agoformatting
Tony Mack [Wed, 7 Mar 2012 19:32:49 +0000 (14:32 -0500)]
formatting

12 years agofix dump()
Tony Mack [Wed, 7 Mar 2012 19:28:58 +0000 (14:28 -0500)]
fix dump()

12 years agoadded get_field()
Tony Mack [Wed, 7 Mar 2012 19:10:04 +0000 (14:10 -0500)]
added get_field()

12 years agofix save_as_xml()
Tony Mack [Wed, 7 Mar 2012 17:26:52 +0000 (12:26 -0500)]
fix save_as_xml()

12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Wed, 7 Mar 2012 09:13:54 +0000 (10:13 +0100)]
Merge branch 'master' into senslab2

12 years agoCleaning up unused senslab files.
Sandrine Avakian [Wed, 7 Mar 2012 09:10:48 +0000 (10:10 +0100)]
Cleaning up unused senslab files.

12 years agoThrash commit to use SQLalchemy and create senslab_slice table.
Sandrine Avakian [Wed, 7 Mar 2012 08:59:12 +0000 (09:59 +0100)]
Thrash commit to use SQLalchemy and create senslab_slice table.
NOT WORKING.
Didi it for merging updated master branch.

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Tue, 6 Mar 2012 21:47:28 +0000 (22:47 +0100)]
Merge branch 'upstreammaster'

12 years agofix bug that causes a slice with no nodes to have an in incorrect rspec
Tony Mack [Tue, 6 Mar 2012 16:36:21 +0000 (11:36 -0500)]
fix bug that causes a slice with no nodes to have an in incorrect rspec

12 years agoChanged the import - now using generic sfa-importer.py
Sandrine Avakian [Tue, 6 Mar 2012 09:02:16 +0000 (10:02 +0100)]
Changed the import - now using generic sfa-importer.py
=>creation of slabimporter.py
=>modification of slab.py to take into account new importer lass.
=> modification of Getsites in OARrestapi .

12 years agoMerge remote-tracking branch 'origin/master'
Git User [Sun, 4 Mar 2012 15:26:12 +0000 (10:26 -0500)]
Merge remote-tracking branch 'origin/master'

12 years agoMerge branch 'alchemy'
Thierry Parmentelat [Sun, 4 Mar 2012 15:23:58 +0000 (16:23 +0100)]
Merge branch 'alchemy'

12 years agofix packaging of sfaadmin.py
Thierry Parmentelat [Sun, 4 Mar 2012 09:57:42 +0000 (10:57 +0100)]
fix packaging of sfaadmin.py

12 years agofix bugs
Tony Mack [Sat, 3 Mar 2012 01:16:19 +0000 (20:16 -0500)]
fix bugs

12 years agoSfaRecord has been replaced by Record
Tony Mack [Sat, 3 Mar 2012 00:19:12 +0000 (19:19 -0500)]
SfaRecord has been replaced by Record

12 years agoremove sqlalchemy dependency from sfi
Tony Mack [Fri, 2 Mar 2012 22:32:13 +0000 (17:32 -0500)]
remove sqlalchemy dependency from sfi

12 years agoinitial checkin
Tony Mack [Fri, 2 Mar 2012 22:31:58 +0000 (17:31 -0500)]
initial checkin

12 years agoremove unused import
Tony Mack [Fri, 2 Mar 2012 22:12:19 +0000 (17:12 -0500)]
remove unused import

12 years agoadd some placeholders in comments for later use
Tony Mack [Fri, 2 Mar 2012 22:11:52 +0000 (17:11 -0500)]
add some placeholders in comments for later use

12 years agoimplement more methods
Tony Mack [Fri, 2 Mar 2012 22:09:23 +0000 (17:09 -0500)]
implement more methods

12 years agoremove unused import
Tony Mack [Fri, 2 Mar 2012 22:08:33 +0000 (17:08 -0500)]
remove unused import

12 years agoMerge branch 'master' into senslab2
Sandrine Avakian [Wed, 29 Feb 2012 12:33:11 +0000 (13:33 +0100)]
Merge branch 'master' into senslab2

Conflicts:
sfa/server/sfa-start.py

12 years agoRemoved hard coded login in GET requests (OARrestapi).
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.

12 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Tue, 28 Feb 2012 18:58:57 +0000 (19:58 +0100)]
Merge branch 'upstreammaster'

12 years agoAdded sliver_status in slabdriver.
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).

12 years agofix bugs in disk_image_to_rspec_object(), get_machine_image_details()
Tony Mack [Mon, 27 Feb 2012 22:01:44 +0000 (17:01 -0500)]
fix bugs in disk_image_to_rspec_object(), get_machine_image_details()

12 years agoadded resources implementation
Tony Mack [Mon, 27 Feb 2012 22:00:19 +0000 (17:00 -0500)]
added resources implementation

12 years agomodified sfa.manager.registry_manager.RegistryManager.GetCredential(), replaced boole...
Tony Mack [Mon, 27 Feb 2012 21:02:31 +0000 (16:02 -0500)]
modified sfa.manager.registry_manager.RegistryManager.GetCredential(), replaced boolean 'is_local' parameter with string 'caller_xrn' parameter

12 years agoimplement credential()
Tony Mack [Mon, 27 Feb 2012 20:17:11 +0000 (15:17 -0500)]
implement credential()

12 years agofix remove
Tony Mack [Mon, 27 Feb 2012 17:04:16 +0000 (12:04 -0500)]
fix remove

12 years agoimplement remove()
Tony Mack [Mon, 27 Feb 2012 17:03:35 +0000 (12:03 -0500)]
implement remove()

12 years agomoving
Tony Mack [Mon, 27 Feb 2012 16:36:51 +0000 (11:36 -0500)]
moving

12 years agoMerge branch 'master' into sqlalchemy
Thierry Parmentelat [Fri, 24 Feb 2012 17:47:01 +0000 (18:47 +0100)]
Merge branch 'master' into sqlalchemy

Conflicts:
sfa/importer/sfa-import-plc.py

12 years agoSetting tag sfa-2.1-3 sfa-2.1-3
Thierry Parmentelat [Fri, 24 Feb 2012 17:39:24 +0000 (18:39 +0100)]
Setting tag sfa-2.1-3
slice x researcher rel. in database,
plimporter to maintain that, as well as user.email, and more robust
ongoing draft for sfaadmin tool
support for a federica driver
support for a nova/euca driver
no more sfa-clean-peer-records script

12 years agostupid java wants creds as strings
Thierry Parmentelat [Fri, 24 Feb 2012 15:46:48 +0000 (16:46 +0100)]
stupid java wants creds as strings

12 years agobye syncrica
Thierry Parmentelat [Fri, 24 Feb 2012 15:45:09 +0000 (16:45 +0100)]
bye syncrica

12 years agofix dumps (may be run client-side or server-side)
Thierry Parmentelat [Fri, 24 Feb 2012 15:44:43 +0000 (16:44 +0100)]
fix dumps (may be run client-side or server-side)

12 years agostore user's email in their gid
Tony Mack [Fri, 24 Feb 2012 13:20:41 +0000 (08:20 -0500)]
store user's email in their gid

12 years agogo for a unique config URL for the federica xmlrpc service
Thierry Parmentelat [Fri, 24 Feb 2012 11:37:30 +0000 (12:37 +0100)]
go for a unique config URL for the federica xmlrpc service

12 years agoMerge branch 'master' into sqlalchemy
Thierry Parmentelat [Fri, 24 Feb 2012 10:52:18 +0000 (11:52 +0100)]
Merge branch 'master' into sqlalchemy

Conflicts:
sfa/storage/record.py

12 years agoAdded DeleteJobs in SlabDriver.
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...)

12 years agoTrying to fix the "platform crash" pbm.
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.

12 years agocosmetic / nicer dumps
Thierry Parmentelat [Tue, 21 Feb 2012 11:07:28 +0000 (12:07 +0100)]
cosmetic / nicer dumps

12 years agomissing import and adds validation hooks for datetime columns
Thierry Parmentelat [Tue, 21 Feb 2012 10:52:13 +0000 (11:52 +0100)]
missing import and adds validation hooks for datetime columns

12 years agouser records were missing date_created - renamed user_person for consistency
Thierry Parmentelat [Tue, 21 Feb 2012 10:46:51 +0000 (11:46 +0100)]
user records were missing date_created - renamed user_person for consistency

12 years agouse pprint.PrettyPrinter intead of pprint.pformat
Tony Mack [Mon, 20 Feb 2012 16:23:10 +0000 (11:23 -0500)]
use pprint.PrettyPrinter intead of pprint.pformat

12 years agoupdated dump
Tony Mack [Mon, 20 Feb 2012 16:13:19 +0000 (11:13 -0500)]
updated dump

12 years agoversion(), status(), slices()
Tony Mack [Mon, 20 Feb 2012 16:07:42 +0000 (11:07 -0500)]
version(), status(), slices()

12 years agoMerge branch 'master' into sqlalchemy
Thierry Parmentelat [Sun, 19 Feb 2012 08:29:59 +0000 (09:29 +0100)]
Merge branch 'master' into sqlalchemy

Conflicts:
config/default_config.xml
sfa.spec

Removed:
sfa/server/sfa-clean-peer-records.py
sfa/storage/record.py

12 years agoparse timestamps correctly
Tony Mack [Sat, 18 Feb 2012 14:23:13 +0000 (09:23 -0500)]
parse timestamps correctly

12 years agodb now has slice x researcher relation ship
Thierry Parmentelat [Fri, 17 Feb 2012 15:34:16 +0000 (16:34 +0100)]
db now has slice x researcher relation ship
plimporter preserves that
not yet used by registry when issuing credentials though

12 years agoremoved sfa-clean-peer-records.py
Tony Mack [Fri, 17 Feb 2012 13:50:29 +0000 (08:50 -0500)]
removed sfa-clean-peer-records.py

12 years agomodified dump()
Tony Mack [Fri, 17 Feb 2012 03:42:01 +0000 (22:42 -0500)]
modified dump()

12 years agoupdaed show()
Tony Mack [Thu, 16 Feb 2012 22:24:22 +0000 (17:24 -0500)]
updaed show()

12 years agoimplement show
Tony Mack [Thu, 16 Feb 2012 21:50:29 +0000 (16:50 -0500)]
implement show

12 years agoimport sfa.util.config.Config
Tony Mack [Thu, 16 Feb 2012 21:47:29 +0000 (16:47 -0500)]
import sfa.util.config.Config

12 years agofix bug in Resolve
Tony Mack [Thu, 16 Feb 2012 21:39:02 +0000 (16:39 -0500)]
fix bug in Resolve

12 years agoinitial checkin of admin script
Tony Mack [Thu, 16 Feb 2012 21:29:33 +0000 (16:29 -0500)]
initial checkin of admin script

12 years agoremoving unused script
Tony Mack [Thu, 16 Feb 2012 19:11:06 +0000 (14:11 -0500)]
removing unused script

12 years agoreorganized
Tony Mack [Wed, 15 Feb 2012 19:29:12 +0000 (14:29 -0500)]
reorganized

12 years agofix sliver_status
Tony Mack [Wed, 15 Feb 2012 19:25:05 +0000 (14:25 -0500)]
fix sliver_status

12 years agochanged some config options
Tony Mack [Tue, 14 Feb 2012 18:10:14 +0000 (13:10 -0500)]
changed some config options

12 years agocreate slivers using EucaShell
Tony Mack [Tue, 14 Feb 2012 13:21:00 +0000 (08:21 -0500)]
create slivers using EucaShell

12 years agocomments
Tony Mack [Tue, 14 Feb 2012 13:17:36 +0000 (08:17 -0500)]
comments

12 years agoadded refrence to sfa.openstack.euca_shell.EucaShell
Tony Mack [Tue, 14 Feb 2012 13:17:13 +0000 (08:17 -0500)]
added refrence to sfa.openstack.euca_shell.EucaShell

12 years agoinitial checkin
Tony Mack [Tue, 14 Feb 2012 13:16:07 +0000 (08:16 -0500)]
initial checkin

12 years agocleanup in the federica area
Thierry Parmentelat [Mon, 13 Feb 2012 19:01:40 +0000 (20:01 +0100)]
cleanup in the federica area

12 years agobugfix and adding the deploy type for oar jobs. NT
Nicolas Turro [Fri, 10 Feb 2012 17:47:26 +0000 (18:47 +0100)]
bugfix and adding the deploy type for oar jobs. NT

12 years agoLink to the senslab wrapper in AddSliceToNodes, dummy prototype function for sliver_s...
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

12 years agoget_nodes_and_links should return nothing on en empty slice.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.

12 years agovarious fixes, plus handle return code properly
Thierry Parmentelat [Thu, 9 Feb 2012 16:41:22 +0000 (17:41 +0100)]
various fixes, plus handle return code properly

12 years agodeclare the federica rspec schemas
Thierry Parmentelat [Thu, 9 Feb 2012 16:23:51 +0000 (17:23 +0100)]
declare the federica rspec schemas

12 years agocan now store an email address in the subjectAltName field
Tony Mack [Thu, 9 Feb 2012 00:48:21 +0000 (19:48 -0500)]
can now store an email address in the subjectAltName field

12 years agoget_rspec() should return an empty rspec when the slice has no nodes
Tony Mack [Thu, 9 Feb 2012 00:40:25 +0000 (19:40 -0500)]
get_rspec() should return an empty rspec when the slice has no nodes

12 years agoMerge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy
Thierry Parmentelat [Wed, 8 Feb 2012 18:23:54 +0000 (19:23 +0100)]
Merge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy