hubzero-submit-server (3.11.3-1+deb7) unstable; urgency=low

     - Detect client/server version mismatch. Reported as WARNING only. No action is taken.

 -- Steven Clark <clarksm@purdue.edu>  Thu, 30 Apr 2026 12:17:15 -0400

hubzero-submit-server (3.11.2-1) unstable; urgency=low

     - Use distributor runStatus as submit-server exit code.  Distributor determines the
       correct exit code redundant and parametric job submissions.

     - Make optional logging is rsyslog configuration JSON files. Allows for insertion
       of Ansible recognized text for templating purposes.

     - Do not configure distributor stdout/stderr to be sent to rsyslog.  This matches
       what distributor actually does - stdout/stderr are piped through submit-server.

 -- Steven Clark <clarksm@purdue.edu>  Mon, 16 Mar 2026 12:53:36 -0400

hubzero-submit-server (3.11.1-1) unstable; urgency=low

     - Move systemd unit files to separate directory
     - Run all daemon logging through rsyslog
     - Make way for systemd replacement for init.d

 -- Steven Clark <clarksm@purdue.edu>  Fri, 13 Feb 2026 11:02:22 -0400

hubzero-submit-server (3.10.1-1) unstable; urgency=low

     - Consolidate openLogger(), daemonize(), and writePIDFile() functions.
     - Add local execution operation mode.
     - Added option to enable/disable distributor, harvester, jobKill, jobStatus, venueStatus.
     - Updated default Pegasus version to 4.8.1
     - Set log level, log file, configuration file, through use of environment variables.
       The environment variables can be set in the unit service files.  This allows the same
       base to be used for multiple services.  Immediate use if for configuration of
       local only or restricted submit server.

 -- Steven Clark <clarksm@purdue.edu>  Wed, 10 Dec 2025 11:53:19 -0400

hubzero-submit-server (3.9.1-1) unstable; urgency=low

     - Increased verbosity for missing Peagsus files error message.

 -- Steven Clark <clarksm@purdue.edu>  Thu, 13 Nov 2025 14:02:55 -0400

hubzero-submit-server (3.8.2-1) unstable; urgency=low

     - 3.8.2 packaging

 -- Steven Clark <clarksm@purdue.edu>  Thu, 30 Oct 2025 13:50:33 -0400

hubzero-submit-server (3.8.1-1) unstable; urgency=low

     - Fix Pegasus version setting for venue status command.
     - Terminate detached job by removing unix socket from /tmp
       Intended use is for cleanup of abandoned jobs
     - Disable Pegasus by setting pegasusVersion = 0.0.0 in submit-client.conf
       The setting is still preempted by the use command setting.
     - Fix reporting of exit status for redundant jobs
     - Report job exit status as the exit status for distributor
       and record result in joblog
     - Cleanup job related scripts upon job termination
     - Treat aborted jobs as complete during job monitoring
     - Update read config files across the board to read dictionary
       values in JSON format
     - Preemptive change to strings containing deprecated backslash characters.
       In Python 3.12 the DeprecationWarning is upgraded to a SyntaxWarning.

 -- Steven Clark <clarksm@purdue.edu>  Tue, 26 Jun 2025 07:43:02 -0700

hubzero-submit-server (3.7.4-1) unstable; urgency=low

     - Completed fix for slow Anvil response. select.select timeout no longer
       generates an exception, instead check for empty return arrays.

 -- Steven Clark <clarksm@purdue.edu>  Tue, 14 Jan 2025 10:00:45 -0700

hubzero-submit-server (3.7.3-1) unstable; urgency=low

     - Update to version 3.7.3
     - fix creation of /var/run/submit to be tmpfs compatible
     - Write pid to /var/run/submit/xxx.pid
     - Fix long idle time for local submission when submitting from Anvil
     - Finally making switch from init.d to systemd

 -- Steven Clark <clarksm@purdue.edu>  Fri, 14 Jun 2024 14:48:02 -0700

