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

12 years agominor
Thierry Parmentelat [Wed, 8 Feb 2012 17:48:29 +0000 (18:48 +0100)]
minor

12 years agosmarter make synclib wrt migrations
Thierry Parmentelat [Wed, 8 Feb 2012 17:48:02 +0000 (18:48 +0100)]
smarter make synclib wrt migrations

12 years agoSetting tag sfa-2.1-2 sfa-2.1-2
Thierry Parmentelat [Wed, 8 Feb 2012 16:54:43 +0000 (17:54 +0100)]
Setting tag sfa-2.1-2
registry database has user's keys and mail (known as v0 for migrate)
pl importer properly maintains user's keys and mail
pl driver now to handle 'role' when adding person record (exp.)
first draft of federica driver with config section
SFA_GENERIC_FLAVOUR in usual variables for sfa-config-tty
plus, from master as of tag merged-in-sfa-2.1-2:
disk_image revisited
new nova_shell nova_driver & various tweaks for openstack

12 years agofix bug in delete_sliver
Tony Mack [Wed, 8 Feb 2012 15:18:22 +0000 (10:18 -0500)]
fix bug in delete_sliver

12 years agoreorganized
Tony Mack [Wed, 8 Feb 2012 14:46:30 +0000 (09:46 -0500)]
reorganized

12 years agoBugfix, asking ressources without filter was bugged. NT.
Nicolas Turro [Wed, 8 Feb 2012 14:32:11 +0000 (15:32 +0100)]
Bugfix, asking ressources without filter was bugged. NT.

12 years agoadd SFA_GENERIC_FLAVOUR as the first usual variable to sfa-config-tty
Thierry Parmentelat [Wed, 8 Feb 2012 13:24:22 +0000 (14:24 +0100)]
add SFA_GENERIC_FLAVOUR as the first usual variable to sfa-config-tty

12 years agoMerge branch 'master' into sqlalchemy
Thierry Parmentelat [Wed, 8 Feb 2012 12:59:45 +0000 (13:59 +0100)]
Merge branch 'master' into sqlalchemy

Conflicts:
sfa/importer/sfa-import-openstack.py
sfa/managers/registry_manager.py
sfa/openstack/nova_driver.py
sfa/storage/PostgreSQL.py
sfa/storage/filter.py

trashed changes in PostgreSQL / filter
applied changes in sfa-import-openstack.py into openstackimporter.py
this is mostly manual so please double check

12 years agofix bug in get_aggregate_nodes() merged-in-sfa-2.1-2
Tony Mack [Tue, 7 Feb 2012 18:43:26 +0000 (13:43 -0500)]
fix bug in get_aggregate_nodes()

