python-TSD.git
2 years agoimport_alt and export_alt directories are now created and logged master
Vegard Korvald [Mon, 20 Jun 2016 09:20:35 +0000]
import_alt and export_alt directories are now created and logged

2 years agoUse the correct program name in the usage message.
Dag-Erling Smørgrav [Tue, 19 Apr 2016 10:08:30 +0000]
Use the correct program name in the usage message.

2 years agoProcess projects in numerical order. This makes no practical difference, but is...
Dag-Erling Smørgrav [Tue, 19 Apr 2016 10:08:13 +0000]
Process projects in numerical order.  This makes no practical difference, but is more logical when debugging.

2 years agoLet the import and export directories be owned by the project's tsdfx user. This...
Dag-Erling Smørgrav [Tue, 19 Apr 2016 10:07:02 +0000]
Let the import and export directories be owned by the project's tsdfx user.  This allows the tsdfx scanner to run as that user instead of root.

2 years agoRelease version 0.14. release-0.14
Petter Reinholdtsen [Tue, 29 Mar 2016 11:19:00 +0000]
Release version 0.14.

2 years agoRelease version 0.13.
Petter Reinholdtsen [Tue, 29 Mar 2016 11:16:23 +0000]
Release version 0.13.

2 years agoAdd new tool tsd-role2hosts.
Petter Reinholdtsen [Fri, 18 Mar 2016 13:38:24 +0000]
Add new tool tsd-role2hosts.

2 years agoAdded functionality for video import.
Vegard Korvald [Thu, 3 Sep 2015 07:34:55 +0000]
Added functionality for video import.

2 years agoInclude tsd-shared-setup in RPM.
Petter Reinholdtsen [Mon, 15 Feb 2016 14:00:33 +0000]
Include tsd-shared-setup in RPM.

2 years agoOnly set stick group bit on directories, not files.
Petter Reinholdtsen [Mon, 15 Feb 2016 13:59:24 +0000]
Only set stick group bit on directories, not files.

