nfs: use any-of annotation to control NFS versions to run

A new property nfs.version is inttrodused. The supported values can be a combination
of '3', '4.1'. For example:

nfs.version=3
or
nfs.version=4.1,3

NFS v3 and v4 provided by the same component. The NFSv3 door is
removed with a corresponding xml configuration.

Remove XML code duplication. Some of the logic moved into nfs door,
which makes code less depended on Spring-IoC. Removed properites
to define Spring XML file.

Acked-by: Karsten Schwank
Target: trunk
Require-book: yes
Require-notes: yes
transfermanagers: Fixed typo in cell name property

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/5835/
Use unversioned spring schemas

Starting with version 3.2, spring schemas no longer contain the
version number.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/5836/
Fix regressions in configuration properties

- Restore old default password for billing service

- Fix property chaining for dcache.net.inetaddr.lifetime

- Restore original time unit for httpd properties (otherwise
  the old properties cannot be used as their meaning would
  change).

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Albert Rossi <arossi@fnal.gov>
Patch: http://rb.dcache.org/r/5861/
srm: Fix property chaining for srm.enable.space-reservation

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5862/
srm: Fix property chaining for srm.enable.spacemanager

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5862/
srm: Property name refinements

Renamed srm.enable.client.dns.lookup to srm.enable.client-dns-lookup.

Marked srmIgnoreClientProtocolOrder as obsolete. The same functionality
can be achieved setting srm.protocols.preferred to an empty or non-empty
list.

Target: trunk
Require-book: yes
Require-notes: yes
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5863/
Merge branch 'master' into development/diagnose
Rename authentication related properties to comply with configuration policy

New properties

dcache.authn.gsi.delegation.cache.lifetime
dcache.authn.gsi.crl.cache.lifetime
dcache.authn.kerberos.realm
dcache.authn.kerberos.key-distribution-center-list
dcache.authn.jaas.config
dcache.authn.keystore
dcache.authn.keystore.password
dcache.authn.truststore
dcache.authn.truststore.password
dcache.authn.hostcert.key
dcache.authn.hostcert.cert
dcache.authn.hostcert.refresh
dcache.authn.hostcert.refresh.unit
dcache.authn.hostcert.verify
dcache.authn.capath
dcache.authn.capath.refresh
dcache.authn.capath.refresh.unit
dcache.authn.vomsdir
dcache.authn.ciphers
dcache.paths.grid-security
dcap.authn.ciphers
ftp.authn.ciphers
httpd.authn.ciphers
dcache.paths.grid-security
srm.authn.ciphers
webdav.authn.ciphers
xrootd.gsi.hostcert.refresh.unit
xrootd.gsi.ca.refresh.unit

Deprecated

gsi.delegation.cache.lifetime
gsi.crl.cache.lifetime
kerberos.realm
kerberos.key-distribution-center-list=
kerberos.jaas.config
keyStore
keyStorePassword
trustStore
trustStorePassword
grid.hostcert.key
grid.hostcert.cert
grid.hostcert.refresh
grid.hostcert.verify
grid.ca.path
grid.ca.refresh
dcache.security.ciphers
httpd.security.ciphers
grid.path
srm.security.ciphers
webdav.security.ciphers

Removed

grid.ca.refresh.unit
grid.hostcert.refresh.unit
dcap.security.ciphers
ftp.security.ciphers
config
classesDir

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/5846/
Some final adjustements to configuration properties

Renamed *.enable.spacemanager to *.enable.space-reservation, as
it isn't spacemanager that is enabled by the property, but the
support for space reservations. This also brings the name in line
with a couple of sub-properties in the SRM.

Renamed *.overwrite to *.enable.overwrite and introduced
dcache.enable.overwrite as a common property. This name was already
used in some services.

Renamed srm.service.lookup-loginbroker to srm.protocols.loginbroker.
lookup-loginbroker isn't a service and thus fits badly in the
service.* hierarchy. At the same time, the SRM already got an
srm.protocols.* hierarchy that fits well with the functionality.