hubzero-submit-server (3.7.2-1) unstable; urgency=low

     - Update to 3.7.2

 -- Steven Clark <clarksm@purdue.edu>  Wed, 20 Dec 2023 06:55:58 -0800

hubzero-submit-server (3.7.1-1) unstable; urgency=low

     - Update to 3.7.1

 -- Steven Clark <clarksm@purdue.edu>  Tue, 30 May 2023 07:53:49 -0700

hubzero-submit-server (3.7.0-1) unstable; urgency=low

     - Pass command arguments from client in bulk
    
     - Pass environment variables from client in bulk
    
     - Changed mount point detection to recognize shared
       mount.projfs file systems. This includes /data/projects.
       This avoids extra file transfer of potentially large files.

 -- Steven Clark <clarksm@purdue.edu>  Thu, 18 May 2023 11:01:22 -0700

hubzero-submit-server (3.6.3-1) unstable; urgency=low

    Clear broken pipe buffer to enable closing connection

 -- Steven Clark <clarksm@purdue.edu>  Tue, 16 May 2023 15:59:12 -0700

hubzero-submit-server (3.6.2-1) unstable; urgency=low

    - Explicitly close dropped stdin connection to distributor process.  Done to avoid excessive repeated disk eating log file message.
    - Change check for authorization timeout function. The id() function behaves differently with Python2/3.
    - Add treatment of sim2L's squid for submit jobs.  Each sim2L job will now include cache squid for job inputs.
    - Replace Python2 cmp() function with builtin id() comparison, replace broken deepcopy of _io.FileIO objects with simple copy

 -- Steven Clark <clarksm@purdue.edu>  Fri, 04 Nov 2022 00:09:21 -0700

hubzero-submit-server (3.6.0-2) unstable; urgency=low

     - update packaging to python3
     - Update to version 3.6.0
     - Upgrade to Python3
     - Added support for multiple configurable Pegasus versions.
     - mark config files as config

 -- Steven Clark <clarksm@purdue.edu>  Wed, 05 Jan 2022 16:08:49 -0800

hubzero-submit-server (3.5.0-2) unstable; urgency=low

     - mark config files as config

 -- Steven Clark <clarksm@purdue.edu>  Fri, 09 Jul 2021 16:44:21 -0700

hubzero-submit-server (3.5.0-1) unstable; urgency=low

     - Added new authorized action for reporting metrics for jobs
       run through the webservice.
     - Reduced chatter between client server while import/export
       tar files are exchanged.  Chatter was so heavy that it
       negatively impacted performance - an unnecessary slowing of
       response time.
     - Added PPK authentication between client and server to support
       webservice access.  Allows connection without benefit of HUB
       session environment.
     - Added individual clientId/serverId pair for each instantiation,
       used in PPK verification.
     - Update to version 3.5.0

 -- Steven Clark <clarksm@purdue.edu>  Thu, 08 Jul 2021 10:43:45 -0700

hubzero-submit-server (3.4.3-3) unstable; urgency=low

  * add Debian 9 support

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Thu, 20 Aug 2020 16:34:29 -0700

hubzero-submit-server (3.4.3-1) unstable; urgency=low

     - update copyright/trademark ownership
     - update email address references
     - remove per file @author references
     - update copyright years
     - Generalized treatment of special trusted and sudo users. (ionhelper)
     - Added optional squid field in job/joblog tables.
     - Update to version 3.4.3

 -- Steven Clark <clarksm@purdue.edu>  Fri, 01 May 2020 12:29:17 -0700

