sfa.git
3 years agono longer buildrequires nor requires pip2 packages python2
Thierry Parmentelat [Wed, 11 Nov 2020 09:33:25 +0000 (10:33 +0100)]
no longer buildrequires nor requires pip2 packages
this means the tests will need to pip2 install stuff if/as needed

3 years agono wsdl in resulting rpm either
Thierry Parmentelat [Tue, 10 Nov 2020 16:03:25 +0000 (17:03 +0100)]
no wsdl in resulting rpm either

3 years agono longer build wsld
Thierry Parmentelat [Tue, 10 Nov 2020 16:02:10 +0000 (17:02 +0100)]
no longer build wsld

3 years agoremove unexistent rpms from BuildRequires:
Thierry Parmentelat [Tue, 10 Nov 2020 15:17:04 +0000 (16:17 +0100)]
remove unexistent rpms from BuildRequires:

3 years agofix specfile - inline comments are not welcome
Thierry Parmentelat [Tue, 10 Nov 2020 09:30:49 +0000 (10:30 +0100)]
fix specfile - inline comments are not welcome

3 years agotweaks for f31/33
Thierry Parmentelat [Mon, 9 Nov 2020 19:57:36 +0000 (20:57 +0100)]
tweaks for f31/33

4 years agomore about using python2
Thierry Parmentelat [Wed, 26 Feb 2020 16:05:15 +0000 (17:05 +0100)]
more about using python2

4 years agospecify python2
Thierry Parmentelat [Wed, 26 Feb 2020 16:00:20 +0000 (17:00 +0100)]
specify python2

4 years agomore tweaks for f31/py2
Thierry Parmentelat [Wed, 26 Feb 2020 15:55:24 +0000 (16:55 +0100)]
more tweaks for f31/py2

4 years agomake sure to use python2 in specfile
Thierry Parmentelat [Wed, 26 Feb 2020 15:48:10 +0000 (16:48 +0100)]
make sure to use python2 in specfile

4 years agopatch for dealing with clients that don't set a component_id
Thierry Parmentelat [Wed, 24 Apr 2019 08:07:35 +0000 (10:07 +0200)]
patch for dealing with clients that don't set a component_id
when talking to a single-node testbed like R2lab

5 years agoreplace old-school % with format()
Thierry Parmentelat [Wed, 17 Apr 2019 15:16:17 +0000 (17:16 +0200)]
replace old-school % with format()

5 years agorun daemons as python3 -u so that stdout is unbuffered
Thierry Parmentelat [Tue, 9 Apr 2019 16:57:09 +0000 (18:57 +0200)]
run daemons as python3 -u so that stdout is unbuffered
and shows up asap in journalctl

5 years agoserver instances also log onto stdout for journalctl to handle
Thierry Parmentelat [Mon, 1 Apr 2019 14:49:40 +0000 (16:49 +0200)]
server instances also log onto stdout for journalctl to handle

5 years agomake syncbin to also push keyconvert.py
Thierry Parmentelat [Fri, 29 Mar 2019 15:21:46 +0000 (16:21 +0100)]
make syncbin to also push keyconvert.py

5 years agoexplicitly refer to python2 sfa-4.0.3
Thierry Parmentelat [Thu, 28 Mar 2019 14:19:51 +0000 (15:19 +0100)]
explicitly refer to python2

5 years agorpm scriptlets need to return 0
Thierry Parmentelat [Thu, 28 Mar 2019 14:19:29 +0000 (15:19 +0100)]
rpm scriptlets need to return 0

5 years agoa PlShell object, when plc_direct_access is False, is now created with SSL verificati...
Thierry Parmentelat [Wed, 27 Mar 2019 16:00:53 +0000 (17:00 +0100)]
a PlShell object, when plc_direct_access is False, is now created with SSL verification turned off

5 years agoSetting tag sfa-4.0-2 sfa-4.0-2
Thierry Parmentelat [Mon, 7 Jan 2019 10:54:50 +0000 (11:54 +0100)]
Setting tag sfa-4.0-2
have shebangs mention python2 since it is what this version runs on
use rpm names in python2-something for expressing dependencies
remove build dependency to python-setuptools
Handle C-BAS hrn format with "\" (Loic)
sfa-start does not daemonize anymore (this is handled by systemd)
a little nicer logs when troubleshooting auth issues
use systemctl in Makefile when syncing

5 years agomore package names in python2-
parmentelat [Tue, 11 Dec 2018 13:04:58 +0000 (14:04 +0100)]
more package names in python2-

5 years agorpm names in python2-*
parmentelat [Tue, 11 Dec 2018 09:01:00 +0000 (10:01 +0100)]
rpm names in python2-*

