sfa.git
11 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Thu, 30 Aug 2012 10:13:20 +0000 (12:13 +0200)]
Merge branch 'upstreammaster'

11 years agosleep in between polls
Tony Mack [Thu, 30 Aug 2012 03:14:39 +0000 (23:14 -0400)]
sleep in between polls

11 years agoin delete_instances(), wait until instance is destroyed until attempting to delete...
Tony Mack [Thu, 30 Aug 2012 03:01:25 +0000 (23:01 -0400)]
in delete_instances(), wait until instance is destroyed until attempting to delete instance's security groups. Wait for at most 10 seconds. Executes in a separate thread so main call is not blocked

11 years agopreserve node client id from request rspec
Tony Mack [Wed, 29 Aug 2012 22:01:49 +0000 (18:01 -0400)]
preserve node client id from request rspec

11 years agofix bugs: use sliver['name'] to get slice's name
Mohamed Larabi [Thu, 23 Aug 2012 10:46:48 +0000 (12:46 +0200)]
fix bugs: use sliver['name'] to get slice's name

11 years agoraise exception if security group creation fails
Tony Mack [Thu, 23 Aug 2012 02:49:49 +0000 (22:49 -0400)]
raise exception if security group creation fails

11 years agofix bug in get_slice_nodes
Tony Mack [Thu, 16 Aug 2012 22:43:56 +0000 (18:43 -0400)]
fix bug in get_slice_nodes

11 years ago-m workaround for instance public ip bug
Tony Mack [Thu, 16 Aug 2012 13:45:33 +0000 (09:45 -0400)]
-m workaround for instance public ip bug

11 years agoboot instances with the correct security group
Tony Mack [Wed, 15 Aug 2012 23:51:47 +0000 (19:51 -0400)]
boot instances with the correct security group

11 years agodelete an instances security groups when deleting the instance
Tony Mack [Wed, 15 Aug 2012 23:44:15 +0000 (19:44 -0400)]
delete an instances security groups when deleting the instance

11 years agoconnect to nova using the correct tenant when managing instances
Tony Mack [Tue, 14 Aug 2012 19:29:50 +0000 (15:29 -0400)]
connect to nova using the correct tenant when managing instances

11 years agoFix get_tenant_name()
Tony Mack [Tue, 14 Aug 2012 17:54:16 +0000 (13:54 -0400)]
Fix get_tenant_name()

11 years agogroup instances into tenants instead of running all instances in the admin tenant...
Tony Mack [Tue, 14 Aug 2012 16:45:04 +0000 (12:45 -0400)]
group instances into tenants instead of running all instances in the admin tenant. This fixes the quota problem

11 years agofix SliverStatus is esses openstack driver
Tony Mack [Tue, 14 Aug 2012 02:03:45 +0000 (22:03 -0400)]
fix SliverStatus is esses openstack driver

11 years agofix bug in run_instances
Tony Mack [Mon, 13 Aug 2012 22:46:49 +0000 (18:46 -0400)]
fix bug in run_instances

11 years agotry legacy user hrn format
Tony Mack [Mon, 13 Aug 2012 15:25:21 +0000 (11:25 -0400)]
try legacy user hrn format

11 years agofix urn support for sfi config
Tony Mack [Mon, 13 Aug 2012 14:39:02 +0000 (10:39 -0400)]
fix urn support for sfi config

11 years agofix delete_security_group()
Tony Mack [Mon, 6 Aug 2012 18:56:40 +0000 (14:56 -0400)]
fix delete_security_group()

11 years agofix add_rule_to_group
Tony Mack [Mon, 6 Aug 2012 18:51:04 +0000 (14:51 -0400)]
fix add_rule_to_group

11 years agodescription cannot be empty
Tony Mack [Mon, 6 Aug 2012 16:40:00 +0000 (12:40 -0400)]
description cannot be empty

11 years agofix variable name error
Mohamed Larabi [Mon, 6 Aug 2012 07:50:18 +0000 (09:50 +0200)]
fix variable name error

11 years agofix attribute error
Tony Mack [Mon, 6 Aug 2012 04:34:35 +0000 (00:34 -0400)]
fix attribute error

11 years agofix TypeError
Tony Mack [Mon, 6 Aug 2012 04:32:41 +0000 (00:32 -0400)]
fix TypeError