hubzero-submit-server (3.4.2-1) unstable; urgency=low

     - Update to version 3.4.2 (final)
     - Allow jobs with --disableJobMonitoring to run arbitrarily long.
     - Update to version 3.4.2
     - Disable heartbeat requirement for jobs run with --disableJobMonitoring.
     - Update to version 3.4.1
     - Improved loading of configuration files with better
       handling of error conditions.
     - Added --disableJobMonitoring.  This is available only
       for BOINC submission.  Rather than monitor job progress
       in the distributor process on the submit server updates
       are posted through the shared file system.  The objective
       is to greatly reduce the memory footprint of the monitoring
       process thus allowing many more simultaneous submissions.
     - Added more exception handling for database queries.
     - Parameterize SQL statements following SQL convention for substitution
       instead of using Python strings.
     - Use try/catch to trap database errors.
     - Added explicit database commit statements.
     - Modified quota checking when job is being run by ionhelper.  Quota of
       actual user is now checked.
     - Cleanup raw and zipped tar file when build operations fail.  Happens
       when /tmp is not large enough.
     - Fixed database connection in the absence of SSL parameters.
     - Record submit version in log file.
     - Added auto recovery for dropped client - server connection.
       (one time only)
     - Added --requestCache option for submit to directly query cache
       for result.
     - Redid commands related to recording cache jobs.  Both cache hits
       and cache misses can now be recorded.
     - Added option to run jobs as sudo user (ionhelper)
     - Kill run after maximum detached time.  Cleanup of abondoned submit
       processes.
     - Cleanup of Python2/3 data transfer over client-server connection.  Avoid
       large idle times that occurred in large many buffer data transfers.
     - Record origin of Rappture driver file (human,specbot,etc.).
     - Data on non-shared file systems is now compressed for transfer between
       client and server (both directions).
     - Release version 3.3.1.

 -- Steven Clark <clarks@purdue.edu>  Fri, 05 Jul 2019 15:53:46 -0400

hubzero-submit-server (3.2.9-1) unstable; urgency=low

  * no changes. synchronized version update

 -- Steven Clark <clarks@purdue.edu>  Wed, 13 Jun 2018 15:26:13 -0400

hubzero-submit-server (3.2.8-1) unstable; urgency=low

     - Improve reporting of what is executed in joblog:event.
     - Filter redundant jobs when determining exit status.
     - Doing encoding to treat non ascii characters in
       transferred data.
     - Modify working directory location if session directory
       exists as a broken link on the submit server.  This is
       known to happen when local disks are used to support
       simulation sessions running on a execution host.  The
       middleware is responsible for maintaining consistent
       data on the local drive the coresponding shared drive
       on the submit host.
     - Added exception handling around double fork daemonization

 -- Steven Clark <clarks@purdue.edu>  Thu, 12 Apr 2018 14:31:46 -0400

hubzero-submit-server (3.1.3-1) unstable; urgency=low

  * no changes. synchronized version update

 -- Steven Clark <clarks@purdue.edu>  Wed, 27 Sep 2017 10:10:31 -0400

hubzero-submit-server (3.1.2-1) unstable; urgency=low

  * Initialize daemon host to the submit server host.
  * New database operation added to copy any jobs that have no heartbeat and
    whose session has been terminated from job to joblog. This will clean so
    called orphan jobs out of the job table.    
  * Be more careful when checking client connection when it is known to have
    been detached.
  * Restore superjob

 -- Steven Clark <clarks@purdue.edu>  Tue, 13 Jun 2017 15:20:49 -0400

hubzero-submit-server (3.0.10-3) unstable; urgency=low

  * Make hubzero-submit-monitors a dependency since init.d
    script has it a starting pre-requisite

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Thu, 20 Oct 2016 10:55:08 -0400

hubzero-submit-server (3.0.10-1) unstable; urgency=low

  * Do not inject jobid into distributor argument list when it
    is not needed.  It is not need for --help and --version.
  * Added list of cache bot users.
  * Added base64 encoding for files exchanged between non-shared file systems.
  * Added --cacheId option for recording jobs that pull results from cache.
  * Use more os information in Pegasus workflow dax builds.
    Include arch, osFlavor, osVersion, osRelease

 -- Steven Clark <clarks@purdue.edu>  Mon, 11 Jul 2016 11:26:20 -0400

