sfa.git
12 years agofix NameError
Tony Mack [Fri, 3 Feb 2012 19:13:54 +0000 (14:13 -0500)]
fix NameError

12 years agorenamed verify_users() to verify_slice_users()
Tony Mack [Fri, 3 Feb 2012 19:12:01 +0000 (14:12 -0500)]
renamed verify_users() to verify_slice_users()

12 years agoset config flags before instantiating nova service managers
Tony Mack [Fri, 3 Feb 2012 19:11:32 +0000 (14:11 -0500)]
set config flags before instantiating nova service managers

12 years agouse default aggregate manager. OpenstackDriver renamed to NovaDriver
Tony Mack [Fri, 3 Feb 2012 19:10:30 +0000 (14:10 -0500)]
use default aggregate manager. OpenstackDriver renamed to NovaDriver

12 years agorenamed class NovaDriver
Tony Mack [Fri, 3 Feb 2012 19:06:15 +0000 (14:06 -0500)]
renamed class NovaDriver

12 years agostart to deal with plc roles
Thierry Parmentelat [Fri, 3 Feb 2012 10:56:31 +0000 (11:56 +0100)]
start to deal with plc roles

12 years agothis sounds like a bug
Thierry Parmentelat [Fri, 3 Feb 2012 10:09:19 +0000 (11:09 +0100)]
this sounds like a bug

12 years agostore incoming keys when adding a user record
Thierry Parmentelat [Fri, 3 Feb 2012 08:46:51 +0000 (09:46 +0100)]
store incoming keys when adding a user record

12 years agobugfix, need some discipline on naming relationship columns to avoid
Thierry Parmentelat [Fri, 3 Feb 2012 08:24:57 +0000 (09:24 +0100)]
bugfix, need some discipline on naming relationship columns to avoid
conflict with other areas of the code, like loading from xml records
or the like

12 years agoMerge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy
Thierry Parmentelat [Thu, 2 Feb 2012 23:50:54 +0000 (00:50 +0100)]
Merge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy

12 years agothe model can store keys and email - import keys and email from plcapi
Thierry Parmentelat [Thu, 2 Feb 2012 23:50:27 +0000 (00:50 +0100)]
the model can store keys  and email - import keys and email from plcapi

12 years agoimplemented verify_slice, verify_users, verify_user_keys
Tony Mack [Thu, 2 Feb 2012 20:09:24 +0000 (15:09 -0500)]
implemented verify_slice, verify_users, verify_user_keys

12 years agoupdate nova shell refrences
Tony Mack [Thu, 2 Feb 2012 17:57:44 +0000 (12:57 -0500)]
update nova shell refrences

12 years agowe still need a refrence to the nova.db for managing keys
Tony Mack [Thu, 2 Feb 2012 17:57:17 +0000 (12:57 -0500)]
we still need a refrence to the nova.db for managing keys

12 years agoupdated logging message
Tony Mack [Thu, 2 Feb 2012 17:40:39 +0000 (12:40 -0500)]
updated logging message

12 years ago- renaming OpenstackDriver to NovaDriver and OpenstackShell to NovaShell
Tony Mack [Thu, 2 Feb 2012 17:39:29 +0000 (12:39 -0500)]
- renaming OpenstackDriver to NovaDriver and OpenstackShell to NovaShell

12 years agorephrase openstack import messages
Thierry Parmentelat [Thu, 2 Feb 2012 14:38:54 +0000 (15:38 +0100)]
rephrase openstack import messages

12 years agorephrase import messages
Thierry Parmentelat [Thu, 2 Feb 2012 14:38:26 +0000 (15:38 +0100)]
rephrase import messages

12 years agodeclare some methods. will implement later
Tony Mack [Wed, 1 Feb 2012 22:13:23 +0000 (17:13 -0500)]
declare some methods. will implement later