5 years agoshebangs need to point at python2
parmentelat [Tue, 11 Dec 2018 08:49:16 +0000 (09:49 +0100)]
shebangs need to point at python2

5 years agopylint-friendlier
Thierry Parmentelat [Tue, 2 Oct 2018 19:35:49 +0000 (21:35 +0200)]
pylint-friendlier

5 years agonicer logs
Thierry Parmentelat [Tue, 2 Oct 2018 19:34:10 +0000 (21:34 +0200)]
nicer logs

5 years agosmoothen error handling
Thierry Parmentelat [Tue, 2 Oct 2018 19:33:17 +0000 (21:33 +0200)]
smoothen error handling

5 years agotweak make sync target, overdue after some cleanup (sfa-cm) and move to systemctl
Thierry Parmentelat [Tue, 2 Oct 2018 19:32:40 +0000 (21:32 +0200)]
tweak make sync target, overdue after some cleanup (sfa-cm) and move to systemctl

5 years agoremove --daemon option to sfa-start
Thierry Parmentelat [Sun, 16 Sep 2018 13:05:18 +0000 (15:05 +0200)]
remove --daemon option to sfa-start

5 years agoMerge branch 'master' of ssh://git.onelab.eu/git/sfa
Loic Baron [Fri, 28 Sep 2018 12:33:39 +0000 (14:33 +0200)]
Merge branch 'master' of ssh://git.onelab.eu/git/sfa

5 years agoHandle C-BAS hrn format with "\"
Loic Baron [Fri, 28 Sep 2018 12:30:56 +0000 (14:30 +0200)]
Handle C-BAS hrn format with "\"

5 years agoSetting tag sfa-4.0-1 sfa-4.0-1
Thierry Parmentelat [Wed, 30 May 2018 09:17:59 +0000 (11:17 +0200)]
Setting tag sfa-4.0-1
systemd service files install in /lib instead of /usr/lib for ubuntus
removed all features relating to slice manager
removed all features relating to component manager

5 years agoMerge branch 'nocomponent' into geni-v3
Thierry Parmentelat [Wed, 30 May 2018 08:34:34 +0000 (10:34 +0200)]
Merge branch 'nocomponent' into geni-v3

5 years agoMerge branch 'noslicemgr' into geni-v3
Thierry Parmentelat [Wed, 30 May 2018 07:37:44 +0000 (09:37 +0200)]
Merge branch 'noslicemgr' into geni-v3

5 years agoMerge branch 'noslicemgr' into nocomponent
Thierry Parmentelat [Tue, 29 May 2018 09:47:02 +0000 (11:47 +0200)]
Merge branch 'noslicemgr' into nocomponent

5 years agouse /lib/systemd instead of /usr/lib/systemd for ubuntu
Thierry Parmentelat [Tue, 29 May 2018 09:41:27 +0000 (11:41 +0200)]
use /lib/systemd instead of /usr/lib/systemd for ubuntu

5 years agocosmetic change for fitting in page
Thierry Parmentelat [Tue, 29 May 2018 09:36:47 +0000 (11:36 +0200)]
cosmetic change for fitting in page

5 years agodeepen slicemgr cleanup
Thierry Parmentelat [Tue, 29 May 2018 09:10:00 +0000 (11:10 +0200)]
deepen slicemgr cleanup

5 years agorough cleanup of component manager
Thierry Parmentelat [Tue, 29 May 2018 08:05:03 +0000 (10:05 +0200)]
rough cleanup of component manager

5 years agorough cleanup of the slicemanager business
Thierry Parmentelat [Tue, 29 May 2018 07:31:25 +0000 (09:31 +0200)]
rough cleanup of the slicemanager business

5 years agomigration scripts in specfile for upgrade and uninstall now use systemctl
Thierry Parmentelat [Tue, 29 May 2018 06:54:24 +0000 (08:54 +0200)]
migration scripts in specfile for upgrade and uninstall now use systemctl

5 years agoslightly more reliable setup script to mess with postgresql config
Thierry Parmentelat [Mon, 28 May 2018 14:55:14 +0000 (16:55 +0200)]
slightly more reliable setup script to mess with postgresql config

5 years agoSetting tag sfa-4.0-0 sfa-4.0-0
Thierry Parmentelat [Mon, 28 May 2018 10:57:49 +0000 (12:57 +0200)]
Setting tag sfa-4.0-0
expose geni_api_versions as https://
avoid publishing non-relevant entries in GetVersion
fixes in the IoT-lab driver (thanks Loic)
reviewed logging policy, less awkward and more reliable; /var/log/sfa{,-import}.log should now be alive and time rotate
rewrote init-style startup script into systemd-native services: sfa-aggregate and sfa-registry, that both depend on sfa-db
huge cleanup, removed everything related to init.d; debian; flash-policy; max aggregate; federica, openstack/nova and nitos drivers

