pool: Account#allocateNow() should trigger sweeper to get some space

Currently, Accoutn#allocateNow() utilize only free space, but does not
uses reclaimable space. As a result allocateNow will fail on pools with
all files cached.

This change makes sure, that sweeper get informed about the requested space.

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: no
pool: add Allocator#allocateNow()

add a non-blocking version of allocate.

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: no
pool: add soft/hard space allocation modes

The classic dcache behavior it to block if there is no space available to write requests.
This strategy is not always matches clients expectations.

Introduce SOFT/HARD allocation modes for mover channel.
Update movers to use new option.
Introduce NoSpaceLeftException
Updated nfs mover to use soft allocation and return NO_SPACE if allocation failed

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: yes
delegation-shell: generate delegated credential of correct type

There are several types of proxy credential.  Currently the delegation shell generates
a fixed type.

In practise, the chain of proxy certificates must be of the same type or some services
will reject the chain.

This patch updates the delegation client so it generates a certificate of the same
type as the most recent (top-most) proxy certificate.

Target: master
Patch: https://rb.dcache.org/r/7112/
Acked-by: Gerd Behrmann
Request: 2.9
nfsv4: get client from current session for v4.1

Target: master
Acked-by: Karsten Schwank
Require-book: no
Require-notes: no
Update third party dependencies

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Karsten Schwank <karsten.schwank@desy.de>
Patch: https://rb.dcache.org/r/7108/
Update to DataNucleus 4

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7109/
deb: Add python-psycopg2 as a recommended dependency

Needed by dcache-star.

Target: trunk
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7091/
pool: Add file count to 'info' output

By request of our admins.

Target: trunk
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7081/
src: remove obsolete code

Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: no
src: more obsolete code

Acked-by: Karsten Schwank
Target: master
Require-book: no
Require-notes: no
src: kill more obsolete code

Acked-by: Paul Millar
Target: master
Require-book: no
Require-notes: no
src: kill more of obsolete code

Acked-by: Karsten Schwank
Target: master
Require-book: no
Require-notes: no
alarms: Fix checksum alarm filter.

The filter provided for checksum alarms generated by the pool scrubber
is out of sync with the actual logging statement in the scrubber.

This patch fixes the regex for the filter to match.

Target: master
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Require-book: no
Require-notes: yes
Acked-by: Karsten
Acked-by: Paul

RELEASE NOTES

Fixes a bug present since April 2013 (but up to now undiscovered by us) preventing
reporting of checksum alarms from the pool scrubber.
srm-client: by default only delegate for srmcp with 3rd-party copies

Currently, the SRM client will delegate for all calls.  This patch
updates the default behaviour so it doesn't delegate, except for
srmcp involving an SRM-endpoint and some remote end-point.

Patch: https://rb.dcache.org/r/7031/
Acked-by: Karsten Schwank
Requires-book: no
Requires-notes: yes