Renamed srm.limits.rm.single-remove-batch.size to srm.limits.remove-batch-size.

Added and moved some documentation. Documentation for implicit
space reservation was copied from existing documentation we had
outside the properties files.

Removed properties for implicit and strict space reservations from
transfermanagers service, as they do not appear to make use of these
properties.

Fixed several time unit related bugs (use of milli seconds vs seconds).

Renamed transfermanagers.limits.remote-gsiftp.transfers.max to
transfermanagers.limits.external-transfers and
transfermanagers.limits.copy.remote-copies.max to
transfermanagers.limits.internal-transfers (external transfers are not
limited to gsiftp, and both external and internal transfers are copy
operations).

Renamed transfermanagers.limits.remote-gsiftp.io-queue to
transfermanagers.mover.queue (the queue is not limited to gsiftp
transfers, and this property matches similar properties in other
doors).

Renamed transfermanagers.service.mover.timeout.unit to
transfermanagers.limits.transfer-time (the timeout isn't cell communication
related and there is no service called mover).

Note that old names are not marked deprecated as those names were never
included in an official release.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5848/
srm: Fix property chaining

Addresses the problem that the properties that should apply to
all requests types had no effect at all.

Note that the get request values were used as the base for other
requests types in the old system. This is reflected in the way
properties are chained.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Dmitry Litvintsev <litvinse@fnal.gov>
Patch: http://rb.dcache.org/r/5852/
ftp: Add documentation to ftp properties

Also renamed ftp.delete-on-failure to ftp.enable.delete-on-failure to
better fit with other properties.

Target: trunk
Require-book: yes
Require-notes: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/5854/
Fix HsmFlushController Seconds to Milliseconds conversion

HsmFlushController converts the time units for _flushingInterval and
_retryDelayOnError from Seconds to Milliseconds in the setter. When
writing the setup it does not convert them back, but keeps them in
Milliseconds which leads to delays increasing by factor 1000 every time
the setup is saved and the pool restarted.

This patch adds the conversion from Milliseconds to seconds on printing
the setup.

Acked-by: Gerd
Target: master
Require-book: no
Require-notes: no
xrootd, pinmanager, dcap, gplazma, admin, pool, poolmanager, pnfsmanager, webdav, cleaner: Add documentation and other minor property adjustments

Renamed xrootd.threads to xrootd.limits.threads.

Added time unit handling to MovePinRequestProcessor.

Renamed poolmanager.cache-hit-messages.enabled to
poolmanager.enable.cache-hit-message.

Renamed pinmanager.max-pin-duration to pinmanager.limits.pin-duration.

Renamed pool.cell.wait-for-files to pool.wait-for-files.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/5855/
srm: Fix a few more property chaining errors

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Karsten Schwank <karsten.schwank@desy.de>
Patch: http://rb.dcache.org/r/5858
dcap: Rename dcap.mover.overwrite to dcap.authz.mover-queue-overwrite and change to boolean property

We use true/false for all boolean properties and this property
should be no exception.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: http://rb.dcache.org/r/5865/
Add *.cell.export properties

Some services already support the cell.export property for declaring
whether a cell should be exported as well known. This patch adds this
property to all remaining services.

Most users will never touch this property, but it is useful for
non-standard expert deployments.

Target: trunk
Require-notes: yes
Require-book: yes
Acked-by: Karsten Schwank <karsten.schwank@desy.de>
Patch: http://rb.dcache.org/r/5866/
Add ssh-agent check and issue srmPing to avoid polluting log files with first SRM activity
Initial version of shared-state diagnose status
pool: Fix problems with restoring permanent migration jobs

Addresses a regression introduced in 2.6 in how migration jobs are
restored on pool startup. The issue was that restored migration jobs
would have "null" as the command string, which would show up in
migration ls and migration info output, as well as stored back to
the pool setup file when the save command was used. In the latter
case, a subsequent pool restart would fail.

Target: trunk
Request: 2.6
Require-notes: yes
Require-book: no