5 years agothe big cleanup: remove unused relating to nitos
Thierry Parmentelat [Mon, 28 May 2018 06:40:14 +0000 (08:40 +0200)]
the big cleanup: remove unused relating to nitos

5 years agothe big cleanup: remove unused code relating to openstack/nova
Thierry Parmentelat [Mon, 28 May 2018 06:45:04 +0000 (08:45 +0200)]
the big cleanup: remove unused code relating to openstack/nova

5 years agothe big cleanup: deprecate federica driver
Thierry Parmentelat [Sun, 27 May 2018 12:19:02 +0000 (14:19 +0200)]
the big cleanup: deprecate federica driver

5 years agothe big cleanup: remove max aggregate manager
Thierry Parmentelat [Sun, 27 May 2018 12:12:14 +0000 (14:12 +0200)]
the big cleanup: remove max aggregate manager

5 years agothe big cleanup: no more flash policy
Thierry Parmentelat [Sun, 27 May 2018 12:10:38 +0000 (14:10 +0200)]
the big cleanup: no more flash policy

5 years agofix a few bogus dates in specfile
Thierry Parmentelat [Mon, 28 May 2018 08:11:58 +0000 (10:11 +0200)]
fix a few bogus dates in specfile

5 years agodo not restart postgresql, just send SIGHUP signal thanks to pg_ctl reload
Thierry Parmentelat [Mon, 28 May 2018 02:50:28 +0000 (04:50 +0200)]
do not restart postgresql, just send SIGHUP signal thanks to pg_ctl reload

5 years agosfa-config-tty can do r(estart) and R(eload) again
Thierry Parmentelat [Sun, 27 May 2018 11:43:06 +0000 (13:43 +0200)]
sfa-config-tty can do r(estart) and R(eload) again

5 years agofix dependencies, add .service
Thierry Parmentelat [Sun, 27 May 2018 08:23:58 +0000 (10:23 +0200)]
fix dependencies, add .service

5 years agothe big cleanup : prune init.d/ and debian/ subdirs altogether
Thierry Parmentelat [Sat, 26 May 2018 07:52:01 +0000 (09:52 +0200)]
the big cleanup : prune init.d/ and debian/ subdirs altogether

5 years agofirst fixes in the systemd/ area
Thierry Parmentelat [Sat, 26 May 2018 07:42:38 +0000 (09:42 +0200)]
first fixes in the systemd/ area

5 years agofix packaging
Thierry Parmentelat [Fri, 25 May 2018 16:20:20 +0000 (18:20 +0200)]
fix packaging

5 years agoless aggressive config of pg_hba.conf
Thierry Parmentelat [Fri, 25 May 2018 16:16:31 +0000 (18:16 +0200)]
less aggressive config of pg_hba.conf
that could previously have side-effects on other databases like myplc's

5 years agopackaging to ship with systemd services and script
Thierry Parmentelat [Fri, 25 May 2018 14:53:26 +0000 (16:53 +0200)]
packaging to ship with systemd services and script

5 years agoEOL spaces (thanks atom)
Thierry Parmentelat [Fri, 25 May 2018 14:53:04 +0000 (16:53 +0200)]
EOL spaces (thanks atom)

5 years agovery rough systemd services and script
Thierry Parmentelat [Fri, 25 May 2018 14:51:40 +0000 (16:51 +0200)]
very rough systemd services and script

5 years agobugfix in certificate management, add str() conversion for safety
Thierry Parmentelat [Fri, 25 May 2018 14:20:06 +0000 (16:20 +0200)]
bugfix in certificate management, add str() conversion for safety

5 years agosfaadmin reg import writes on stdout if DEBUG is set
Thierry Parmentelat [Fri, 25 May 2018 14:18:18 +0000 (16:18 +0200)]
sfaadmin reg import writes on stdout if DEBUG is set

5 years agono change, removed EOL spaces
Thierry Parmentelat [Fri, 25 May 2018 14:16:47 +0000 (16:16 +0200)]
no change, removed EOL spaces

5 years agofix in logging: actually store importer logs in /var/log
Thierry Parmentelat [Fri, 25 May 2018 08:23:06 +0000 (10:23 +0200)]
fix in logging: actually store importer logs in /var/log

