jra1mw.git
17 years agoHandle ctx->peerName==NULL better.
Zdeněk Salvet [Wed, 29 Aug 2007 15:29:47 +0000 (15:29 +0000)]
Handle ctx->peerName==NULL better.

17 years agoCorrect interpretation of edg_wll_gss_oid_equal().
Zdeněk Salvet [Wed, 29 Aug 2007 15:20:50 +0000 (15:20 +0000)]
Correct interpretation of edg_wll_gss_oid_equal().

17 years agoAdd missing parameter to edg_wll_gss_normalize_subj().
Zdeněk Salvet [Wed, 29 Aug 2007 08:05:42 +0000 (08:05 +0000)]
Add missing parameter to edg_wll_gss_normalize_subj().

17 years agoHandle equivalency of different string forms of certificate subjects
Zdeněk Salvet [Tue, 28 Aug 2007 14:35:00 +0000 (14:35 +0000)]
Handle equivalency of different string forms of certificate subjects
(Email/emailAddress etc.) using new edg_wll_gss_normalize_subj() and
edg_wll_gss_equal_subj(). All upgrade scenarios except upgrading LB server
on machine which already used newer SSL libraries should be handled
transparently by this code. (In the mentioned case, already registered
notifications will cease wrking and STD_owner indexes have to be recreated.)

17 years agoAllow up to 255 chars in indexed columns as needed with owner, host, and
Zdeněk Salvet [Tue, 28 Aug 2007 10:16:48 +0000 (10:16 +0000)]
Allow up to 255 chars in indexed columns as needed with owner, host, and
tag types (location and destination may be still truncated), use
variable-length SQL data type.

17 years agoDon't allow registering job over unauthenticated direct connection.
Zdeněk Salvet [Tue, 28 Aug 2007 09:46:36 +0000 (09:46 +0000)]
Don't allow registering job over unauthenticated direct connection.

17 years agoUse GSS_C_NT_ANONYMOUS name type OID instead of string representation.
Zdeněk Salvet [Tue, 28 Aug 2007 09:19:09 +0000 (09:19 +0000)]
Use GSS_C_NT_ANONYMOUS name type OID instead of string representation.

17 years agoRecognize anonymous clients more correctly (not really clean yet
Zdeněk Salvet [Mon, 27 Aug 2007 15:06:07 +0000 (15:06 +0000)]
Recognize anonymous clients more correctly (not really clean yet
due to shortcoming of edg_wll_gss_accept() API).

17 years ago1. Take care to store original event.user for RegJob events, not peername of
Zdeněk Salvet [Mon, 27 Aug 2007 13:58:13 +0000 (13:58 +0000)]
1. Take care to store original event.user for RegJob events, not peername of
IL/direct store connection (fixes duplicate checking and "File exists
(Duplicate entry 'jobid' for key 1) syslog messages).
2. Remove two unnecessary MD5 computations and two tiny memory leaks.

17 years agoExplicitly set reconnect behaviour only if client library supports
Zdeněk Salvet [Fri, 24 Aug 2007 13:28:56 +0000 (13:28 +0000)]
Explicitly set reconnect behaviour only if client library supports
the option (it is always on in 4.1.x). Comment out unused code.

17 years agoexplicit setting of auto-reconnect (5.1 servers require it)
Aleš Křenek [Fri, 24 Aug 2007 12:42:39 +0000 (12:42 +0000)]
explicit setting of auto-reconnect (5.1 servers require it)

17 years agoImplement logic behind suspended and suspend_reason job status attributes.
Zdeněk Salvet [Fri, 24 Aug 2007 06:13:36 +0000 (06:13 +0000)]
Implement logic behind suspended and suspend_reason job status attributes.
Fixes bug #28772.

17 years agospeedup (removed quadratic algorithm)
Miloš Mulač [Thu, 23 Aug 2007 13:18:25 +0000 (13:18 +0000)]
speedup (removed quadratic algorithm)

17 years agoopen only one lb_export file (prevent open files limit exhaustion on large lb dumps)
Miloš Mulač [Thu, 23 Aug 2007 11:55:19 +0000 (11:55 +0000)]
open only one lb_export file (prevent open files limit exhaustion on large lb dumps)
- the file stays open until new jobid in dump occures
=> only number_of_unique_jobids open/close pairs should occure
hence events in lb dump are clustered by jobids

17 years agoMore accurate error message.
Zdeněk Salvet [Thu, 23 Aug 2007 11:04:40 +0000 (11:04 +0000)]
More accurate error message.

17 years agoDon't return all errors as EIO (interlogger protocol) in StoreProto,
Zdeněk Salvet [Thu, 23 Aug 2007 10:31:15 +0000 (10:31 +0000)]
Don't return all errors as EIO (interlogger protocol) in StoreProto,
do it only for read_il_data internal errors and pass others from gss_reader
and plain_reader properly.

17 years agoDon't syslog expectable error, more complete error categories (sync with
Zdeněk Salvet [Thu, 23 Aug 2007 06:16:34 +0000 (06:16 +0000)]
Don't syslog expectable error, more complete error categories (sync with
bkserverd.c).