12 years agofix AttributeError
Tony Mack [Tue, 7 Feb 2012 17:16:28 +0000 (12:16 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Tue, 7 Feb 2012 17:05:05 +0000 (12:05 -0500)]
fix AttributeError

12 years agoadded support for disk images
Tony Mack [Tue, 7 Feb 2012 16:47:22 +0000 (11:47 -0500)]
added support for disk images

12 years agoadd 'disk_images' to fields
Tony Mack [Tue, 7 Feb 2012 16:46:58 +0000 (11:46 -0500)]
add 'disk_images' to fields

12 years agoinclude disk image dteails
Tony Mack [Tue, 7 Feb 2012 16:46:35 +0000 (11:46 -0500)]
include disk image dteails

12 years agorenamed NovaDB to InjectContext
Tony Mack [Tue, 7 Feb 2012 16:46:03 +0000 (11:46 -0500)]
renamed NovaDB  to InjectContext

12 years agoinitial checkin
Tony Mack [Tue, 7 Feb 2012 16:45:12 +0000 (11:45 -0500)]
initial checkin

12 years agothis is required for the federica driver as well
Thierry Parmentelat [Tue, 7 Feb 2012 11:29:49 +0000 (12:29 +0100)]
this is required for the federica driver as well

12 years agofirst draft for the federica driver
Thierry Parmentelat [Tue, 7 Feb 2012 11:29:21 +0000 (12:29 +0100)]
first draft for the federica driver

12 years agorenaming
Thierry Parmentelat [Tue, 7 Feb 2012 09:32:08 +0000 (10:32 +0100)]
renaming

12 years agoallow raw output to be written to file; support raw output formats json and pickle
smbaker [Tue, 7 Feb 2012 07:44:37 +0000 (23:44 -0800)]
allow raw output to be written to file; support raw output formats json and pickle

12 years agoreworked import
Thierry Parmentelat [Mon, 6 Feb 2012 17:23:32 +0000 (18:23 +0100)]
reworked import

12 years agocascade delete so that unreferenced keys get deleted
Thierry Parmentelat [Mon, 6 Feb 2012 11:00:19 +0000 (12:00 +0100)]
cascade delete so that unreferenced keys get deleted

12 years agotrash old code
Thierry Parmentelat [Mon, 6 Feb 2012 10:59:21 +0000 (11:59 +0100)]
trash old code

12 years agocreate registry objects with kdws-style again, like RegAuthority(hrn=hrn)
Thierry Parmentelat [Mon, 6 Feb 2012 10:48:31 +0000 (11:48 +0100)]
create registry objects with kdws-style again, like RegAuthority(hrn=hrn)
record_options->add_options

12 years agoFix get resources for slices
Tony Mack [Sat, 4 Feb 2012 03:30:16 +0000 (22:30 -0500)]
Fix get resources for slices

12 years agoFix get resources for slices
Tony Mack [Sat, 4 Feb 2012 03:29:51 +0000 (22:29 -0500)]
Fix get resources for slices

12 years agofix pototntial TypeError
Tony Mack [Sat, 4 Feb 2012 02:26:15 +0000 (21:26 -0500)]
fix pototntial TypeError

12 years agospelling
Tony Mack [Sat, 4 Feb 2012 02:25:36 +0000 (21:25 -0500)]
spelling

12 years agofix import. fix typo
Tony Mack [Sat, 4 Feb 2012 02:25:18 +0000 (21:25 -0500)]
fix import. fix typo

12 years agono longer need __getattr__()
Tony Mack [Sat, 4 Feb 2012 02:24:59 +0000 (21:24 -0500)]
no longer need __getattr__()

12 years agofix remaining bugs in fill_record_info
Tony Mack [Sat, 4 Feb 2012 01:46:15 +0000 (20:46 -0500)]
fix remaining bugs in fill_record_info

12 years agofix TypeError
Tony Mack [Sat, 4 Feb 2012 01:41:19 +0000 (20:41 -0500)]
fix TypeError

12 years agorecord timestamps (date created, date updated) are not available when querying for...
Tony Mack [Sat, 4 Feb 2012 01:39:14 +0000 (20:39 -0500)]
record timestamps (date created, date updated) are not available when querying for records using nova.auth.manager.AuthManager

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 01:34:47 +0000 (20:34 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 01:29:41 +0000 (20:29 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 01:22:07 +0000 (20:22 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 01:20:41 +0000 (20:20 -0500)]
fix AttributeError

12 years agofix AttributeError
Tony Mack [Sat, 4 Feb 2012 00:13:39 +0000 (19:13 -0500)]
fix AttributeError

12 years agofix type error
Tony Mack [Sat, 4 Feb 2012 00:11:57 +0000 (19:11 -0500)]
fix type error

12 years agoself._quote() should be Filter._quote()
Tony Mack [Sat, 4 Feb 2012 00:09:22 +0000 (19:09 -0500)]
self._quote() should be Filter._quote()

12 years agouse sfa.storage.filter.Filter._quote instead of pgdb._quote
Tony Mack [Fri, 3 Feb 2012 22:25:30 +0000 (17:25 -0500)]
use sfa.storage.filter.Filter._quote instead of pgdb._quote

12 years agomake _quote() static so other classes can use it
Tony Mack [Fri, 3 Feb 2012 22:23:39 +0000 (17:23 -0500)]
make _quote() static so other classes can use it

12 years agogetting rid of pgdb dependency by implementing pgdb._quote() here
Tony Mack [Fri, 3 Feb 2012 22:12:03 +0000 (17:12 -0500)]
getting rid of pgdb dependency by implementing pgdb._quote() here

12 years agoimprove instnace_to_sliver()
Tony Mack [Fri, 3 Feb 2012 21:20:53 +0000 (16:20 -0500)]
improve instnace_to_sliver()

12 years agoadded get_sliver_id()
Tony Mack [Fri, 3 Feb 2012 21:08:55 +0000 (16:08 -0500)]
added get_sliver_id()

12 years agoreplace wrap_context with NovaDB class
Tony Mack [Fri, 3 Feb 2012 19:53:17 +0000 (14:53 -0500)]
replace wrap_context with NovaDB class