12 years agocleanup
Tony Mack [Wed, 1 Feb 2012 22:12:51 +0000 (17:12 -0500)]
cleanup

12 years agowhitespace
Tony Mack [Wed, 1 Feb 2012 22:12:26 +0000 (17:12 -0500)]
whitespace

12 years agofix bug when raising PermissionError
Tony Mack [Wed, 1 Feb 2012 22:12:16 +0000 (17:12 -0500)]
fix bug when raising PermissionError

12 years agoMerge branch 'master' into sqlalchemy - solved totally harmless
Thierry Parmentelat [Wed, 1 Feb 2012 17:38:27 +0000 (18:38 +0100)]
Merge branch 'master' into sqlalchemy - solved totally harmless
conflict in sfa/openstack/openstack_driver.py

12 years agofix bug in init
Tony Mack [Wed, 1 Feb 2012 02:56:50 +0000 (21:56 -0500)]
fix bug in init

12 years agofix bugs
Tony Mack [Wed, 1 Feb 2012 02:56:31 +0000 (21:56 -0500)]
fix bugs

12 years agoinstance_to_sliver() missing reference to self
Tony Mack [Wed, 1 Feb 2012 02:35:46 +0000 (21:35 -0500)]
instance_to_sliver() missing reference to self

12 years agofix AttributeError
Tony Mack [Wed, 1 Feb 2012 02:22:47 +0000 (21:22 -0500)]
fix AttributeError

12 years agoinitial checkin
Tony Mack [Wed, 1 Feb 2012 02:16:52 +0000 (21:16 -0500)]
initial checkin

12 years agoinitial checkin
Tony Mack [Wed, 1 Feb 2012 02:15:57 +0000 (21:15 -0500)]
initial checkin

12 years agoimplement list_resources, list_slivers, stop, delte_sliver
Tony Mack [Wed, 1 Feb 2012 02:14:09 +0000 (21:14 -0500)]
implement list_resources, list_slivers, stop, delte_sliver

12 years agoadded fields
Tony Mack [Wed, 1 Feb 2012 02:10:48 +0000 (21:10 -0500)]
added fields

12 years agofix flag file arg
Tony Mack [Wed, 1 Feb 2012 02:05:13 +0000 (21:05 -0500)]
fix flag file arg

12 years agoMerge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy
Thierry Parmentelat [Tue, 31 Jan 2012 16:04:50 +0000 (17:04 +0100)]
Merge branch 'sqlalchemy' of ssh://git.onelab.eu/git/sfa into sqlalchemy

12 years agogid filename had name and 'user' swapped
Thierry Parmentelat [Tue, 31 Jan 2012 16:04:31 +0000 (17:04 +0100)]
gid filename had name and 'user' swapped

12 years agotypo
Thierry Parmentelat [Tue, 31 Jan 2012 16:02:31 +0000 (17:02 +0100)]
typo

12 years agoload flags from nova.config
Tony Mack [Tue, 31 Jan 2012 02:04:59 +0000 (21:04 -0500)]
load flags from nova.config

12 years agoSetting tag sfa-2.1-1 sfa-2.1-1
Thierry Parmentelat [Fri, 27 Jan 2012 17:07:30 +0000 (18:07 +0100)]
Setting tag sfa-2.1-1
uses sqlalchemy and related migrate
thorough migration and upgrade scheme
sfa-import.py and sfa-nuke.py (no more -plc), uses FLAVOUR
trashed dbinfo stuff in auth hierarchy
data model still has little more than plain records
checkpoint tag, not yet intended for release

12 years agotrash dbinfo stuff
Thierry Parmentelat [Fri, 27 Jan 2012 15:43:57 +0000 (16:43 +0100)]
trash dbinfo stuff

12 years agomanual merge of the openstack importer
Thierry Parmentelat [Fri, 27 Jan 2012 14:57:45 +0000 (15:57 +0100)]
manual merge of the openstack importer