5 years agofix logging: do not create a 'ignored' file when using a console
Thierry Parmentelat [Fri, 25 May 2018 08:22:07 +0000 (10:22 +0200)]
fix logging: do not create a 'ignored'  file when using a console

5 years agonicer layout; no change but for info() messages to back down as debug()
Thierry Parmentelat [Fri, 25 May 2018 08:21:05 +0000 (10:21 +0200)]
nicer layout; no change but for info() messages to back down as debug()

5 years agouse time-rotating logs
Thierry Parmentelat [Thu, 24 May 2018 13:00:56 +0000 (15:00 +0200)]
use time-rotating logs

5 years agoavoid as much as possible accessing logger through class instances, whenever that...
Thierry Parmentelat [Thu, 24 May 2018 12:02:08 +0000 (14:02 +0200)]
avoid as much as possible accessing logger through class instances, whenever that looked safe
however, this remains as-is in all importers, as well as sfaclientlib/manifolduploader

5 years agorefactored sfalogging to be less awkward and more reliable
Thierry Parmentelat [Thu, 24 May 2018 11:21:25 +0000 (13:21 +0200)]
refactored sfalogging to be less awkward and more reliable

5 years agoavoid using logger.log_exc_critical (will go away) and logger.warn (obsolete)
Thierry Parmentelat [Thu, 24 May 2018 11:18:18 +0000 (13:18 +0200)]
avoid using logger.log_exc_critical (will go away) and logger.warn (obsolete)

5 years agostill more pep8
Thierry Parmentelat [Thu, 24 May 2018 11:12:27 +0000 (13:12 +0200)]
still more pep8

5 years agomore pep8-friendly
parmentelat [Wed, 23 May 2018 21:40:12 +0000 (23:40 +0200)]
more pep8-friendly

5 years agoadd .auto* in gitignore
parmentelat [Wed, 23 May 2018 21:30:20 +0000 (23:30 +0200)]
add .auto* in gitignore

5 years agoFIT IoT-Lab driver: fixed add_user when user login not found
Loic Baron [Fri, 18 May 2018 11:02:24 +0000 (13:02 +0200)]
FIT IoT-Lab driver: fixed add_user when user login not found

5 years agoMerge branch 'master' of git://git.onelab.eu/sfa
Loic Baron [Fri, 18 May 2018 10:22:47 +0000 (12:22 +0200)]
Merge branch 'master' of git://git.onelab.eu/sfa

5 years agoFIT IoT-Lab aggregate: fixed archi and radio format
Loic Baron [Fri, 18 May 2018 10:22:31 +0000 (12:22 +0200)]
FIT IoT-Lab aggregate: fixed archi and radio format

5 years agoFIT IoT-Lab shell: modified add_user category of user is required
Loic Baron [Fri, 18 May 2018 10:21:38 +0000 (12:21 +0200)]
FIT IoT-Lab shell: modified add_user category of user is required

5 years agominor and harmless cosmetic changes
parmentelat [Wed, 16 May 2018 10:13:11 +0000 (12:13 +0200)]
minor and harmless cosmetic changes

5 years agohave geni_api_versions for AM to use https as well
parmentelat [Fri, 4 May 2018 12:49:04 +0000 (14:49 +0200)]
have geni_api_versions for AM to use https as well

5 years agoavoid publishing non-relevant entries in GetVersion
parmentelat [Fri, 4 May 2018 10:22:52 +0000 (12:22 +0200)]
avoid publishing non-relevant entries in GetVersion

5 years agoexpose geni_api_versions URL as https since this it does not make sense to run sfa...
parmentelat [Fri, 4 May 2018 08:50:30 +0000 (10:50 +0200)]
expose geni_api_versions URL as https since this it does not make sense to run sfa on http

5 years agoharmless changes by atom and for pylint
parmentelat [Fri, 4 May 2018 09:31:46 +0000 (11:31 +0200)]
harmless changes by atom and for pylint

5 years agotypo in comment
parmentelat [Fri, 4 May 2018 08:49:48 +0000 (10:49 +0200)]
typo in comment

6 years agoSetting tag sfa-3.1-22 sfa-3.1-22
parmentelat [Fri, 16 Mar 2018 18:30:40 +0000 (19:30 +0100)]
Setting tag sfa-3.1-22
pl: tweaks for exposing country / city on nodes from site tags if set
pl: tweaks for exposing hardware_types on nodes from node tag 'hardware_type' if set
pl: fix exposing granularity
sfaresetgids.py: a utility to reset gids when a update of the tolpevel gis is needed
iotlab: various tweaks
patch backported from plcapi about issues with xmlrpc and unicode under fedora >= 24