11 years agonormalize in init
Tony Mack [Mon, 6 Aug 2012 04:30:57 +0000 (00:30 -0400)]
normalize in init

11 years agoignore X509_V_ERR_CERT_SIGNATURE_FAILURE
Tony Mack [Mon, 6 Aug 2012 03:41:54 +0000 (23:41 -0400)]
ignore X509_V_ERR_CERT_SIGNATURE_FAILURE

11 years agorefactored
Tony Mack [Mon, 6 Aug 2012 03:39:47 +0000 (23:39 -0400)]
refactored

11 years agoupdated log message
Tony Mack [Mon, 6 Aug 2012 01:28:36 +0000 (21:28 -0400)]
updated log message

11 years agofix set_attributes
Tony Mack [Mon, 6 Aug 2012 01:17:47 +0000 (21:17 -0400)]
fix set_attributes

11 years agofix boolean checks
Tony Mack [Mon, 6 Aug 2012 01:17:24 +0000 (21:17 -0400)]
fix boolean checks

11 years agoupgrad local xml config to python config
Tony Mack [Mon, 6 Aug 2012 01:09:14 +0000 (21:09 -0400)]
upgrad local xml config to python config

11 years agofix bools in output_shell
Tony Mack [Mon, 6 Aug 2012 00:40:26 +0000 (20:40 -0400)]
fix bools in output_shell

11 years agofix strings in output_shell
Tony Mack [Mon, 6 Aug 2012 00:21:23 +0000 (20:21 -0400)]
fix strings in output_shell

11 years agofix out output_shell handles bools
Tony Mack [Mon, 6 Aug 2012 00:09:28 +0000 (20:09 -0400)]
fix out output_shell handles bools

11 years agocast port to int
Tony Mack [Sun, 5 Aug 2012 23:28:56 +0000 (19:28 -0400)]
cast port to int

11 years agofix TypeError
Tony Mack [Sun, 5 Aug 2012 18:08:17 +0000 (14:08 -0400)]
fix TypeError

11 years agofix list_slices
Tony Mack [Fri, 3 Aug 2012 02:05:49 +0000 (22:05 -0400)]
fix list_slices

11 years agofix node urn in manifest rspec
Tony Mack [Fri, 3 Aug 2012 01:49:55 +0000 (21:49 -0400)]
fix node urn in manifest rspec

11 years agofix TypeError
Tony Mack [Fri, 3 Aug 2012 01:41:32 +0000 (21:41 -0400)]
fix TypeError

11 years agofix AttributeError
Tony Mack [Fri, 3 Aug 2012 01:13:07 +0000 (21:13 -0400)]
fix AttributeError

11 years agofix AttributeError
Tony Mack [Fri, 3 Aug 2012 01:05:11 +0000 (21:05 -0400)]
fix AttributeError

11 years agoinstance metadata must be a string
Tony Mack [Fri, 3 Aug 2012 01:03:57 +0000 (21:03 -0400)]
instance metadata must be a string

11 years agoadd_leases(), get_leases()
Tony Mack [Tue, 31 Jul 2012 16:18:18 +0000 (12:18 -0400)]
add_leases(), get_leases()

11 years agowhitespace
Tony Mack [Sat, 21 Jul 2012 02:51:01 +0000 (22:51 -0400)]
whitespace

11 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:49:54 +0000 (22:49 -0400)]
added copyright header

11 years agoupdated exception message
Tony Mack [Sat, 21 Jul 2012 02:48:15 +0000 (22:48 -0400)]
updated exception message

11 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:45:33 +0000 (22:45 -0400)]
added copyright header

11 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:44:14 +0000 (22:44 -0400)]
added copyright header

11 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:43:16 +0000 (22:43 -0400)]
added copyright header

11 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:42:06 +0000 (22:42 -0400)]
added copyright header

11 years agocleanup
Tony Mack [Sat, 21 Jul 2012 02:37:13 +0000 (22:37 -0400)]
cleanup

11 years agoadded copyright header
Tony Mack [Sat, 21 Jul 2012 02:36:01 +0000 (22:36 -0400)]
added copyright header

11 years agocleanup exception message
Tony Mack [Sat, 21 Jul 2012 02:35:23 +0000 (22:35 -0400)]
cleanup exception message

