Whamcloud - gitweb
Elena Gryaznova [Thu, 10 Mar 2011 16:46:00 +0000 (19:46 +0300)]
b=19494 "lfs find" hangs when searching for an OST index
i=Emoly.Liu
i=Johann.Lombardi <johann@whamcloud.com>
- new test_88 "lfs find identifies the missing striped file segments"
- exit_status () egrep pattern fix
hongchao.zhang [Mon, 28 Feb 2011 19:38:46 +0000 (03:38 +0800)]
b=24194 increase reseed count to mitigate inconsistence in OST allocation
in alloc_rr, "LOV_CREATE_RESEED_MULT" and "LOV_CREATE_RESEED_MIN" is increased
to mitigate the inconsistence in OST allocation.
i=johann
i=andreas.dilger
Elena Gryaznova [Wed, 2 Mar 2011 21:04:39 +0000 (00:04 +0300)]
b=24451 racer test cleanup
i=Vladimir.Saveliev
i=Andrew.Perepechko <Andrew_Perepechko@xyratex.com>
- modify racer/racer.sh to wait the process killed,
exit 1 if the process are still existing;
- remove runracer;
Elena Gryaznova [Mon, 28 Feb 2011 19:49:29 +0000 (22:49 +0300)]
b=19649 sanity test_77j fix
i=Johann.Lombardi <johann@whamcloud.com>
Elena Gryaznova [Mon, 28 Feb 2011 19:05:32 +0000 (22:05 +0300)]
b=24426 add ERRLOG suffix to not ovewrite the lustre logs
i=Vladimir.Saveliev
Vitaly Fertman [Tue, 22 Feb 2011 10:29:54 +0000 (13:29 +0300)]
b=24420 avoid an LASSERT on recovery
o=Diego.Moreno
i=tappro
i=vitaly
Vitaly Fertman [Tue, 22 Feb 2011 10:29:53 +0000 (13:29 +0300)]
b=24375 Fix a race between completion and enqueue
o=green
i=vitaly
i=vs
ldlm_enqueue_tail does not obtain proper lockng when checking lock mode to see
if the lock is granted, so there is a window where ldlm_handle_completion_ast
can update lvb with correct data, but beforeit has a chance to update the lock
mode, the ldlm_enqueue_tail will check the lock mode and since the lock is not
granted yet, it will overwrite correct lvb with stale value from enqueue time.
Jian Yu [Tue, 22 Feb 2011 11:15:56 +0000 (19:15 +0800)]
b=24050 fix lustre_start to start server targets in the order of MGS->MDT->OST(s)
i=vitaly.fertman
Vladimir Saveliev [Thu, 17 Feb 2011 19:16:26 +0000 (22:16 +0300)]
b=24426 run_one(): run error() once
there is no reason to run error() (and lctl dk thereby) more than once
second lctl dk overwrites the most important logs obtained on first lctl dk
i=grev
LaiSiYao [Fri, 18 Feb 2011 15:31:40 +0000 (23:31 +0800)]
b=23787 Modified struct lprocfs_percpu to be C99 compliant.
i=yangsheng
Elena Gryaznova [Thu, 17 Feb 2011 14:17:43 +0000 (17:17 +0300)]
b=24432 mount_lustre.c/parse_options() fix
o=Chris.Horn <hornc@cray.com>
i=Elena.Gryaznova
to differentiate between 'force*' and 'force'
Vitaly Fertman [Thu, 17 Feb 2011 13:45:57 +0000 (16:45 +0300)]
b=22168 write-append-truncate: retry write when receives EINTR.
r=jian.yu
r=vitaly.fertman
Vitaly Fertman [Wed, 16 Feb 2011 20:16:33 +0000 (23:16 +0300)]
b=22984 change all references to tune.ldiskfs in lustre to tunefs.ldiskfs
o=girish
i=adilger
i=johann
Vitaly Fertman [Wed, 16 Feb 2011 20:16:32 +0000 (23:16 +0300)]
b=21135 calculate Use% for "lfs df" the same way as standard "df"
o=andreas
i=girish
i=simmonsja
Elena Gryaznova [Mon, 14 Feb 2011 17:25:35 +0000 (20:25 +0300)]
b=19944 adjust debug size to be -gt num_possible_cpus()
a=Landen <zhiyong.tian@oracle.com>
i=Elena.Gryaznova
Elena Gryaznova [Mon, 14 Feb 2011 16:53:09 +0000 (19:53 +0300)]
b=23670 exit_status () fix
i=Vladimir.Saveliev
Jian Yu [Sat, 12 Feb 2011 03:08:49 +0000 (11:08 +0800)]
b=23430 fix sanity-quota test 14a to write file in O_DIRECT mode
o=andrew.perepechko
i=johann.lombardi
i=landen
Elena Gryaznova [Tue, 8 Feb 2011 22:10:31 +0000 (01:10 +0300)]
b=24374 lov_dump_user_lmm_header () fix
i=Johann
Terry Rutledge [Wed, 2 Feb 2011 22:26:37 +0000 (14:26 -0800)]
Updated version for 1.8.6 Build 03.
Lai Siyao [Wed, 2 Feb 2011 12:45:02 +0000 (13:45 +0100)]
b=23064 create proper macro check for bdi interface
i=johann
Johann Lombardi [Wed, 2 Feb 2011 12:39:32 +0000 (13:39 +0100)]
add missing changelog entries
Liang Zhen [Mon, 31 Jan 2011 08:18:29 +0000 (16:18 +0800)]
b=14846 dynamically grow/shrink connd threads pool
i=isaac
if multiple nodes are down, all socklnd connds could be blocked for a
long while, we can workaround this by increase default nconnds but it
always requires to have unnecessary number of threads.
This patch can support dynamically grow/shrink connd threads pool, it
can create new thread if there's pending active connecting, it will
kill some threads if there are too many idle connds.
Liang Zhen [Fri, 19 Nov 2010 03:47:07 +0000 (11:47 +0800)]
b=24218 fix contention on ksock_tx_t
i=isaac
If a connection is closed before ksocknal_transmit() returns to
ksocknal_process_transmit(), then nobody has refcount on conn::ksnc_sock
and all pending ZC requests will be finalized by
ksocknal_connsock_decref->ksocknal_finalize_zcreq, ksocknal_finalize_zcreq
will mark not-acked ZC request as error by setting tx::tx_reside = -1.
This is race because ksocknal_process_transmit() will check tx::tx_resid
right after calling ksocknal_transmit(), and it can get
tx->tx_resid != 0 and rc == 0 then hit later LASSERT(rc < 0).
Elena Gryaznova [Tue, 1 Feb 2011 11:42:05 +0000 (14:42 +0300)]
b=23983 mmp test_10 fix
i=Vladimir.Saveliev
Götz Waschk [Mon, 31 Jan 2011 13:55:04 +0000 (14:55 +0100)]
Fix rhel6 build issue
Johann Lombardi [Mon, 31 Jan 2011 13:46:45 +0000 (14:46 +0100)]
b=23499 add changelog entry
Bobi Jam [Mon, 31 Jan 2011 13:33:49 +0000 (21:33 +0800)]
b=23499 ASSERTION(atomic_read(&client_stat->nid_exp_ref_count) == 0)
i=johann
i=liang
In lprocfs_exp_setup(), we need release old stats in all cases.
Johann Lombardi [Mon, 31 Jan 2011 13:32:08 +0000 (14:32 +0100)]
b=23729 cancel_lru_locks not working cause some locks are still in cache from mmap files
Fix sanity-benchmark.sh to remove files after fsx otherwise client keeps locks acquired for mmap files in cache.
Johann Lombardi [Mon, 31 Jan 2011 08:31:01 +0000 (09:31 +0100)]
b=21581 change wrong URL
Brian J. Murrell [Fri, 28 Jan 2011 22:00:53 +0000 (17:00 -0500)]
b=21581 fix typo; add Fedora
Fix a typo.
Add Fedora for the yum cases per Andreas.
LU-47
Change-Id: Ie4e6fd9860dcd1c6280cdd907c54bd2e50aab7cc
Johann Lombardi [Fri, 28 Jan 2011 08:51:23 +0000 (09:51 +0100)]
b=24427 hopefully the last libcfs_memory_pressure_* fix for liblustre
Johann Lombardi [Fri, 28 Jan 2011 08:33:08 +0000 (09:33 +0100)]
b=24427 another userspace fix for libcfs_memory_pressure_restore()
Johann Lombardi [Fri, 28 Jan 2011 07:40:18 +0000 (08:40 +0100)]
b=24427 define libcfs_memory_pressure_get for userspace
Johann Lombardi [Fri, 28 Jan 2011 07:32:14 +0000 (08:32 +0100)]
Revert "b=21776 make sure libcfs_memory_pressure_get is declared before using it in LNetPut()"
This reverts commit
941880626e036fc48f31e13c5b71bb1118346d5c.
This patch does not help ...
Johann Lombardi [Thu, 27 Jan 2011 22:13:21 +0000 (23:13 +0100)]
b=21776 make sure libcfs_memory_pressure_get is declared before using it in LNetPut()
Brian J. Murrell [Thu, 27 Jan 2011 19:52:02 +0000 (14:52 -0500)]
b=21581 too long file / path names for old tar
Instruct automake to use tar's ustar format to prevent errors when
pathnames are longer than 99 characters.
- this requires automake >= 1.9, so adjust accordingly
- including dealing with multiple versions of automake installed
i=adilger
Issue: LU-47
Change-Id: Iaafcb3573c164c2b0e3efd60eb4223dc93bf1493
Elena Gryaznova [Thu, 27 Jan 2011 13:58:48 +0000 (14:58 +0100)]
b=24410 exit with error if NFSCLIENT is set, but no nfs export found
Johann Lombardi [Thu, 27 Jan 2011 13:56:59 +0000 (14:56 +0100)]
b=24388 remove another file inadvertently added by previous commit
Johann Lombardi [Thu, 27 Jan 2011 13:54:48 +0000 (14:54 +0100)]
b=24388 remove files inadvertently added by previous commit
Elena Gryaznova [Thu, 27 Jan 2011 13:52:47 +0000 (14:52 +0100)]
b=24388 sgpdd-survey fix: use node_var_name () for variables
i=andrew
Isaac Huang [Thu, 27 Jan 2011 13:49:27 +0000 (14:49 +0100)]
b=21776 Set PF_MEMALLOC on outgoing path to prevent deadlock on memory allocation under pressure
i=johann
i=dmitry
i=maxim
Johann Lombardi [Thu, 27 Jan 2011 13:38:37 +0000 (14:38 +0100)]
b=22980 init_logging does not exist in 1.8
Brian J. Murrell [Wed, 26 Jan 2011 19:38:18 +0000 (14:38 -0500)]
b=24417 Update Build-Depends
- remove texlive-latex-recommended as a build requirement
- add missing "| automake1.7 | automake1.8 | automake1.9" to
debian/control.main
Issue: LU-52
Change-Id: I53b54a068e2dc5cf8704235031ca198784bab6c9
Brian J. Murrell [Wed, 26 Jan 2011 19:38:17 +0000 (14:38 -0500)]
b=24416 debian packaging fixes
- don't make a patch out of anything in /debian
- exclude noise files from the debian built source tarball
- fake debian/patche{s,d} for make dist
- a few more reasons to run autogen.sh
- figure out if dist tarball needs autogen.shs and include it if so
- look for and run autogen.sh in the build subdir
- make debdiff as part of make dist
- add a debian/source/format file
- mv the orig tarball and the debdiff to the debs dir
- don't try to dist /debian for non-dpkg-using build targets
Issue: LU-51
Brian J. Murrell [Wed, 26 Jan 2011 16:05:41 +0000 (11:05 -0500)]
b=24413 fix for automake > 1.9.6
We seem to be using a Makefile variable that does not exist in more
recent versions of automake. This fixes that problem.
i=oleg
v=hudson@whamcloud
Issue: LU-48
Change-Id: I886b54583b444c4911e71ae6ba6836a8ce075dd5
Terry Rutledge [Wed, 26 Jan 2011 19:02:44 +0000 (11:02 -0800)]
Revert "b=24413 fix for automake > 1.9.6"
This reverts commit
9aaebdf27eefe38f846b89ea738dd0f4f3e16d8e.
Brian J. Murrell [Wed, 26 Jan 2011 16:05:41 +0000 (11:05 -0500)]
b=24413 fix for automake > 1.9.6
We seem to be using a Makefile variable that does not exist in more
recent versions of automake. This fixes that problem.
i=oleg
v=hudson@whamcloud
Issue: LU-48
Change-Id: I886b54583b444c4911e71ae6ba6836a8ce075dd5
Niu Yawei [Wed, 26 Jan 2011 07:28:59 +0000 (23:28 -0800)]
b=22980 Support unlocked_ioctl
Adding 'unlocked_ioctl' for performance sensitive ioctls, such as OBD_IOC_BRW_READ/WRITE
i=andreas
i=johann
Change-Id: I963aaad6bf9e2fdf9b70f15659e5ad47180e0d5a
Vitaly Fertman [Wed, 26 Jan 2011 15:22:15 +0000 (18:22 +0300)]
b=24320 do not fork a new thread in mem pressure
i=johann
i=green
we already check for PF_MEMALLOC in ldlm shrinker and pass this flag
to the blocking thread, but a new thread start was still done with
no check for this flag.
Johann Lombardi [Tue, 25 Jan 2011 17:07:20 +0000 (18:07 +0100)]
b=24245 fix SA perf test to support SA disabled by default
Bob Glossman [Mon, 24 Jan 2011 14:17:35 +0000 (15:17 +0100)]
b=17275 make lustre client less verbose at startup time for Cray
i=johann
niu [Mon, 24 Jan 2011 13:10:07 +0000 (14:10 +0100)]
b=24360 fix NULL pointer deref in mds_verify_child() when ll_lookup_one_len() fails
i=johann
Andreas Dilger [Tue, 30 Nov 2010 23:22:14 +0000 (16:22 -0700)]
b=20563 Fix fid_flatten() after 1 trillion SEQ numbers
Fix the fid_flatten() function to properly handle FID mapping to
64-bit inode numbers, after the first 1 trillion SEQ numbers have
been granted out. Even with CMD this would only happen after
1024 MDTs have each had 1B client mounts, so there is little risk
of introducing collisions as a result of this change, and at worst
this is a client-local phenomenon that is not persistent.
Andreas Dilger [Tue, 30 Nov 2010 22:58:29 +0000 (15:58 -0700)]
b=20563 Fix fid_flatten32() to not lose OID bits
The original implementation of fid_flatten32() was broken due to an
error in the shift calculation (note to self - "0x00" is 8 bits, not
16 bits). This could negatively impact 32-bit clients that were
creating more than 64k files in the same directory.
This 32-bit inode number is visible only within a single client mount,
is not used in any persistent storage, and only if a 2.x server is in
use (which is basically none today) by a 32-bit client, so there is no
issue to change it at this time.
Joseph Herring [Mon, 24 Jan 2011 12:58:03 +0000 (13:58 +0100)]
b=22660 Return kernel's locking return code to when lustre reports success
i=johann
i=andrew
Zhang HongChao [Mon, 24 Jan 2011 12:53:25 +0000 (13:53 +0100)]
b=23352 modified value of at_min is not taken into account
i=Johann
i=Eri Mei
Dmitry Zogin [Mon, 18 Oct 2010 19:20:47 +0000 (15:20 -0400)]
b=22378 Correct MDS client stats
sanity test_133b fails with "The getattr counter on mds is wrong"
message.
i=Andrew Perepechko
Johann Lombardi [Thu, 20 Jan 2011 13:15:47 +0000 (14:15 +0100)]
b=15962 disable statahead by default due to important races found in the code
Bernd Schubert [Thu, 20 Jan 2011 12:39:18 +0000 (13:39 +0100)]
b=22882 MMP might sleep negative time
i=adilger
i=girish
Christopher Morrone [Thu, 20 Jan 2011 12:24:48 +0000 (13:24 +0100)]
b=21456 Patch to support lnet v1 pings in 'lctl ping'
i=maxim
i=isaac
Johann Lombardi [Wed, 19 Jan 2011 14:14:22 +0000 (15:14 +0100)]
bump version to 1.8.5.53
Johann Lombardi [Wed, 19 Jan 2011 14:12:17 +0000 (15:12 +0100)]
b=23988 Remove sd iostats patch from sles11 patch series
Terry Rutledge [Tue, 11 Jan 2011 16:37:12 +0000 (08:37 -0800)]
Updated version for 1.8.6 build 02.
Johann Lombardi [Fri, 7 Jan 2011 08:26:20 +0000 (09:26 +0100)]
add missing changelog entries
Andreas Dilger [Thu, 6 Jan 2011 04:41:02 +0000 (21:41 -0700)]
b=24039 actually add exit_traps.sh to EXTRA_DIST
Andreas Dilger [Thu, 6 Jan 2011 04:41:01 +0000 (21:41 -0700)]
b=23122 make exit_traps.sh executable
While bug 24093 added exit_traps.sh to the make dist list, it is
not an executable file to start with. Fix this in the git repo.
Brian J. Murrell [Fri, 26 Nov 2010 21:08:25 +0000 (05:08 +0800)]
b=24093 not all build files/scripts being distributed
Some files that need to be are not being included in the tarball
when make dist is being run.
i=cliff
i=minh
Brian J. Murrell [Fri, 26 Nov 2010 21:08:26 +0000 (05:08 +0800)]
b=24087 reverse order of $LINUX{,_OBJ}/include
It is important that /usr/src/linux-...-obj/include is searched for
includes before /usr/src/linux-.../include so that the inclusion of
"include/linux/autoconf.h" picks up the one for the kernel we are
trying to build against, and not the one for the currently running
kernel, which is what is in /usr/src/linux-.../ copy is.
i=wangyb
i=cliff
Elena Gryaznova [Fri, 24 Dec 2010 14:56:02 +0000 (17:56 +0300)]
b=24294 test_pios: take the ost-s sizes into account
i=Vitaly.Fertman
remove obsolete workaround bug19657 part
Elena Gryaznova [Thu, 23 Dec 2010 20:37:13 +0000 (23:37 +0300)]
b=23793 MOUNTOPT "-o" cleanup
i=Minh.Diep
Elena Gryaznova [Wed, 22 Dec 2010 22:43:49 +0000 (01:43 +0300)]
b=23051 improve summary of acc-sm to include test times
i=Andrew.Perepechko
acceptance-small test suites name cleanup:
- rename sanityN -> sanityn, lfscktest -> lfsck
- add racer.sh, liblustre.sh scripts
- remove fsx,bonnie,dbench,iozone.lfsck parts
Elena Gryaznova [Wed, 22 Dec 2010 20:16:47 +0000 (23:16 +0300)]
b=23051 improve summary of acc-sm to include test times
i=Andreas.Dilger
i=Andrew.Perepechko
Jeremy Filizetti [Wed, 22 Dec 2010 03:21:00 +0000 (11:21 +0800)]
b=23081 Move llap page to tail instead of head.
i=adilger
i=johann
James Simmons [Wed, 22 Dec 2010 19:56:56 +0000 (22:56 +0300)]
b=24226 typo fix for sanity test 72
i=Elena Gryaznova
Mikhail Pershin [Tue, 21 Dec 2010 07:01:38 +0000 (10:01 +0300)]
b=20394 correct check for transno value in filter_finish_transno
i=tappro,johann
Mikhail Pershin [Tue, 21 Dec 2010 06:54:27 +0000 (09:54 +0300)]
b=24048 Set body->eadatasize in mdc_getattr_pack()
i=adilger, johann
Elena Gryaznova [Mon, 20 Dec 2010 21:13:17 +0000 (00:13 +0300)]
b=18717 make "lfs check" output consistent on stdout
o=Andreas.Dilger
i=Brian.Murrell
i=Elena.Gryaznova
Elena Gryaznova [Mon, 20 Dec 2010 16:40:09 +0000 (19:40 +0300)]
b=23049 canonicalize disk names
o=Brian.Murrell
i=grev
Elena Gryaznova [Mon, 20 Dec 2010 16:11:01 +0000 (19:11 +0300)]
b=23049 various t-f.sh patches
o=Brian.Murrell
i=grev
rundbench is a bash script;
obdfilter-survey is a bash script;
don't su if MPI_USER == "";
Elena Gryaznova [Mon, 20 Dec 2010 16:00:58 +0000 (19:00 +0300)]
b=23049 set path to truncate
i=Brian.Murrell
Elena Gryaznova [Mon, 20 Dec 2010 12:07:25 +0000 (15:07 +0300)]
b=22544 delete module_setup.sh
i=Brian.Murrell
Elena Gryaznova [Mon, 20 Dec 2010 11:48:38 +0000 (14:48 +0300)]
b=24039 lfs setstripe --pool broken
i=Andreas.Dilger
i=Vladimir.Saveliev
Elena Gryaznova [Mon, 20 Dec 2010 09:28:37 +0000 (12:28 +0300)]
b=24239 use SAMPLE_FILE instead of termcap
i=Vitaly.Fertman
Elena Gryaznova [Mon, 20 Dec 2010 09:14:19 +0000 (12:14 +0300)]
b=24266 increase replay-single test_70d dbench duration for HARD failure mode
i=Mikhail.Pershin
James Simmons [Fri, 17 Dec 2010 22:57:43 +0000 (23:57 +0100)]
b=24226 Only force the mode change if we're changing the size as well
i=johann
The offending code was added by commit
77ba4b2141d04180211efa8a75c11ab0abf7fafb to remove
setgid/setuid bits when do_truncate() is called on the file. We should only force the change when
that occurs, similarly to ll_setattr() in lustre/llite/llite_lib.c
Johann Lombardi [Fri, 17 Dec 2010 22:47:38 +0000 (23:47 +0100)]
Revert "b=23787 make struct lprocfs_percpu definition C99 compliant"
This reverts commit
46ff2dd66e91530f804d5b2321e58827f71e0251.
This is causing build errors.
Johann Lombardi [Fri, 17 Dec 2010 16:04:20 +0000 (17:04 +0100)]
change version to 1.8.5.51
Andreas Dilger [Fri, 17 Dec 2010 16:01:15 +0000 (17:01 +0100)]
b=19808 fix d_obtain_alias() misuse due to compat macro
i=oleg
i=yangsheng
Landen [Fri, 17 Dec 2010 06:46:28 +0000 (14:46 +0800)]
b=24055 a patch to detect if quota is turned on properly
i=johann
i=panda
Landen [Fri, 17 Dec 2010 06:46:29 +0000 (14:46 +0800)]
b=22546 fix errors in test_18c
i=johann
i=panda
Jian Yu [Fri, 17 Dec 2010 01:25:35 +0000 (09:25 +0800)]
b=24245 skip sanity test 123 under 1.8 <-> 2.x interoperability mode
statahead is disabled automatically under 1.8 <-> 2.x interoperability
mode
i=grev
Andreas Dilger [Thu, 23 Sep 2010 19:17:19 +0000 (13:17 -0600)]
b=23821 Limit bio_alloc() to BIO_MAX_PAGES iovecs.
Fix logic error when patch was originally landed from b=9945.
i=alex.zhuravlev
i=kwestneat
Andrew Perepechko [Fri, 17 Dec 2010 00:32:35 +0000 (03:32 +0300)]
fix the formatting in filter_do_bio
Dmitry Zogin [Fri, 17 Dec 2010 00:23:15 +0000 (03:23 +0300)]
b=23787 make struct lprocfs_percpu definition C99 compliant
i=Andreas Dilger
i=Andrew Perepechko
Dmitry Zogin [Fri, 17 Dec 2010 00:18:07 +0000 (03:18 +0300)]
b=23786 make lh_exit code C99 compliant
Based on the patch from Kenneth D. Matney, Sr. <matneykdsr@ornl.gov>
i=Andreas Dilger
i=Andrew Perepechko
Bernd Schubert [Fri, 17 Dec 2010 00:09:07 +0000 (03:09 +0300)]
b=23157 do not crash on wrong network message in filter_connect_internal
Minh Diep [Thu, 16 Dec 2010 23:06:13 +0000 (16:06 -0700)]
b=24270 need to mkdir mntpt before mount
i=Elena
Andreas Dilger [Thu, 16 Dec 2010 17:36:38 +0000 (20:36 +0300)]
b=16605 don't LASSERT on unverified client data in filter_parent
i=Johann Lombardi
i=Andrew Perepechko
Vladimir Saveliev [Tue, 14 Dec 2010 12:30:12 +0000 (15:30 +0300)]
b=13698 llapi_get_version
this uses OBD_GET_VERSION ioctl to obtain lustre version
i=andreas.dilger
Elena Gryaznova [Mon, 13 Dec 2010 13:32:55 +0000 (16:32 +0300)]
b=23961 fix for setup with several network interfaces
i=Andrew.Perepechko
- metadata-updates fix for setup when several interfaces are UP on host;
hostname could be assigned to IP which is different from lnet network used,
the hostname-s of NODES_TO_USE are now stored in HOSTS
- new SHUTDOWN_ATTEMPTS: the tunable number of attepts to shutdown node
- shutdown_node_hard () fix: do not call "power off" each time,
wait that the node is not pingable before the next "power off" attempt
- unused check_port() is removed