hubzero-submit-server (3.0.8-1) unstable; urgency=low

  * Another set of traps for os.getwd() failures
  * Trap closed connector and report transfer size as 0.
  * Added custom SSL cipher keys through configuration file.
  * Changed MySQL time difference calculation to avoid overflow.
  * Added cleanup session function to be used by administrator.
  * Correct retrieval of created session ID

 -- Steven Clark <clarks@purdue.edu>  Wed, 09 Mar 2016 14:37:31 -0500

hubzero-submit-server (3.0.1-1) unstable; urgency=low

  * Replaced string based data exchange API with JSON based exchange
  * Auto detect client - server disconnect
  * Added concept of submitter class.  This will allow PRO users to have
    higher priority when allocating job slots.
  * Removed 'venue' from session and sessionlog records to reflect
    change in database schema.
  * Added ability to specify cipher for LDAP connection.  Required on
    Debian 7 (wheezy) hosts.  Not needed for RedHat hosts.

 -- Steven Clark <clarks@purdue.edu>  Mon, 07 Sep 2015 19:08:43 -0400

hubzero-submit-server (2.7.2-1) unstable; urgency=low

  * fix build depends for debian 8

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Sat, 05 Sep 2015 19:17:04 -0400

hubzero-submit-server (2.7.1.2-1) unstable; urgency=low

  * use synchronous simple_bind_s() call

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Thu, 26 Feb 2015 14:11:21 -0500

hubzero-submit-server (2.7.1-1) unstable; urgency=low

  * release 2.7.1, normalizing packaging, updating copyrights
  * Cleanup inactive records
  * Added nCores to user metrics report
  * Use python logging module removing need for global write permissions
  * Standard daemonize method.
  * Optionally split middleware and user information databases.
  * Pass doubleDash from client configuration to distributor and friends.
  * Cleanup local execution termination by including job token
    for authentication.
  * Fixed reporting of number of cpus used by a job.
  * working directory must be set earlier for parametric arguments
  * Allow spaces in working directory path.
  * Pegasus is not required for sweeps.
  * Disconnect client/server when socket connection is broken.
  * Recursive tar not needed when generating entire explicit list,
    avoid duplicate copies in tar file.
  * Detect shared sshfs mounted file systems.

 -- Steven Clark <clarks@purdue.edu>  Tue, 23 Sep 2014 21:59:06 -0400

hubzero-submit-server (2.5.7-1) unstable; urgency=low

  * Repackaged to support multiple Debian releases

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Wed, 10 Sep 2014 13:15:58 -0400

hubzero-submit-server (2.5.6-1) unstable; urgency=low

  * Fix python version dependencies for Debian 7 package compatibility 

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Mon, 25 Aug 2014 13:13:44 -0400

hubzero-submit-server (2.5.5-1) unstable; urgency=low

  * Fixed false connection close when receive empty message

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Sat, 31 Aug 2013 17:54:05 -0400