Setting it on files might cause problems with perl scripts (See RT
#2029800) and security issues with executables.

2 years agoAdd script currently in production.
Petter Reinholdtsen [Mon, 15 Feb 2016 13:55:45 +0000]
Add script currently in production.

3 years agocommon.py: fixed some function names
Martin S. Benonisen [Fri, 15 Jan 2016 11:58:50 +0000]
common.py: fixed some function names

3 years agoFix another typo and document source location.
Petter Reinholdtsen [Thu, 3 Dec 2015 13:29:57 +0000]
Fix another typo and document source location.

3 years agoFix a typo and allow dryrun to work without the destination directory present.
Petter Reinholdtsen [Thu, 3 Dec 2015 13:24:11 +0000]
Fix a typo and allow dryrun to work without the destination directory present.

3 years agoFirst draft script to migrate nettskjema files from import to data/durable/sns/.
Petter Reinholdtsen [Thu, 3 Dec 2015 13:13:50 +0000]
First draft script to migrate nettskjema files from import to data/durable/sns/.

3 years agoMerge branch 'master' of git.uio.no:python-TSD
Martin S. Benonisen [Mon, 9 Nov 2015 13:12:52 +0000]
Merge branch 'master' of git.uio.no:python-TSD

3 years agoimport socket, and fix error in ip2host
Martin S. Benonisen [Mon, 9 Nov 2015 12:55:54 +0000]
import socket, and fix error in ip2host

3 years agoimport socket
Martin S. Benonisen [Mon, 9 Nov 2015 12:55:54 +0000]
import socket

3 years agoip2host: fixed so that only vlan is returned if no other network information is...
Martin S. Benonisen [Mon, 9 Nov 2015 12:55:17 +0000]
ip2host: fixed so that only vlan is  returned if no other network information is available

3 years agoip2host: fixed scoping issue for ipv4 and ipv6
Martin S. Benonisen [Mon, 9 Nov 2015 11:55:31 +0000]
ip2host: fixed scoping issue for ipv4 and ipv6

3 years agoMerge branch 'master' of git.uio.no:python-TSD
Martin S. Benonisen [Mon, 9 Nov 2015 11:52:40 +0000]
Merge branch 'master' of git.uio.no:python-TSD

3 years agoip2host: added more flexibility
Martin S. Benonisen [Mon, 9 Nov 2015 11:52:16 +0000]
ip2host: added more flexibility

3 years agoImprove log messages.
Petter Reinholdtsen [Mon, 9 Nov 2015 11:48:37 +0000]
Improve log messages.

3 years agoAdded some flexibility to ip2host
Martin S. Benonisen [Mon, 9 Nov 2015 11:46:55 +0000]
Added some flexibility to ip2host

3 years agoMerge branch 'master' of git.uio.no:python-TSD
Martin S. Benonisen [Mon, 9 Nov 2015 11:11:36 +0000]
Merge branch 'master' of git.uio.no:python-TSD

Conflicts:
lib/TSD/common.py

3 years agocommon.py: Added function for fetching network information about a host
Martin S. Benonisen [Mon, 9 Nov 2015 11:01:47 +0000]
common.py: Added function for fetching network information about a host

3 years agocommon.py: Added function for fetching network information about a host
Martin S. Benonisen [Mon, 9 Nov 2015 11:01:47 +0000]
common.py: Added function for fetching network information about a host

3 years agoLog when home directories are created.
Petter Reinholdtsen [Thu, 8 Oct 2015 08:55:40 +0000]
Log when home directories are created.

3 years agoMake sure the requested IPv6 gateway reply to ping before creating. release-0.13
Petter Reinholdtsen [Fri, 25 Sep 2015 10:42:23 +0000]
Make sure the requested IPv6 gateway reply to ping before creating.

This make sure machines are not created before their default gateway
interface is set up on their vlan.  Creating machines before the
gateway is ready causes machine creation to fail.

3 years agotsd-virtcreate-rhel7: fixed typo
Martin [Mon, 31 Aug 2015 11:57:03 +0000]
tsd-virtcreate-rhel7: fixed typo

3 years agotsd-virtcreate-rhel7: added modification of tsd-virtcreate which creates rhel7 vms
Martin [Thu, 27 Aug 2015 09:08:46 +0000]
tsd-virtcreate-rhel7: added modification of tsd-virtcreate which creates rhel7 vms

3 years agoFix some typos.
Petter Reinholdtsen [Wed, 26 Aug 2015 19:18:23 +0000]
Fix some typos.

3 years agoFirst version of script to add/remove hosts on fx03.
Petter Reinholdtsen [Fri, 21 Aug 2015 07:01:27 +0000]
First version of script to add/remove hosts on fx03.

3 years agoRelease version 0.12. release-0.12
Petter Reinholdtsen [Tue, 19 May 2015 12:23:58 +0000]
Release version 0.12.

3 years agoAdd support for the upcoming alternate file lock.
Dag-Erling Smørgrav [Tue, 5 May 2015 14:09:14 +0000]
Add support for the upcoming alternate file lock.

3 years agoImport fx directory creation script and update setup.py.
Dag-Erling Smørgrav [Tue, 5 May 2015 14:08:55 +0000]
Import fx directory creation script and update setup.py.

3 years agoRelease version 0.11. release-0.11
Petter Reinholdtsen [Fri, 8 May 2015 07:53:43 +0000]
Release version 0.11.

3 years agoCorrect site admin.
Petter Reinholdtsen [Mon, 4 May 2015 11:52:18 +0000]
Correct site admin.

3 years agoChange directory and group name for the fx03 group.
Petter Reinholdtsen [Thu, 30 Apr 2015 06:51:24 +0000]
Change directory and group name for the fx03 group.

3 years agoDocument why flag files might be in two locations.
Petter Reinholdtsen [Fri, 17 Apr 2015 11:14:22 +0000]
Document why flag files might be in two locations.

3 years agoFigure out if a project should use colossus and the internal fx
Petter Reinholdtsen [Fri, 17 Apr 2015 10:47:27 +0000]
Figure out if a project should use colossus and the internal fx
service by looking up netgroups (pxx-hpc-user-group for colossos,
pxx-fx-internal-group for internal fx) instead of looking for
directories.

3 years agoHandle new flag file location pxx/data/durable/projectinfo/ (as well
Petter Reinholdtsen [Wed, 15 Apr 2015 10:59:44 +0000]
Handle new flag file location pxx/data/durable/projectinfo/ (as well
as the old location pxx/) and only operate on directories where the
HNAS admins already created data/durable/, as agreed with Helge a few
days ago.

3 years agoRelease version 0.10.
Petter Reinholdtsen [Tue, 14 Apr 2015 11:45:15 +0000]
Release version 0.10.

3 years agoOnly create VMs for disabled computer objects.
Petter Reinholdtsen [Tue, 14 Apr 2015 11:37:03 +0000]
Only create VMs for disabled computer objects.

Cerebrum create disabled computer objects, while Windows machines joined
into the AD domain have enabled computer objects.  This change make sure
we avoid trying to create already created Windows machines.

3 years agoRaise error and exit if vmware fail to return list of existing hosts.
Petter Reinholdtsen [Wed, 8 Apr 2015 07:44:20 +0000]
Raise error and exit if vmware fail to return list of existing hosts.

Do not try to create machines when unable to get the list of VMWare
machines from orchestrator, as it is not safe to assume orchestrator
will do nothing when trying to create machines that already exist.

3 years agoHandle the new NFS export names.
Petter Reinholdtsen [Tue, 7 Apr 2015 09:30:34 +0000]
Handle the new NFS export names.

3 years agoAdd new partition setup, named project-share for sharing data from one
Petter Reinholdtsen [Mon, 9 Mar 2015 12:48:42 +0000]
Add new partition setup, named project-share for sharing data from one
project to another.

3 years agoLink to API doc.
Petter Reinholdtsen [Fri, 27 Feb 2015 12:11:16 +0000]
Link to API doc.

3 years agoRelease version 0.9.
Petter Reinholdtsen [Thu, 26 Feb 2015 14:44:16 +0000]
Release version 0.9.

3 years agoFix some typos.
Petter Reinholdtsen [Thu, 26 Feb 2015 14:37:55 +0000]
Fix some typos.

3 years agoRelease version 0.8.
Petter Reinholdtsen [Thu, 26 Feb 2015 13:53:06 +0000]
Release version 0.8.

3 years agoRewrite to use the same config file as the tsd-virtcreate script.
Petter Reinholdtsen [Thu, 26 Feb 2015 13:46:20 +0000]
Rewrite to use the same config file as the tsd-virtcreate script.

3 years agoRename config file from .cfg to .ini, to make it more obvious what the format is.
Petter Reinholdtsen [Thu, 26 Feb 2015 13:45:57 +0000]
Rename config file from .cfg to .ini, to make it more obvious what the format is.

3 years agoRelease version 0.7.
Petter Reinholdtsen [Tue, 24 Feb 2015 13:32:18 +0000]
Release version 0.7.

3 years agoRemove bin/tsd-ldap2cfengine.
Petter Reinholdtsen [Tue, 24 Feb 2015 12:39:31 +0000]
Remove bin/tsd-ldap2cfengine.

The task is now handled by a script in the cfengine git repo.

3 years agoRemove script bin/iptables_setup.pl.
Petter Reinholdtsen [Tue, 24 Feb 2015 12:37:56 +0000]
Remove script bin/iptables_setup.pl.

It is now part of the tsd-common package.

3 years agoRewrite to handle the subnet information in the LDAP attribute networkAddress.
Petter Reinholdtsen [Tue, 24 Feb 2015 08:22:58 +0000]
Rewrite to handle the subnet information in the LDAP attribute networkAddress.

3 years agoSort list of VMWare machines when listing the existing ones.
Petter Reinholdtsen [Tue, 24 Feb 2015 08:22:05 +0000]
Sort list of VMWare machines when listing the existing ones.

3 years agoiptables_setup.pl: added syslogging
Martin [Thu, 19 Feb 2015 11:44:14 +0000]
iptables_setup.pl: added syslogging

3 years agoiptables_setup.pl: added code description
Martin [Wed, 4 Feb 2015 12:36:12 +0000]
iptables_setup.pl: added code description

3 years agoiptables_setup.pl: rules are now matched against current ruleset and directly stored...
Martin [Tue, 27 Jan 2015 12:58:59 +0000]
iptables_setup.pl: rules are now matched against current ruleset and directly stored using iptables-restore and iptables-save

4 years agoiptables_setup.pl: now applies and saves tables
Martin [Fri, 23 Jan 2015 11:27:45 +0000]
iptables_setup.pl: now applies and saves tables

4 years agoiptables_setup.pl: should now be working, will have to discuss the logic with DES
Martin [Fri, 23 Jan 2015 10:49:50 +0000]
iptables_setup.pl: should now be working, will have to discuss the logic with DES

4 years agoUpdated iptables_setup.pl
Martin [Thu, 22 Jan 2015 10:59:34 +0000]
Updated iptables_setup.pl

4 years agoDocument that bin/tsd-ldap2cfengine is obsolete.
Petter Reinholdtsen [Thu, 15 Jan 2015 15:07:41 +0000]
Document that bin/tsd-ldap2cfengine is obsolete.

4 years agoadded perlscript for setting up iptables in TSD
Martin [Thu, 8 Jan 2015 10:31:57 +0000]
added perlscript for setting up iptables in TSD

4 years agoMerge branch 'master' of git.uio.no:python-TSD
Martin [Tue, 6 Jan 2015 08:56:35 +0000]
Merge branch 'master' of git.uio.no:python-TSD

4 years agotemplate name is now fetched from config file in /etc/tsd-virtcreate/templates
Martin [Tue, 6 Jan 2015 08:56:20 +0000]
template name is now fetched from config file in /etc/tsd-virtcreate/templates

4 years agoThrow exception if a host is missing vlan info in LDAP. Improve error
Petter Reinholdtsen [Tue, 6 Jan 2015 08:45:43 +0000]
Throw exception if a host is missing vlan info in LDAP.  Improve error
handling and reporting a bit.

4 years agoAlways log when changing password.
Petter Reinholdtsen [Tue, 16 Dec 2014 11:57:10 +0000]
Always log when changing password.

4 years agoChange project directory permissions to prevent users from inadvertantly making them...
Dag-Erling Smørgrav [Mon, 15 Dec 2014 17:16:38 +0000]
Change project directory permissions to prevent users from inadvertantly making them world-readable.

4 years agoRelease version 0.6.
Petter Reinholdtsen [Fri, 14 Nov 2014 18:51:15 +0000]
Release version 0.6.

4 years agoTypo.
Petter Reinholdtsen [Fri, 14 Nov 2014 18:44:15 +0000]
Typo.

4 years agoTypo.
Petter Reinholdtsen [Fri, 14 Nov 2014 18:40:55 +0000]
Typo.

4 years agoFix typos in syslog handling.
Petter Reinholdtsen [Fri, 14 Nov 2014 12:03:34 +0000]
Fix typos in syslog handling.

4 years agoNew version 0.5.
Petter Reinholdtsen [Fri, 14 Nov 2014 10:58:04 +0000]
New version 0.5.

4 years agoAdd new script tsd-virtcreate-autochpwd to package. vmware-connect
Petter Reinholdtsen [Fri, 14 Nov 2014 10:47:49 +0000]
Add new script tsd-virtcreate-autochpwd to package.

4 years agoAdd script to change password on user with password on disk.
Petter Reinholdtsen [Fri, 14 Nov 2014 10:46:53 +0000]
Add script to change password on user with password on disk.

4 years agoRemove obsolete and misleading comment.
Petter Reinholdtsen [Fri, 14 Nov 2014 10:40:17 +0000]
Remove obsolete and misleading comment.

4 years agoNoen endret VMWare-navn fra kortnavn til FQDN i testkoden på
Petter Reinholdtsen [Fri, 14 Nov 2014 09:52:38 +0000]
Noen endret VMWare-navn fra kortnavn til FQDN i testkoden på
rhevm-tsd.  Antar det betyr at vi bør bruke FQDN på VMWare.

4 years agoCorrect typo.
Petter Reinholdtsen [Fri, 14 Nov 2014 09:14:17 +0000]
Correct typo.

4 years agoHandle the fact that the vmware get_vms() function always return FQDN.
Petter Reinholdtsen [Thu, 13 Nov 2014 15:37:57 +0000]
Handle the fact that the vmware get_vms() function always return FQDN.

4 years agoMake orchestrator username configurable.
Petter Reinholdtsen [Thu, 13 Nov 2014 15:37:13 +0000]
Make orchestrator username configurable.

4 years agoUse short machine names in VMWare too when neeed.
Petter Reinholdtsen [Tue, 11 Nov 2014 12:07:41 +0000]
Use short machine names in VMWare too when neeed.
Use vmname not fqdn when creating VMWare machines to
make sure Windows machines get the short names.  Add check to reject
Windows machines with short names longer than 15 characters.

4 years agoMake password handling more robust.
Petter Reinholdtsen [Tue, 11 Nov 2014 10:34:05 +0000]
Make password handling more robust.
Do not crash if it is missing from environment.

4 years agoFix typo.
Petter Reinholdtsen [Tue, 11 Nov 2014 10:27:58 +0000]
Fix typo.

4 years agoRewrite password handling to fetch VMWare password from environment.
Petter Reinholdtsen [Tue, 11 Nov 2014 10:19:31 +0000]
Rewrite password handling to fetch VMWare password from environment.

4 years agoImprove log message when vmware fail to create machine.
Petter Reinholdtsen [Tue, 11 Nov 2014 10:19:04 +0000]
Improve log message when vmware fail to create machine.

4 years agoFix typo in vmware code.
Petter Reinholdtsen [Tue, 11 Nov 2014 10:18:33 +0000]
Fix typo in vmware code.

4 years agoCurrent draft.
Petter Reinholdtsen [Mon, 10 Nov 2014 21:22:06 +0000]
Current draft.

4 years agoMerged master.
Petter Reinholdtsen [Mon, 10 Nov 2014 14:55:39 +0000]
Merged master.

4 years agoMove vmware connector to library.
Petter Reinholdtsen [Mon, 10 Nov 2014 14:54:16 +0000]
Move vmware connector to library.

4 years agoMerge branch 'vmware-connect' of git.uio.no:python-TSD into vmware-connect
Petter Reinholdtsen [Mon, 10 Nov 2014 14:47:11 +0000]
Merge branch 'vmware-connect' of git.uio.no:python-TSD into vmware-connect

Conflicts:
bin/tsd-virtcreate

4 years agoGet vmware API limping along.
Petter Reinholdtsen [Mon, 10 Nov 2014 14:44:06 +0000]
Get vmware API limping along.

4 years agoUpdate to new API.
Petter Reinholdtsen [Mon, 10 Nov 2014 14:28:32 +0000]
Update to new API.

4 years agoAdjust to new API.
Petter Reinholdtsen [Mon, 10 Nov 2014 14:24:36 +0000]
Adjust to new API.

4 years agoMove VMware code to library directory and use it in tsd-virtcreate.
Petter Reinholdtsen [Mon, 10 Nov 2014 14:17:36 +0000]
Move VMware code to library directory and use it in tsd-virtcreate.

4 years agoSecond draft patch to enable vmware setup.
Petter Reinholdtsen [Thu, 30 Oct 2014 13:26:29 +0000]
Second draft patch to enable vmware setup.

4 years agoFirst draft for vmware creation.
Petter Reinholdtsen [Wed, 29 Oct 2014 13:35:48 +0000]
First draft for vmware creation.

4 years agofixed ip6prefixlen
Martin [Fri, 7 Nov 2014 09:58:04 +0000]
fixed ip6prefixlen