12 years agoplaceholder
Thierry Parmentelat [Fri, 27 Jan 2012 14:05:17 +0000 (15:05 +0100)]
placeholder

12 years agoimporter revisited - sfa-import.py sfa-nuke.py (no more -plc)
Thierry Parmentelat [Fri, 27 Jan 2012 14:03:20 +0000 (15:03 +0100)]
importer revisited - sfa-import.py sfa-nuke.py (no more -plc)
testbed-dependant importer located through the FLAVOUR mechanism

12 years agomerge master again (2.0-10 changelog only)
Thierry Parmentelat [Fri, 27 Jan 2012 10:36:57 +0000 (11:36 +0100)]
merge master again (2.0-10 changelog only)

12 years agobump to 2.1, upgrades tested, fix minor bugs and doc
Thierry Parmentelat [Fri, 27 Jan 2012 10:26:57 +0000 (11:26 +0100)]
bump to 2.1, upgrades tested, fix minor bugs and doc

12 years agoshould be able to upgrade from any version
Thierry Parmentelat [Thu, 26 Jan 2012 18:39:54 +0000 (19:39 +0100)]
should be able to upgrade from any version

12 years agoMoved computation of hrn on the OARrestapi level.
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.

12 years agorenamed persistentobjs into model
Thierry Parmentelat [Thu, 26 Jan 2012 14:39:21 +0000 (15:39 +0100)]
renamed persistentobjs into model

12 years agocosmetic
Thierry Parmentelat [Thu, 26 Jan 2012 14:35:51 +0000 (15:35 +0100)]
cosmetic

12 years agotrash old db code
Thierry Parmentelat [Thu, 26 Jan 2012 14:33:45 +0000 (15:33 +0100)]
trash old db code

12 years agogetting closer to a working packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:17:12 +0000 (21:17 +0100)]
getting closer to a working packaging

12 years agoagain
Thierry Parmentelat [Wed, 25 Jan 2012 20:14:12 +0000 (21:14 +0100)]
again

12 years agoagain
Thierry Parmentelat [Wed, 25 Jan 2012 20:11:02 +0000 (21:11 +0100)]
again

12 years agotentatively fix packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:09:27 +0000 (21:09 +0100)]
tentatively fix packaging

12 years agoadd a file in migrations/versions for the packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:04:02 +0000 (21:04 +0100)]
add a file in migrations/versions for the packaging

12 years agoadd support for migrations with sqlalchemy-migrate
Thierry Parmentelat [Wed, 25 Jan 2012 19:42:50 +0000 (20:42 +0100)]
add support for migrations with sqlalchemy-migrate
(no actual script for now)

12 years agocosmetic before-migrate
Thierry Parmentelat [Wed, 25 Jan 2012 16:40:44 +0000 (17:40 +0100)]
cosmetic

12 years agoCleaned GetJobs.
Sandrine Avakian [Wed, 25 Jan 2012 14:42:17 +0000 (15:42 +0100)]
Cleaned GetJobs.

12 years agoModification of get_slice_and_slivers to have the full hrn of the node.
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.

12 years agoSetting tag sfa-2.0-10 sfa-2.0-10
Tony Mack [Wed, 25 Jan 2012 13:59:07 +0000 (08:59 -0500)]
Setting tag sfa-2.0-10

12 years agoClean up of Getslices.
Sandrine Avakian [Wed, 25 Jan 2012 10:27:40 +0000 (11:27 +0100)]
Clean up of Getslices.

12 years agoGetSlices fix 1.
Sandrine Avakian [Wed, 25 Jan 2012 10:24:50 +0000 (11:24 +0100)]
GetSlices fix 1.

12 years agoRemoved unused functions in OARapi( Get*FromOARParse).
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.

12 years agosuggest to user __repr__
Thierry Parmentelat [Tue, 24 Jan 2012 14:14:06 +0000 (15:14 +0100)]
suggest to user __repr__