11 years agowhitespace
Tony Mack [Sat, 21 Jul 2012 02:21:33 +0000 (22:21 -0400)]
whitespace

11 years agofix how geni_available option is processed
Tony Mack [Sat, 21 Jul 2012 02:20:36 +0000 (22:20 -0400)]
fix how geni_available option is processed

11 years agolocal config is stored in site_config not site
Tony Mack [Fri, 20 Jul 2012 15:16:21 +0000 (11:16 -0400)]
local config is stored in site_config not site

11 years agoexecute 'sfaadmin reg sync_db' on db_start()
Tony Mack [Fri, 20 Jul 2012 15:07:43 +0000 (11:07 -0400)]
execute 'sfaadmin reg sync_db' on db_start()

11 years agoadded registry method sync_db
Tony Mack [Fri, 20 Jul 2012 14:58:06 +0000 (10:58 -0400)]
added registry method sync_db

11 years agomust explicitly catch ConfigParser.MissingSectionHeaderError
Tony Mack [Thu, 19 Jul 2012 16:37:25 +0000 (12:37 -0400)]
must explicitly catch ConfigParser.MissingSectionHeaderError

11 years agomust explicitly catch ConfigParser.MissingSectionHeaderError
Tony Mack [Thu, 19 Jul 2012 14:25:51 +0000 (10:25 -0400)]
must explicitly catch ConfigParser.MissingSectionHeaderError

11 years agoremove debugging output
Tony Mack [Thu, 19 Jul 2012 14:01:34 +0000 (10:01 -0400)]
remove debugging output

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Thierry Parmentelat [Wed, 18 Jul 2012 15:01:56 +0000 (17:01 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

11 years agoadded encoding param to output_variables
Tony Mack [Wed, 18 Jul 2012 15:32:28 +0000 (11:32 -0400)]
added encoding param to output_variables

11 years agofix bug in main()
Tony Mack [Wed, 18 Jul 2012 15:31:53 +0000 (11:31 -0400)]
fix bug in main()

11 years agoyet another hotfix for the PL importer
Thierry Parmentelat [Wed, 18 Jul 2012 15:01:28 +0000 (17:01 +0200)]
yet another hotfix for the PL importer

11 years agoMerge remote-tracking branch 'local_master/master'
root [Wed, 18 Jul 2012 14:22:26 +0000 (16:22 +0200)]
Merge remote-tracking branch 'local_master/master'

11 years agobackup old config before upgrading
Tony Mack [Wed, 18 Jul 2012 14:56:56 +0000 (10:56 -0400)]
backup old config before upgrading

11 years agobugfix - needed by the PL importer when a person has a non-ssh key (like gpg)
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)

11 years agoreplace svn-expansed version strings with sfa.util.version.version_tag
Thierry Parmentelat [Wed, 18 Jul 2012 09:04:15 +0000 (11:04 +0200)]
replace svn-expansed version strings with sfa.util.version.version_tag

11 years agoadded is_ini() and is_xml()
Tony Mack [Wed, 18 Jul 2012 02:42:47 +0000 (22:42 -0400)]
added is_ini() and is_xml()

11 years agofix read_config()
Tony Mack [Wed, 18 Jul 2012 02:42:19 +0000 (22:42 -0400)]
fix read_config()

11 years agoadd section for sface when upgrading configs
Tony Mack [Tue, 17 Jul 2012 22:45:17 +0000 (18:45 -0400)]
add section for sface when upgrading configs

11 years agotypos
Thierry Parmentelat [Tue, 17 Jul 2012 21:48:27 +0000 (23:48 +0200)]
typos

11 years agoadded load_shell(). updated load(). Added 'strict' param to locate_varname()
Tony Mack [Tue, 17 Jul 2012 19:21:46 +0000 (15:21 -0400)]
added load_shell(). updated load(). Added 'strict' param to locate_varname()

11 years agoadded upgrade_config(), used to upgrade from shell to ini format
Tony Mack [Tue, 17 Jul 2012 19:20:34 +0000 (15:20 -0400)]
added upgrade_config(), used to upgrade from shell to ini format

11 years agodont forget to return after setting value in prompt_variable
Tony Mack [Tue, 17 Jul 2012 16:30:46 +0000 (12:30 -0400)]
dont forget to return after setting value in prompt_variable

11 years agoadd geni_expires to sliver_stauts result
Tony Mack [Tue, 17 Jul 2012 14:38:55 +0000 (10:38 -0400)]
add geni_expires to sliver_stauts result

11 years agofix packaging
Thierry Parmentelat [Tue, 17 Jul 2012 12:22:57 +0000 (14:22 +0200)]
fix packaging

11 years agoremove verbose
Tony Mack [Mon, 16 Jul 2012 19:24:58 +0000 (15:24 -0400)]
remove verbose

11 years agoonly strip whitespace from input
Tony Mack [Mon, 16 Jul 2012 19:23:36 +0000 (15:23 -0400)]
only strip whitespace from input

11 years agofix type bugs
Tony Mack [Mon, 16 Jul 2012 16:19:41 +0000 (12:19 -0400)]
fix type bugs

11 years agofix type bugs
Tony Mack [Mon, 16 Jul 2012 16:19:26 +0000 (12:19 -0400)]
fix type bugs

11 years agoload sfa_config instead of sfa_config.py
Tony Mack [Mon, 16 Jul 2012 15:39:00 +0000 (11:39 -0400)]
load sfa_config instead of sfa_config.py

11 years agoinstall sfa-config
Tony Mack [Mon, 16 Jul 2012 15:38:35 +0000 (11:38 -0400)]
install sfa-config

11 years agofixed list_categories
Tony Mack [Mon, 16 Jul 2012 15:38:16 +0000 (11:38 -0400)]
fixed list_categories

11 years agoadded sfa_data_dir option
Tony Mack [Mon, 16 Jul 2012 15:37:55 +0000 (11:37 -0400)]
added sfa_data_dir option

11 years agoadded output_shell(), output_php(), output_python() and various other methods
Tony Mack [Mon, 16 Jul 2012 15:37:28 +0000 (11:37 -0400)]
added output_shell(), output_php(), output_python() and various other methods

11 years agouse sfa-config instead of plc-config
Tony Mack [Mon, 16 Jul 2012 15:36:59 +0000 (11:36 -0400)]
use sfa-config instead of plc-config

11 years agoinitial checkin
Tony Mack [Mon, 16 Jul 2012 15:36:36 +0000 (11:36 -0400)]
initial checkin

11 years agoremove myplc-config dependency
Tony Mack [Sat, 14 Jul 2012 02:35:29 +0000 (22:35 -0400)]
remove myplc-config dependency

11 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Fri, 13 Jul 2012 07:27:37 +0000 (09:27 +0200)]
Merge branch 'upstreammaster'

