Tony Mack [Mon, 6 Aug 2012 00:21:23 +0000 (20:21 -0400)]
fix strings in output_shell
Tony Mack [Mon, 6 Aug 2012 00:09:28 +0000 (20:09 -0400)]
fix out output_shell handles bools
Tony Mack [Sun, 5 Aug 2012 23:28:56 +0000 (19:28 -0400)]
cast port to int
Tony Mack [Sun, 5 Aug 2012 18:08:17 +0000 (14:08 -0400)]
fix TypeError
Tony Mack [Fri, 3 Aug 2012 02:05:49 +0000 (22:05 -0400)]
fix list_slices
Tony Mack [Fri, 3 Aug 2012 01:49:55 +0000 (21:49 -0400)]
fix node urn in manifest rspec
Tony Mack [Fri, 3 Aug 2012 01:41:32 +0000 (21:41 -0400)]
fix TypeError
Tony Mack [Fri, 3 Aug 2012 01:13:07 +0000 (21:13 -0400)]
fix AttributeError
Tony Mack [Fri, 3 Aug 2012 01:05:11 +0000 (21:05 -0400)]
fix AttributeError
Tony Mack [Fri, 3 Aug 2012 01:03:57 +0000 (21:03 -0400)]
instance metadata must be a string
Sandrine Avakian [Thu, 2 Aug 2012 13:05:58 +0000 (15:05 +0200)]
Removed custom timeslot used for senslab Rspec.
Sandrine Avakian [Wed, 1 Aug 2012 14:55:08 +0000 (16:55 +0200)]
Removed custom timeslot and duration to make a reservation on OAR.
Now using SFA format with leases to make reservation.
Refactored code: Shrinked LaunchExperimentOnOAR and created new functions
to create the request, process the walltime, configure the experiment
and launch senslab experiment using the java lib.
Launching an experiment asap still possible, although this is not supposed
to be used in SFA.
Tony Mack [Tue, 31 Jul 2012 16:18:18 +0000 (12:18 -0400)]
add_leases(), get_leases()
Sandrine Avakian [Fri, 27 Jul 2012 14:38:13 +0000 (16:38 +0200)]
Corrected error in GetLeases which was causing reservation list to be empty
whenever leases where filtered using a slice name.
Implemented DeleteLeases in SlabDriver.
Corrected verify_slice_leases according to the new prototype of
DeleteLeases.
Sandrine Avakian [Fri, 27 Jul 2012 12:30:28 +0000 (14:30 +0200)]
Removed module usage sfa.planetlab.plxrn from senslab files.
Created slab_xrn_to_hostname and slab_xrn_object in slabaggregate to get urn
from hrn / hostnames and authorities to replace PlXrn usage.
Corrected component_manager in rspec which was including senslab's sites
as authorities.
Sandrine Avakian [Fri, 27 Jul 2012 08:35:46 +0000 (10:35 +0200)]
Getting reserved node now handles the case where reservation
are defined as "as soon as possible" and do not have information
on scheduled start and resources.
Please enter the commit message for your changes. Lines starting
Sandrine Avakian [Wed, 25 Jul 2012 14:53:36 +0000 (16:53 +0200)]
Fixed bug : sfi.py show <node_hrn> was not working because
the hrn was wrong in the sfa db (escape'\' characters inserted
and not removed from the hrn).
Fixed node hrn generation in slabimporter and OARrestapi
resulted in remving sfa.planetlab.plxrn PlXrn module from these
2 files.
Sandrine Avakian [Tue, 24 Jul 2012 13:36:33 +0000 (15:36 +0200)]
Weird bug when only cleaning slabimporter.py.
Better forget it for now.
Revert "Cleaning slabimporter.py - STEP 1"
This reverts commit
e5b6a06ff6494a320eea8e126c37c3411bf90014.
Sandrine Avakian [Tue, 24 Jul 2012 12:44:02 +0000 (14:44 +0200)]
Cleaning slabimporter.py - STEP 1
Sandrine Avakian [Mon, 23 Jul 2012 13:51:19 +0000 (15:51 +0200)]
Fixed bug in list_slices. Slices'urn was not correct
because of the use of slicename_to_hrn from plaetlab,plxrn.
Sandrine Avakian [Mon, 23 Jul 2012 12:49:28 +0000 (14:49 +0200)]
Corrected bug in GetSlices. Now returns a list of dict of slice records
if no slice filter is provided (instead of a list of SQLAlchmey objects).
Sandrine Avakian [Mon, 23 Jul 2012 12:37:52 +0000 (14:37 +0200)]
Removed unused import from planetlab.plxrn in slab files.
Sandrine Avakian [Mon, 23 Jul 2012 09:16:16 +0000 (11:16 +0200)]
Added field position in Slab RSpec , which include posx , posy
and posz for each node.
Location field is supposed to hold the position of the senslab's
site (Grenoble, Strasbourg...).
Tony Mack [Sat, 21 Jul 2012 02:51:01 +0000 (22:51 -0400)]
whitespace
Tony Mack [Sat, 21 Jul 2012 02:49:54 +0000 (22:49 -0400)]
added copyright header
Tony Mack [Sat, 21 Jul 2012 02:48:15 +0000 (22:48 -0400)]
updated exception message
Tony Mack [Sat, 21 Jul 2012 02:45:33 +0000 (22:45 -0400)]
added copyright header
Tony Mack [Sat, 21 Jul 2012 02:44:14 +0000 (22:44 -0400)]
added copyright header
Tony Mack [Sat, 21 Jul 2012 02:43:16 +0000 (22:43 -0400)]
added copyright header
Tony Mack [Sat, 21 Jul 2012 02:42:06 +0000 (22:42 -0400)]
added copyright header
Tony Mack [Sat, 21 Jul 2012 02:37:13 +0000 (22:37 -0400)]
cleanup
Tony Mack [Sat, 21 Jul 2012 02:36:01 +0000 (22:36 -0400)]
added copyright header
Tony Mack [Sat, 21 Jul 2012 02:35:23 +0000 (22:35 -0400)]
cleanup exception message
Tony Mack [Sat, 21 Jul 2012 02:21:33 +0000 (22:21 -0400)]
whitespace
Tony Mack [Sat, 21 Jul 2012 02:20:36 +0000 (22:20 -0400)]
fix how geni_available option is processed
Tony Mack [Fri, 20 Jul 2012 15:16:21 +0000 (11:16 -0400)]
local config is stored in site_config not site
Tony Mack [Fri, 20 Jul 2012 15:07:43 +0000 (11:07 -0400)]
execute 'sfaadmin reg sync_db' on db_start()
Tony Mack [Fri, 20 Jul 2012 14:58:06 +0000 (10:58 -0400)]
added registry method sync_db
Tony Mack [Thu, 19 Jul 2012 16:37:25 +0000 (12:37 -0400)]
must explicitly catch ConfigParser.MissingSectionHeaderError
Sandrine Avakian [Thu, 19 Jul 2012 14:55:07 +0000 (16:55 +0200)]
Corrected stupid bug in POSTRequestToOARRestAPI.
Sandrine Avakian [Thu, 19 Jul 2012 14:45:57 +0000 (16:45 +0200)]
Added hardware_types in slab RSpec, as well as
connection information (login and ssh to the senslab info)
upon slice/job creation.
Tony Mack [Thu, 19 Jul 2012 14:25:51 +0000 (10:25 -0400)]
must explicitly catch ConfigParser.MissingSectionHeaderError
Tony Mack [Thu, 19 Jul 2012 14:01:34 +0000 (10:01 -0400)]
remove debugging output
Thierry Parmentelat [Wed, 18 Jul 2012 15:01:56 +0000 (17:01 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa
Tony Mack [Wed, 18 Jul 2012 15:32:28 +0000 (11:32 -0400)]
added encoding param to output_variables
Tony Mack [Wed, 18 Jul 2012 15:31:53 +0000 (11:31 -0400)]
fix bug in main()
Thierry Parmentelat [Wed, 18 Jul 2012 15:01:28 +0000 (17:01 +0200)]
yet another hotfix for the PL importer
root [Wed, 18 Jul 2012 14:22:26 +0000 (16:22 +0200)]
Merge remote-tracking branch 'local_master/master'
Tony Mack [Wed, 18 Jul 2012 14:56:56 +0000 (10:56 -0400)]
backup old config before upgrading
Thierry Parmentelat [Wed, 18 Jul 2012 14:21:45 +0000 (16:21 +0200)]
bugfix - needed by the PL importer when a person has a non-ssh key (like gpg)
savakian [Wed, 18 Jul 2012 11:35:27 +0000 (13:35 +0200)]
Corrected bug in bash_nukem .
Sandrine Avakian [Wed, 18 Jul 2012 11:02:01 +0000 (13:02 +0200)]
Files moved into /senslab/config/senslab or
/senslab/config/senslab2 folder.
Sandrine Avakian [Wed, 18 Jul 2012 09:29:12 +0000 (11:29 +0200)]
Modified bash_nukem to handle the different configs of
our 2 sfa vm (senslab and senslab2).
Added configuration files for sfa-vm (NT's vm) and created
folder to hold each different configuration fiels.
Thierry Parmentelat [Wed, 18 Jul 2012 09:04:15 +0000 (11:04 +0200)]
replace svn-expansed version strings with sfa.util.version.version_tag
Tony Mack [Wed, 18 Jul 2012 02:42:47 +0000 (22:42 -0400)]
added is_ini() and is_xml()
Tony Mack [Wed, 18 Jul 2012 02:42:19 +0000 (22:42 -0400)]
fix read_config()
Tony Mack [Tue, 17 Jul 2012 22:45:17 +0000 (18:45 -0400)]
add section for sface when upgrading configs
Thierry Parmentelat [Tue, 17 Jul 2012 21:48:27 +0000 (23:48 +0200)]
typos
Tony Mack [Tue, 17 Jul 2012 19:21:46 +0000 (15:21 -0400)]
added load_shell(). updated load(). Added 'strict' param to locate_varname()
Tony Mack [Tue, 17 Jul 2012 19:20:34 +0000 (15:20 -0400)]
added upgrade_config(), used to upgrade from shell to ini format
Tony Mack [Tue, 17 Jul 2012 16:30:46 +0000 (12:30 -0400)]
dont forget to return after setting value in prompt_variable
Sandrine Avakian [Tue, 17 Jul 2012 14:47:51 +0000 (16:47 +0200)]
Fixed GetLeases to handle unregisterd user.
Tony Mack [Tue, 17 Jul 2012 14:38:55 +0000 (10:38 -0400)]
add geni_expires to sliver_stauts result
Sandrine Avakian [Tue, 17 Jul 2012 14:11:50 +0000 (16:11 +0200)]
First draft,
Added specific senslab options in RSpec : mobile, radio and archi.
mobile is at the same level as the node hostname and component_id.
Radio and archi are inside hardware_type.
Done by using new class SlabNode along with new fields,
heriting from the Node class.
Sandrine Avakian [Tue, 17 Jul 2012 14:08:08 +0000 (16:08 +0200)]
Modified 'mobile' parameter of a node.
Value is set to string "False" or "True" instead
of integer.
Sandrine Avakian [Tue, 17 Jul 2012 14:06:31 +0000 (16:06 +0200)]
Corrected error in LdapFindUser when looking for a disabled
user in LDAP.
Thierry Parmentelat [Tue, 17 Jul 2012 12:22:57 +0000 (14:22 +0200)]
fix packaging
Tony Mack [Mon, 16 Jul 2012 19:24:58 +0000 (15:24 -0400)]
remove verbose
Tony Mack [Mon, 16 Jul 2012 19:23:36 +0000 (15:23 -0400)]
only strip whitespace from input
Tony Mack [Mon, 16 Jul 2012 16:19:41 +0000 (12:19 -0400)]
fix type bugs
Tony Mack [Mon, 16 Jul 2012 16:19:26 +0000 (12:19 -0400)]
fix type bugs
Tony Mack [Mon, 16 Jul 2012 15:39:00 +0000 (11:39 -0400)]
load sfa_config instead of sfa_config.py
Tony Mack [Mon, 16 Jul 2012 15:38:35 +0000 (11:38 -0400)]
install sfa-config
Tony Mack [Mon, 16 Jul 2012 15:38:16 +0000 (11:38 -0400)]
fixed list_categories
Tony Mack [Mon, 16 Jul 2012 15:37:55 +0000 (11:37 -0400)]
added sfa_data_dir option
Tony Mack [Mon, 16 Jul 2012 15:37:28 +0000 (11:37 -0400)]
added output_shell(), output_php(), output_python() and various other methods
Tony Mack [Mon, 16 Jul 2012 15:36:59 +0000 (11:36 -0400)]
use sfa-config instead of plc-config
Tony Mack [Mon, 16 Jul 2012 15:36:36 +0000 (11:36 -0400)]
initial checkin
Sandrine Avakian [Mon, 16 Jul 2012 14:11:34 +0000 (16:11 +0200)]
Adding sfi.py resources -rsla -l all
Slab Rspec display leases as well
Tony Mack [Sat, 14 Jul 2012 02:35:29 +0000 (22:35 -0400)]
remove myplc-config dependency
Sandrine Avakian [Fri, 13 Jul 2012 11:21:37 +0000 (13:21 +0200)]
Merge branch 'master' into senslab2
Sandrine Avakian [Fri, 13 Jul 2012 11:17:28 +0000 (13:17 +0200)]
Modified testsuite.
Thierry Parmentelat [Fri, 13 Jul 2012 07:27:37 +0000 (09:27 +0200)]
Merge branch 'upstreammaster'
Thierry Parmentelat [Fri, 13 Jul 2012 07:25:40 +0000 (09:25 +0200)]
thanks Sandrive
Sandrine Avakian [Thu, 12 Jul 2012 14:59:05 +0000 (16:59 +0200)]
Added duration calculation in slabaggregate.py /get_leases.
Sandrine Avakian [Thu, 12 Jul 2012 14:53:03 +0000 (16:53 +0200)]
Leases features up-to-date.
Using start-time and duration, as well as granularity.
DEfined new slabdriver function GetLeaseGranularity.
grain set to 60sec for Senslab.
Sandrine Avakian [Thu, 12 Jul 2012 13:17:25 +0000 (15:17 +0200)]
Fixed bug with __process_walltime (Function was
not considered as defined during runtime). Function is now
defined within LaunchExperimentOnOAR.
Cutting too long lines was not possible when using SQLalchemy queries.
Revert to "too long line" for some slab_dbsession.query queries.
Sandrine Avakian [Thu, 12 Jul 2012 12:27:07 +0000 (14:27 +0200)]
Merge branch 'master' into senslab2
Thierry Parmentelat [Wed, 11 Jul 2012 15:45:04 +0000 (17:45 +0200)]
Merge branch 'upstreammaster'
Thierry Parmentelat [Wed, 11 Jul 2012 15:42:38 +0000 (17:42 +0200)]
Setting tag sfa-2.1-13
bugfix that prevented to call 'sfi create' - (was broken in sfa-2.1-12)
sfi to remove expired credentials
Sandrine Avakian [Wed, 11 Jul 2012 14:23:04 +0000 (16:23 +0200)]
Corrected sfa_config/site.xml in bash_nukem
Thierry Parmentelat [Wed, 11 Jul 2012 14:11:06 +0000 (16:11 +0200)]
cosmetic
Thierry Parmentelat [Wed, 11 Jul 2012 14:09:05 +0000 (16:09 +0200)]
show warning message when deleting an expired credential
also pass right logger to SfaClientBootstrap so the msg shows up
Thierry Parmentelat [Wed, 11 Jul 2012 14:07:21 +0000 (16:07 +0200)]
renamed sfi commands create_gid -> gid & get_trusted_certs -> trusted
Thierry Parmentelat [Wed, 11 Jul 2012 12:50:24 +0000 (14:50 +0200)]
Merge branch 'upstreammaster'
Thierry Parmentelat [Wed, 11 Jul 2012 12:17:51 +0000 (14:17 +0200)]
bugfix, candidates needs to recognize an input when it exactly matches
Tony Mack [Tue, 10 Jul 2012 18:53:26 +0000 (14:53 -0400)]
remove expired credentials
Tony Mack [Tue, 10 Jul 2012 17:21:01 +0000 (13:21 -0400)]
Setting tag sfa-2.1-12
Tony Mack [Mon, 9 Jul 2012 13:16:56 +0000 (09:16 -0400)]
report status for each resrouce in SliverStatus
Thierry Parmentelat [Mon, 9 Jul 2012 10:22:33 +0000 (12:22 +0200)]
move candidates unit test where it belongs