hubzero-submit-server (2.5.1-1) unstable; urgency=low

  * Update copyright statements 
  * Update package source Makefiles and python installation scripts
  * Replaced by common module BoundConnection
  * Added submit --kill id command
  * Added submit --status [id] command
  * Added support for use of unix sockets to communicate
    between execution and proxy servers.
  * Added support for future ability to detach from incomplete jobs,
    creating the ability to do asynchronous submission
  * Added support for future ability to (re)attach to incomplete jobs
  * Added the ability to name a simulation run with submit --runName
  * Unified log messages.
  * Cleanup the daemonization process to do a better job with
    regard to open file descriptors.
  * Added concept of operation mode for deducing function from
    command line arguments.  The same command parser is shared
    between all the primary submit programs.
  * More extensive command line argument checking and reporting.
  * Added option for use of ssl with MySQL database connection.
  * Added hostname name validation for submit
    client-server ssl certificates.
  * Do not count submit created sessions against user limit.
  * Filter more envionment variable on client-server connection.
  * Added support for future ability to detach from incomplete jobs,
    creating the ability to do asynchronous submission
  * Added support for future ability to (re)attach to incomplete jobs
  * Added support for use of unix sockets to communicate between
    execution and proxy servers.
  * Added session and PID information to monitorJob datastore
  * Added --version option to server, client, distributor.
  * Moved SSL paths to configuration files.
  * Added SSL optional SSL for MySQL DB connection.
  * configuration file modified to have section header.
  * report hostname where submit client is running in addition to ip address.
  * configuration file modified to have section header.
  * improved treatment of complex application command line arguments.
  * Stemmed from work R which allows "--args arg1 arg2" as command line
  * arguement.  Arg1, arg2, etc. can be file names or parameteric names.
  * Changed detection of shared file system to account for updated
    application command line argument processing.  It now works when
    client is running outside of HUB.
  * added noHeartbeat option for top level submit --local jobs started by
    invoke_app.  Allows inactive sessions to be terminated promptly.
  * Pegasus is no longer required unless doing local parametric sweeps.
  * caught up with modified LDAP schema.  Maximum number of active
    sessions now aken from MySQL database.
  * Split common into constituent parts
  * New format for configuration files

 -- Steven Clark <clarks@purdue.edu>  Sun, 18 Aug 2013 14:26:45 -0400

hubzero-submit-server (2.0.3-1) unstable; urgency=low

  * bump version to ensure we packaged the last version

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Sun, 23 Sep 2012 12:28:41 -0400

hubzero-submit-server (2.0.2-1) unstable; urgency=low

  * relax dependency on monitors from distributor starting first

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Fri, 21 Sep 2012 21:31:06 -0400

hubzero-submit-server (2.0.1-1) unstable; urgency=low

  * remove obsolete postinst

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Fri, 21 Sep 2012 21:14:06 -0400

hubzero-submit-server (2.0.0-1) unstable; urgency=low

  * updated The Regents of the University of California.copyrights and Debian 6 packaging
  * refactored to use hubzero-submit-common 

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Fri, 31 Aug 2012 14:46:25 -0400

hubzero-submit-server (1.0.2-1) unstable; urgency=low

  * fix postinst to look in correct directory for config.tmpl

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Wed, 26 Oct 2011 14:57:27 -0400

hubzero-submit-server (1.0.1-1) unstable; urgency=low

  * fix postinst to use config.tmpl instead of config.tmp

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Tue, 25 Oct 2011 15:21:16 -0400

hubzero-submit-server (1.0.0-1) unstable; urgency=low

  * move log back to /var/log/submit
  * move install path to /usr/bin

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Tue, 02 Aug 2011 14:49:58 -0400

hubzero-submit-server (0.9.1-1) testing; urgency=low

  * move log to /var/log/hubzero

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Sun, 03 Apr 2011 19:41:26 -0400

hubzero-submit-server (0.9.0-1) unstable; urgency=low

  * new upstream (minor changes)
  * changed log and pid locations to be consistent with hubzero packaging
  * renamed server to submit-server for clarity

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Mon, 28 Mar 2011 20:35:26 -0400

hubzero-submit-server (0.8.1-2) stable; urgency=low

  * add python-scgi to dependencies

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Thu, 08 Apr 2010 13:29:37 -0400

hubzero-submit-server (0.8.1-1) stable; urgency=low

  * new upstream. remove duplicate log files that are in submit distributor package

 -- Nicholas J. Kisseberth <nkissebe@purdue.edu>  Thu, 08 Apr 2010 13:27:19 -0400

hubzero-submit-server (0.8.0-1) stable; urgency=low

  * Initial release.

 -- Steven Clark <clarksm@purdue.edu>  Thu, 08 Apr 2010 13:16:30 -0400