11 years agothanks Sandrive
Thierry Parmentelat [Fri, 13 Jul 2012 07:25:40 +0000 (09:25 +0200)]
thanks Sandrive

11 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 11 Jul 2012 15:45:04 +0000 (17:45 +0200)]
Merge branch 'upstreammaster'

11 years agoSetting tag sfa-2.1-13 sfa-2.1-13
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

11 years agocosmetic
Thierry Parmentelat [Wed, 11 Jul 2012 14:11:06 +0000 (16:11 +0200)]
cosmetic

11 years agoshow warning message when deleting an expired credential
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

11 years agorenamed sfi commands create_gid -> gid & get_trusted_certs -> trusted
Thierry Parmentelat [Wed, 11 Jul 2012 14:07:21 +0000 (16:07 +0200)]
renamed sfi commands create_gid -> gid & get_trusted_certs -> trusted

11 years agoMerge branch 'upstreammaster'
Thierry Parmentelat [Wed, 11 Jul 2012 12:50:24 +0000 (14:50 +0200)]
Merge branch 'upstreammaster'

11 years agobugfix, candidates needs to recognize an input when it exactly matches
Thierry Parmentelat [Wed, 11 Jul 2012 12:17:51 +0000 (14:17 +0200)]
bugfix, candidates needs to recognize an input when it exactly matches

11 years agoremove expired credentials
Tony Mack [Tue, 10 Jul 2012 18:53:26 +0000 (14:53 -0400)]
remove expired credentials

11 years agoSetting tag sfa-2.1-12 sfa-2.1-12
Tony Mack [Tue, 10 Jul 2012 17:21:01 +0000 (13:21 -0400)]
Setting tag sfa-2.1-12