6 years agothe hardware_types in a node rspec is now built by
parmentelat [Fri, 16 Mar 2018 14:58:15 +0000 (15:58 +0100)]
the hardware_types in a node rspec is now built by
* first looking for the 'hardware_type' tag on the node; if found this ends up in hardware_types (as a single entry)
* otherwise the former hard-wired default, suitable for plain planetlab, is used

6 years agofix exposing granularity in a node rspec
parmentelat [Fri, 16 Mar 2018 14:56:16 +0000 (15:56 +0100)]
fix exposing granularity in a node rspec

6 years agocode for exposing country & city for a site
parmentelat [Fri, 16 Mar 2018 08:50:09 +0000 (09:50 +0100)]
code for exposing country & city for a site
this applies only to sites that have a latitude and longitude
in this case, the 'country' and 'city' site tags are used; they are set to 'unknown' otherwise

6 years agoFIT IoT-Lab optimized get_users with email filter
Loic Baron [Fri, 9 Feb 2018 17:27:55 +0000 (18:27 +0100)]
FIT IoT-Lab optimized get_users with email filter

6 years agoMerge branch 'master' of git://git.onelab.eu/sfa
Loic Baron [Fri, 9 Feb 2018 17:09:28 +0000 (18:09 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa

6 years agoFIT IoT-Lab optimized get_users with email filter
Loic Baron [Fri, 9 Feb 2018 16:46:51 +0000 (17:46 +0100)]
FIT IoT-Lab optimized get_users with email filter

6 years agoMerge branch 'master' of git://git.onelab.eu/sfa
Loic Baron [Fri, 9 Feb 2018 16:39:16 +0000 (17:39 +0100)]
Merge branch 'master' of git://git.onelab.eu/sfa

6 years agoFIT IoT-Lab requires organization of new users: generate one from the urn
Loic Baron [Tue, 6 Feb 2018 16:25:10 +0000 (17:25 +0100)]
FIT IoT-Lab requires organization of new users: generate one from the urn

6 years agoFIT IoT-Lab requires organization of new users: generate one from the urn
Loic Baron [Tue, 6 Feb 2018 15:58:19 +0000 (16:58 +0100)]
FIT IoT-Lab requires organization of new users: generate one from the urn

6 years agoFIT IoT-Lab - fixed create user on the fly if coming from trusted Federation
Loic Baron [Mon, 22 May 2017 14:17:26 +0000 (16:17 +0200)]
FIT IoT-Lab - fixed create user on the fly if coming from trusted Federation

6 years agoMerge branch 'master' of git://git.onelab.eu/sfa
Loic Baron [Mon, 22 May 2017 13:52:38 +0000 (15:52 +0200)]
Merge branch 'master' of git://git.onelab.eu/sfa

Conflicts:
sfa/iotlab/iotlabshell.py

6 years agoFIT IoT-Lab - create user on the fly if coming from trusted Federation
Loic Baron [Mon, 22 May 2017 13:39:59 +0000 (15:39 +0200)]
FIT IoT-Lab - create user on the fly if coming from trusted Federation

7 years agoRemove: getCredential only if necessary to contact peers
Loic Baron [Wed, 29 Mar 2017 10:37:20 +0000 (12:37 +0200)]
Remove: getCredential only if necessary to contact peers

7 years agoreset gids passing urn to get the correct type
Loic Baron [Thu, 16 Feb 2017 05:26:55 +0000 (06:26 +0100)]
reset gids passing urn to get the correct type

7 years agosfaresetgids updated to reset the slice GIDs
Loic Baron [Fri, 10 Feb 2017 08:37:21 +0000 (09:37 +0100)]
sfaresetgids updated to reset the slice GIDs

7 years agoMerge branch 'geni-v3' of git://git.onelab.eu/sfa into geni-v3
Loic Baron [Fri, 10 Feb 2017 02:58:20 +0000 (03:58 +0100)]
Merge branch 'geni-v3' of git://git.onelab.eu/sfa into geni-v3

7 years agostricter pep8 mostly for line width
Thierry Parmentelat [Thu, 9 Feb 2017 16:09:32 +0000 (17:09 +0100)]
stricter pep8 mostly for line width

7 years agocosmetic & rename str into string
Thierry Parmentelat [Thu, 9 Feb 2017 15:27:56 +0000 (16:27 +0100)]
cosmetic & rename str into string

7 years agohierarchy.create_auth returns new gid
Thierry Parmentelat [Thu, 9 Feb 2017 15:27:31 +0000 (16:27 +0100)]
hierarchy.create_auth returns new gid