12 years agoreviewed openstack importer
Thierry Parmentelat [Tue, 24 Jan 2012 13:38:51 +0000 (14:38 +0100)]
reviewed openstack importer

12 years agoCleaned OARapi file. Removed class OARapi.
Sandrine Avakian [Tue, 24 Jan 2012 13:11:45 +0000 (14:11 +0100)]
Cleaned OARapi file. Removed class OARapi.
Added GetJobId

12 years agoMerge branch 'master' into sqlalchemy
Thierry Parmentelat [Tue, 24 Jan 2012 12:23:50 +0000 (13:23 +0100)]
Merge branch 'master' into sqlalchemy

Conflicts:
sfa/managers/registry_manager_openstack.py

12 years agoThrash commit between cleaning OARrestapi and adding job features...
Sandrine Avakian [Tue, 24 Jan 2012 09:33:40 +0000 (10:33 +0100)]
Thrash commit between cleaning OARrestapi and  adding job features...

12 years agoInitial checkin
Tony Mack [Mon, 23 Jan 2012 17:42:24 +0000 (12:42 -0500)]
Initial checkin

12 years agoreviewed openstack driver - was fine except for a spurrious import of sfatables
Thierry Parmentelat [Mon, 23 Jan 2012 15:48:01 +0000 (16:48 +0100)]
reviewed openstack driver - was fine except for a spurrious import of sfatables

12 years agomerged sqlalchemy into registry for openstack; turns out to be
Thierry Parmentelat [Mon, 23 Jan 2012 15:47:25 +0000 (16:47 +0100)]
merged sqlalchemy into registry for openstack; turns out to be
identical to plain registry...

12 years agomore tweaks in the make sync* targets
Thierry Parmentelat [Mon, 23 Jan 2012 15:44:37 +0000 (16:44 +0100)]
more tweaks in the make sync* targets