17 years agoDon't syslog expectable error, more complete error categories.
Zdeněk Salvet [Wed, 22 Aug 2007 15:52:15 +0000 (15:52 +0000)]
Don't syslog expectable error, more complete error categories.

17 years agoUse edg_wll_gss_watch_creds() again.
Zdeněk Salvet [Wed, 22 Aug 2007 15:23:17 +0000 (15:23 +0000)]
Use edg_wll_gss_watch_creds() again.

17 years agoBetter debugging message
Zdeněk Salvet [Wed, 22 Aug 2007 15:22:29 +0000 (15:22 +0000)]
Better debugging message

17 years agoBetter debugging message.
Zdeněk Salvet [Wed, 22 Aug 2007 12:54:01 +0000 (12:54 +0000)]
Better debugging message.

17 years agoDon't busy loop waiting for first request when new connections are coming.
Zdeněk Salvet [Wed, 22 Aug 2007 11:28:38 +0000 (11:28 +0000)]
Don't busy loop waiting for first request when new connections are coming.

17 years agoUse default progname in openlog, not edg-wl-... (also fixes notification
Zdeněk Salvet [Wed, 22 Aug 2007 10:40:52 +0000 (10:40 +0000)]
Use default progname in openlog, not edg-wl-... (also fixes notification
interlogd's name). Fixes bug #28771.

17 years agoRemove initial descriptor closing, some necessary ones may be already
Zdeněk Salvet [Wed, 22 Aug 2007 10:16:21 +0000 (10:16 +0000)]
Remove initial descriptor closing, some necessary ones may be already
opened before start of main() by library initialization routines. In this
case, Globus module initialization called from VOMS library initialization
code had its stdio stream open, resulting in rubbish being written to MySQL
connection. (Fixes bug #28956).

17 years agoSyslog "error reading server reply" only when it could not be caused
Zdeněk Salvet [Wed, 22 Aug 2007 08:19:06 +0000 (08:19 +0000)]
Syslog "error reading server reply" only when it could not be caused
by closing idle connection in server.

17 years agoFixed coredump in lb_plugin.
Jiří Filipovič [Tue, 21 Aug 2007 15:15:08 +0000 (15:15 +0000)]
Fixed coredump in lb_plugin.

17 years agoCorrect _optional_ position in ReallyRunning definition
Zdeněk Salvet [Tue, 21 Aug 2007 11:27:17 +0000 (11:27 +0000)]
Correct _optional_ position in ReallyRunning definition
(fixes #28774).

17 years agomissing _optional_'s
Aleš Křenek [Tue, 21 Aug 2007 11:19:42 +0000 (11:19 +0000)]
missing _optional_'s

17 years agoSometimes MySQL server is lost, sometimes it is gone.
Aleš Křenek [Wed, 15 Aug 2007 08:34:44 +0000 (08:34 +0000)]
Sometimes MySQL server is lost, sometimes it is gone.
Handle both cases in the same way (try reconnecting).

17 years agoimplemented LBserver attribute
Aleš Křenek [Tue, 14 Aug 2007 15:32:30 +0000 (15:32 +0000)]
implemented LBserver attribute

17 years agoReport reasons of termination of slaves to debug log (always) and to syslog
Zdeněk Salvet [Mon, 13 Aug 2007 14:35:13 +0000 (14:35 +0000)]
Report reasons of termination of slaves to debug log (always) and to syslog
(on errors).

17 years agoPrint "no request" instead of "(null)" to debug log on client disconnect
Zdeněk Salvet [Mon, 13 Aug 2007 13:36:07 +0000 (13:36 +0000)]
Print "no request" instead of "(null)" to debug log on client disconnect
or error reading the incoming request.

17 years agoDon't invoke whole-server dump on purge (fixes bug #28726).
Zdeněk Salvet [Mon, 13 Aug 2007 12:56:05 +0000 (12:56 +0000)]
Don't invoke whole-server dump on purge (fixes bug #28726).

17 years agoCleanly ignore events of unknown type (fixes bug #28725).
Zdeněk Salvet [Mon, 13 Aug 2007 11:24:18 +0000 (11:24 +0000)]
Cleanly ignore events of unknown type (fixes bug #28725).

17 years agotypo in parsing dump requests
Miloš Mulač [Fri, 10 Aug 2007 08:01:15 +0000 (08:01 +0000)]
typo in parsing dump requests
- causing coredumps if dump-request arrives

17 years ago- prevent deadlock if ChangeACL event arrives
Miloš Mulač [Wed, 8 Aug 2007 11:22:27 +0000 (11:22 +0000)]
- prevent deadlock if ChangeACL event arrives

17 years agoMore reasonable default purge time for "other" ("m" is minutes, not months).
Zdeněk Salvet [Tue, 7 Aug 2007 10:41:44 +0000 (10:41 +0000)]
More reasonable default purge time for "other" ("m" is minutes, not months).

17 years agoBackout change aligning done_code values in events and status - not worth
Zdeněk Salvet [Fri, 3 Aug 2007 08:27:38 +0000 (08:27 +0000)]
Backout change aligning done_code values in events and status - not worth
breaking compatibility with older clients and servers.

17 years agoUser real usernames in proxy, not "lbproxy".
Zdeněk Salvet [Fri, 3 Aug 2007 08:22:49 +0000 (08:22 +0000)]
User real usernames in proxy, not "lbproxy".

17 years agoBackout erroneous part of previous change (additional space at the end
Zdeněk Salvet [Thu, 2 Aug 2007 15:29:48 +0000 (15:29 +0000)]
Backout erroneous part of previous change (additional space at the end
of encoded string).

17 years agoMerged changes on LB->JP mill from HEAD (new features and proper purging fix).
František Dvořák [Thu, 2 Aug 2007 11:41:30 +0000 (11:41 +0000)]
Merged changes on LB->JP mill from HEAD (new features and proper purging fix).
Fixed "wildcard race condition" when collecting and deleting dumps from purgedir.

17 years agotagged R_1_6_0_1
Aleš Křenek [Wed, 1 Aug 2007 19:41:20 +0000 (19:41 +0000)]
tagged R_1_6_0_1

17 years agopush minor version
Aleš Křenek [Wed, 1 Aug 2007 19:37:02 +0000 (19:37 +0000)]
push minor version

17 years agopush age
Aleš Křenek [Wed, 1 Aug 2007 19:34:07 +0000 (19:34 +0000)]
push age

17 years agopush minor version
Aleš Křenek [Wed, 1 Aug 2007 19:16:10 +0000 (19:16 +0000)]
push minor version

17 years agopush minor version
Aleš Křenek [Wed, 1 Aug 2007 19:10:34 +0000 (19:10 +0000)]
push minor version

17 years agopush revision
Aleš Křenek [Wed, 1 Aug 2007 19:05:03 +0000 (19:05 +0000)]
push revision

17 years agopush major version
Aleš Křenek [Wed, 1 Aug 2007 18:53:33 +0000 (18:53 +0000)]
push major version

17 years agopush major version
Aleš Křenek [Wed, 1 Aug 2007 18:48:16 +0000 (18:48 +0000)]
push major version

17 years agopush minor version
Aleš Křenek [Wed, 1 Aug 2007 18:42:43 +0000 (18:42 +0000)]
push minor version

17 years ago64bit cleanup -- size_t vs. int
Aleš Křenek [Wed, 1 Aug 2007 17:47:35 +0000 (17:47 +0000)]
64bit cleanup -- size_t vs. int

17 years agoFIXME's (to follow frozen enum assignment in interface)
Aleš Křenek [Wed, 1 Aug 2007 17:23:53 +0000 (17:23 +0000)]
FIXME's (to follow frozen enum assignment in interface)

17 years agoput FAILURE_REASONS into the ordered place (until fixed in implementation)
Aleš Křenek [Wed, 1 Aug 2007 17:21:01 +0000 (17:21 +0000)]
put FAILURE_REASONS into the ordered place (until fixed in implementation)

17 years agofollow C API (JDL_ATTR)
Aleš Křenek [Wed, 1 Aug 2007 17:17:14 +0000 (17:17 +0000)]
follow C API (JDL_ATTR)

17 years ago- avoid sprintf to itself
Aleš Křenek [Wed, 1 Aug 2007 16:54:48 +0000 (16:54 +0000)]
- avoid sprintf to itself
- ' ' as an integer separator rather than '' (have it ever worked?)

17 years agofix rowcount check for transaction test
Aleš Křenek [Wed, 1 Aug 2007 16:09:40 +0000 (16:09 +0000)]
fix rowcount check for transaction test

17 years agorenamed ATTR_JDL
Aleš Křenek [Wed, 1 Aug 2007 15:48:23 +0000 (15:48 +0000)]
renamed ATTR_JDL

17 years agocheck also Event union size explicitely
Aleš Křenek [Wed, 1 Aug 2007 15:47:29 +0000 (15:47 +0000)]
check also Event union size explicitely

17 years agoadded failure_reaons
Aleš Křenek [Wed, 1 Aug 2007 11:44:10 +0000 (11:44 +0000)]
added failure_reaons

17 years ago- handle undefined status/events fields
Aleš Křenek [Wed, 1 Aug 2007 11:42:28 +0000 (11:42 +0000)]
- handle undefined status/events fields
- define failure_reasons

17 years agoReload credentials unconditionally.
Zdeněk Salvet [Tue, 31 Jul 2007 07:22:48 +0000 (07:22 +0000)]
Reload credentials unconditionally.

17 years agotypo
Aleš Křenek [Mon, 30 Jul 2007 18:22:34 +0000 (18:22 +0000)]
typo

17 years agotypo
Aleš Křenek [Mon, 30 Jul 2007 18:12:17 +0000 (18:12 +0000)]
typo

17 years agoQueryRecord::Attr follow edg_wll_QueryAttr exactly
Aleš Křenek [Mon, 30 Jul 2007 18:07:16 +0000 (18:07 +0000)]
QueryRecord::Attr follow edg_wll_QueryAttr exactly

17 years agoStatic-forever assignment of JobStatus::Attr enum values
Aleš Křenek [Mon, 30 Jul 2007 17:48:51 +0000 (17:48 +0000)]
Static-forever assignment of JobStatus::Attr enum values

17 years agoStatic-forever assignment of Event::Attr enum values
Aleš Křenek [Mon, 30 Jul 2007 17:42:05 +0000 (17:42 +0000)]
Static-forever assignment of Event::Attr enum values

17 years agoimplemented padding inside JobStatus
Aleš Křenek [Mon, 30 Jul 2007 17:26:10 +0000 (17:26 +0000)]
implemented padding inside JobStatus

17 years agopadding between fleshes inside JobStatus
Aleš Křenek [Mon, 30 Jul 2007 17:25:50 +0000 (17:25 +0000)]
padding between fleshes inside JobStatus

17 years agoAlign minor stat codes with matching codes in events
Aleš Křenek [Mon, 30 Jul 2007 16:42:47 +0000 (16:42 +0000)]
Align minor stat codes with matching codes in events

17 years agoPARTITIONABLE and PARTITIONED placeholders for job types to match RegJob
Aleš Křenek [Mon, 30 Jul 2007 16:41:56 +0000 (16:41 +0000)]
PARTITIONABLE and PARTITIONED placeholders for job types to match RegJob

17 years agoEvent union padding
Aleš Křenek [Mon, 30 Jul 2007 16:07:59 +0000 (16:07 +0000)]
Event union padding

17 years agofuture JDL query
Aleš Křenek [Mon, 30 Jul 2007 16:07:46 +0000 (16:07 +0000)]
future JDL query

17 years agouse padded_struct()
Aleš Křenek [Mon, 30 Jul 2007 15:50:13 +0000 (15:50 +0000)]
use padded_struct()

17 years agomacro for struct padding
Aleš Křenek [Mon, 30 Jul 2007 15:45:24 +0000 (15:45 +0000)]
macro for struct padding

17 years agoC lib also calls jobid functions directly
Aleš Křenek [Tue, 24 Jul 2007 13:31:26 +0000 (13:31 +0000)]
C lib also calls jobid functions directly

17 years agomake c++ lib depend on jobid & exceptions
Aleš Křenek [Tue, 24 Jul 2007 13:27:49 +0000 (13:27 +0000)]
make c++ lib depend on jobid & exceptions

17 years agoresurrected c++ example
Aleš Křenek [Tue, 24 Jul 2007 13:15:59 +0000 (13:15 +0000)]
resurrected c++ example

17 years agomysql archlib
Aleš Křenek [Tue, 17 Jul 2007 15:25:40 +0000 (15:25 +0000)]
mysql archlib

17 years agoWorkaround for incorrect transaction support in db_store - force
Zdeněk Salvet [Fri, 13 Jul 2007 08:53:45 +0000 (08:53 +0000)]
Workaround for incorrect transaction support in db_store - force
strict locking if transactions are in use.

17 years agoDon't allow forcing transactions on if they are not supported by DB schema.
Zdeněk Salvet [Fri, 13 Jul 2007 08:51:01 +0000 (08:51 +0000)]
Don't allow forcing transactions on if they are not supported by DB schema.

17 years agoRework of transaction_test (previous version tested availability of
Zdeněk Salvet [Fri, 13 Jul 2007 08:49:55 +0000 (08:49 +0000)]
Rework of transaction_test (previous version tested availability of
InnoDb engine only, did not test support of transactions in DB schema).

17 years agoReturn real error code to context after edg_wll_Rollback().
Zdeněk Salvet [Fri, 13 Jul 2007 07:36:43 +0000 (07:36 +0000)]
Return real error code to context after edg_wll_Rollback().

17 years agoremove encoding/decoding of removed intStat field children_done_hist
Miloš Mulač [Wed, 11 Jul 2007 14:11:18 +0000 (14:11 +0000)]
remove encoding/decoding of removed intStat field children_done_hist

17 years agocreate copy of JobId for query (will be freed afterwards)
Michal Voců [Mon, 9 Jul 2007 12:30:55 +0000 (12:30 +0000)]
create copy of JobId for query (will be freed afterwards)

17 years agoFix the help too due to week unit.
František Dvořák [Wed, 4 Jul 2007 13:58:18 +0000 (13:58 +0000)]
Fix the help too due to week unit.

17 years agoWeek accidentaly used in scripts.
František Dvořák [Wed, 4 Jul 2007 13:56:55 +0000 (13:56 +0000)]
Week accidentaly used in scripts.

17 years agochildren_done_hist removed from intJobStat
Miloš Mulač [Thu, 28 Jun 2007 07:56:06 +0000 (07:56 +0000)]
children_done_hist removed from intJobStat

17 years agonew implementation of collection state counting
Miloš Mulač [Wed, 27 Jun 2007 08:46:51 +0000 (08:46 +0000)]
new implementation of collection state counting

17 years agoRandom fix for status times in WS.
František Dvořák [Fri, 22 Jun 2007 16:17:15 +0000 (16:17 +0000)]
Random fix for status times in WS.
Don;t assert withou required status flags.

17 years agodon't check version of the LB protocol when talking to a non-LB client
Daniel Kouřil [Wed, 20 Jun 2007 21:39:29 +0000 (21:39 +0000)]
don't check version of the LB protocol when talking to a non-LB client

17 years agobug #27317
Jan Pospíšil [Wed, 20 Jun 2007 08:07:50 +0000 (08:07 +0000)]
bug #27317

17 years agomake event type codes come directly from C API
Michal Voců [Tue, 19 Jun 2007 13:16:40 +0000 (13:16 +0000)]
make event type codes come directly from C API

17 years ago- corrected -1 error in get_pbs_event_source() and get_condor_event_source() - IT...
Jan Pospíšil [Thu, 14 Jun 2007 18:53:21 +0000 (18:53 +0000)]
- corrected -1 error in get_pbs_event_source() and get_condor_event_source() - IT COULD NEVER WORK!!
- corrected sscanf arguments in edg_wll_compare_pbs_seq() - IT COULD NEVER WORK!!
- added some more condor stuff

17 years agoupdated INTSTAT_VERSION
Jan Pospíšil [Thu, 14 Jun 2007 18:49:04 +0000 (18:49 +0000)]
updated INTSTAT_VERSION

17 years agofill also condor_shadow_pid and condor_preempting
Jan Pospíšil [Thu, 14 Jun 2007 18:48:16 +0000 (18:48 +0000)]
fill also condor_shadow_pid and condor_preempting

17 years agoadded condor preempting to job state
Jan Pospíšil [Thu, 14 Jun 2007 18:14:00 +0000 (18:14 +0000)]
added condor preempting to job state

17 years agoinitialize the enum values; padding not strictly required
Jan Pospíšil [Thu, 14 Jun 2007 15:25:41 +0000 (15:25 +0000)]
initialize the enum values; padding not strictly required

17 years agodo not fail in strcasecmp(NULL)
Jan Pospíšil [Thu, 14 Jun 2007 14:34:57 +0000 (14:34 +0000)]
do not fail in strcasecmp(NULL)

17 years agoclose conn on failre
Jan Pospíšil [Thu, 14 Jun 2007 14:05:30 +0000 (14:05 +0000)]
close conn on failre

17 years agoUnlockJob if StoreEvent fail
Jan Pospíšil [Thu, 14 Jun 2007 14:04:01 +0000 (14:04 +0000)]
UnlockJob if StoreEvent fail