Fix dependency exclusion

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6166/
pnfsmanager: Fix error type when delete is refused

Addresses an issue that causes

30 Oct 2013 23:07:32 (PnfsManager) [RiY:610:srm2:rm SRM-sisyphus PnfsDeleteEntry] Inconsistent message class diskCacheV111.vehicles.PnfsDeleteEntryMessage received form [>SRM-sisyphus@dCacheDomain]

to be logged in PnfsManager.

PnfsManager uses INVALID_ARGS as an internal error. Hence using
it to signal that the allowed file types do not match the actual
file type leads to the above error. The patch changes the logic
to other error codes. The error codes may not be optimal in all
cases (eg for links or special files), but they are better than
the existing error code.

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6171/
srm: Improve error logging of file upload

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6172/
chimera: fix sql exception if file name too long

in some cases (at least during testing) we see names longer that
256 symbols. This results into naasty exceptions which is fixed
by this patch.

Patch: http://rb.dcache.org/r/5490
Target: trunk
Request: 2.6
Require-book: no
Require-notes: no
srm: Fix race conditions in request credential storage

The request credential storage implementation is riddled with race
conditions. This patch addresses those issues.

The way we treat request credentials is broken as we collapse
delegated credentials based on dn and primary fqan. There is
no guarantee that the delegated credentials are always the
same and there is thus no basis on which we can collapse them.

More over we never delete delegated credentials. Due to the
collapsing mentioned above, the number of different credentials
is limited for most scenarios.

Combined, these two issues mean we have to completely rewrite
how we deal with delegated credentials. However for now I am
focusing on the race conditions as they cause random S2 test
failures.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6168/
chimera: Provide meaningful exceptions on failure to delete a file

Addresses issues in Chimera in which failures to delete a file or
directory result in a generic error message without information
about the actual error.

The root cause is that Chimera copies a bad API from Java in which
remove methods simply return a boolean indicating whether the file
was deleted or not. This patch changes this such that an exception
is thrown in case of failure.

Motivation for this patch can be found in server logs of running
S2 against dCache (see http://svn.dcache.org/build/job/master%20post%20testing/167/console).
The log contains entries like:

30 Oct 2013 23:07:14 (PnfsManager) [RiY:547:srm2:rmdir SRM-sisyphus PnfsDeleteEntry] Failed to delete entry: Entry could not be removed: /data/s2/vm-dcache-wn01-tester5/20131030-230600-25706x

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/6169/
chimera: fix sql exception if file name too long

In some cases (at least during S2 testing) we see names longer that
256 symbols. This results into nasty exceptions which is fixed
by this patch.

(Based on earlier patch 5490)

Patch: http://rb.dcache.org/r/6167
Acked-by: Gerd Behrmann
Acked-by: Tigran Mkrtchyan
Target: trunk
Request: 2.6
Require-book: no
Require-notes: no
srm: Various minor improvements to error reporting

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6176/
doors: Fix race condition in registration of mover creation and termination

The race condition caused srmCopy transfers to hang randomly.

Target: trunk
Require-notes: yes
Require-book: no
Request: 2.6
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6178/
Add workaround for BoneCP bug

See https://github.com/wwadge/bonecp/pull/18 for details.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/6180/
dcache-webadmin: fix regression affecting checkall on alarms table

Recent update to Wicket 1.6 broke the javascript for the "check all" checkboxes on the Alarms table.

This patch restores it.

Testing:

Checked by clicking.

Target: master
Patch: http://rb.dcache.org/r/6084/
Request: 2.7
Acked-by: Gerd
Require-notes: no
Require-book: no
Bug: http://rt.dcache.org/Ticket/Display.html?id=8022