cells: remove System time dependency in unit-test

The CellNameServiceRegistryTests class provides unit-tests for the
CellNameServiceReigstry.  One of these tests verifies that expired
well-known cells registration is removed successfully, leaving the
existing cells intact.

This patch refacts CellNameServiceRegistry slighly to allow a
subclass to adjust its concept of time.  This is used to provide a
reliable simulated flow of time in the unit-tests, removing the
need for a sleep statement.

Target: master
Patch: https://rb.dcache.org/r/7090/
Acked-by: Tigran Mkrtchyan
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
webadmin: fix regression in alarm deletion filter

Patch 6344 introduced a regression in the webadmin alarms
management which prohibits the deletion of entries.

See http://rb.dcache.org/r/6344.

which forced a range limit on the number of
entries returned by a query.  JDO does not allow
a range to be specified this way on a deletion query,
but this case was overlooked.

This patch remedies the oversight.

Testing:

Deployed with patch; successfully deleted checked entries from table.

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 regression in the webadmin alarms
page preventing the deletion of entries from the alarm
table.
dcache-webadmin: fix pool queue plot grid placeholder image

The pool queue plot grid is computed to find the best square fit up to 8 X 8 of plots.
This means that there will remainders (blanks) for all but the square cases.
Previously the placeholder was an empty symbol denoting no pool, but this particular
image was not the right size and at any rate was rather ugly.

The patch replaces the previous image with a simple blank image the same size as the plots.

Target:  master
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Require-notes: no
Require-book: no
Acked-by: Dmitry
srm: improve error message

dCache SRM reports back to the client if the supplied number of levels in an
ls request is negative.  This patch rephrases the error message and
includes the client's value.

Target: master
Patch: https://rb.dcache.org/r/7092
Acked-by: Karsten Schwank
Require-notes: no
Require-book: no
pool: Fix race condition that leads to orphaned files

Using FileNotInCacheException cause the chimera registration to be cleared.
Clearly we don't want this when the file is actually in the pool and just
happens to be in a state in which it isn't accessible.

This patch changes the exception to LockedCacheException.

This is an alternative to patch: https://rb.dcache.org/r/5801

Target: trunk
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Request: 2.2
Require-notes: yes
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7103/
Suppress nfs' file protocol from being published

The dcache-info-provider publishes all doors as endpoints by default. A
couple of doors are already configured to be excluded from this, but the
nfs door isn't and causes an file://xyz/ endpoint to be published.

Ticket: 8365
Acked-by:
Target: master
Request: 2.9
Request: 2.6
Request: 2.2
Require-book: no
Require-notes: yes
pool: Update repository javadoc

Adjust JavaDoc to match recent changes.

Patch: none
Target: master
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