12 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/sfa
Tony Mack [Sat, 21 Jan 2012 01:00:57 +0000 (20:00 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/sfa

12 years agofix NameError
Tony Mack [Sat, 21 Jan 2012 01:00:43 +0000 (20:00 -0500)]
fix NameError

12 years agoadd another column in RegRecord, separate from 'type' to act as a discriminator
Thierry Parmentelat [Fri, 20 Jan 2012 14:38:35 +0000 (15:38 +0100)]
add another column in RegRecord, separate from 'type' to act as a discriminator
remove the RegAuthority* subclasses and use RegAuthority instead

12 years agofix wrong import that triggers on site without sfatables installed
Thierry Parmentelat [Fri, 20 Jan 2012 14:37:07 +0000 (15:37 +0100)]
fix wrong import that triggers on site without sfatables installed

12 years agominor cleanup in the use of Rec*
Thierry Parmentelat [Fri, 20 Jan 2012 11:04:03 +0000 (12:04 +0100)]
minor cleanup in the use of Rec*

12 years agorename the authority+* types as non temporary
Thierry Parmentelat [Fri, 20 Jan 2012 09:38:36 +0000 (10:38 +0100)]
rename the authority+* types as non temporary

12 years agocosmetic
Thierry Parmentelat [Fri, 20 Jan 2012 09:37:00 +0000 (10:37 +0100)]
cosmetic

12 years agosymbols starting with __ are reserved
Thierry Parmentelat [Fri, 20 Jan 2012 09:36:24 +0000 (10:36 +0100)]
symbols starting with __ are reserved

12 years agoMinor bug fix
Andrew Bavier [Thu, 19 Jan 2012 20:00:09 +0000 (15:00 -0500)]
Minor bug fix

12 years agomissing import for RecordNotFound
Thierry Parmentelat [Thu, 19 Jan 2012 18:42:42 +0000 (19:42 +0100)]
missing import for RecordNotFound

12 years agoturn creation of records authority+* back on, needed when issuing credentials
Thierry Parmentelat [Thu, 19 Jan 2012 18:42:16 +0000 (19:42 +0100)]
turn creation of records authority+* back on, needed when issuing credentials

12 years agouse inheritance to model the various kinds of RegRecords
Thierry Parmentelat [Thu, 19 Jan 2012 17:34:49 +0000 (18:34 +0100)]
use inheritance to model the various kinds of RegRecords

12 years agomore modulra make sync* targets
Thierry Parmentelat [Thu, 19 Jan 2012 17:34:01 +0000 (18:34 +0100)]
more modulra make sync* targets

12 years agouse session.delete(x) rather than del x
Thierry Parmentelat [Thu, 19 Jan 2012 17:33:42 +0000 (18:33 +0100)]
use session.delete(x) rather than del x

12 years agotypo
Thierry Parmentelat [Thu, 19 Jan 2012 17:29:05 +0000 (18:29 +0100)]
typo

12 years agogetting closer - far from perfect but tests should pass after-alchemy-1
Thierry Parmentelat [Thu, 19 Jan 2012 09:59:33 +0000 (10:59 +0100)]
getting closer - far from perfect but tests should pass

12 years agoadd dependency to sqlalchemy-migrate (rpm python-migrate)
Thierry Parmentelat [Thu, 19 Jan 2012 09:14:27 +0000 (10:14 +0100)]
add dependency to sqlalchemy-migrate (rpm python-migrate)

12 years agoadded -R --raw command line option that allows client to specify whether to display...
Tony Mack [Wed, 18 Jan 2012 17:29:17 +0000 (12:29 -0500)]
added -R --raw command line option that allows client to specify whether to display the raw server response or just the value of the response

12 years agoTony fix to the sfa- start bug when aggregates.xml holds peer information .
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 .

12 years agovarious tweaks around using records; the client-side is still broken
Thierry Parmentelat [Wed, 18 Jan 2012 12:09:10 +0000 (13:09 +0100)]
various tweaks around using records; the client-side is still broken

12 years agomake persistentobjs loadable from the client-side
Thierry Parmentelat [Wed, 18 Jan 2012 10:59:43 +0000 (11:59 +0100)]
make persistentobjs loadable from the client-side

12 years agoaddressing some of the remaining occurrences of SfaRecord
Thierry Parmentelat [Wed, 18 Jan 2012 09:52:58 +0000 (10:52 +0100)]
addressing some of the remaining occurrences of SfaRecord

12 years agoremove redundant implementation
Tony Mack [Wed, 18 Jan 2012 02:10:25 +0000 (21:10 -0500)]
remove redundant implementation

12 years agonot necessary
Tony Mack [Wed, 18 Jan 2012 02:09:52 +0000 (21:09 -0500)]
not necessary

12 years agoget correct path to server key and cert
Tony Mack [Wed, 18 Jan 2012 02:00:05 +0000 (21:00 -0500)]
get correct path to server key and cert

12 years agofix bug in install_peer_certs
Tony Mack [Wed, 18 Jan 2012 01:56:19 +0000 (20:56 -0500)]
fix bug in install_peer_certs

12 years agosql schema is managed under sqlalchemy, no need for the .sql file anymore
Thierry Parmentelat [Tue, 17 Jan 2012 19:28:07 +0000 (20:28 +0100)]
sql schema is managed under sqlalchemy, no need for the .sql file anymore

12 years agofilter.py is no longer used
Thierry Parmentelat [Tue, 17 Jan 2012 17:10:38 +0000 (18:10 +0100)]
filter.py is no longer used

12 years agonon-relevant hit for SfaTable
Thierry Parmentelat [Tue, 17 Jan 2012 15:51:13 +0000 (16:51 +0100)]
non-relevant hit for SfaTable

12 years agofewer uses of SfaTable
Thierry Parmentelat [Tue, 17 Jan 2012 15:48:31 +0000 (16:48 +0100)]
fewer uses of SfaTable