ceph/qa/suites/krbd
Ilya Dryomov 5011cc926c qa/suites/krbd: run unmap subsuite with msgr1 only
pre-single-major.yaml kernel doesn't have any of the monitor client
fixes that came in 4.6.  If the connection is closed, it closes the
session and retries only after 10 seconds.  On top of that, there is
nothing to prevent it from picking the same monitor when reconnecting.
This means that when given both v1 and v2 ports (which look like two
different monitors), it is susceptible to mount_timeout (60 seconds):

  $ sudo rbd map img
  rbd: sysfs write failed
  In some cases useful info is found in syslog - try "dmesg | tail".
  rbd: map failed: (5) Input/output error

  [  822.242313] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  832.265494] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  842.296175] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  852.326924] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  862.357611] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  872.388373] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  882.676136] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)

Unlike newer kernels that return ETIMEDOUT, it returns EIO.

Newer kernels are much more aggressive about retries and will pick
a different monitor when reconnecting, hence they are always able to
establish the session in time.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-10-30 19:51:55 +01:00
..
basic krbd: modprobe before calling build_map_buf() 2019-10-17 16:52:43 +02:00
fsx qa: more tries for mon tell when injecting msgr failures 2019-10-11 14:16:42 -05:00
rbd qa: more tries for mon tell when injecting msgr failures 2019-10-11 14:16:42 -05:00
rbd-nomount qa: add script to stress udev_enumerate_scan_devices() 2019-10-25 22:05:38 +02:00
singleton qa: more tries for mon tell when injecting msgr failures 2019-10-11 14:16:42 -05:00
thrash
unmap qa/suites/krbd: run unmap subsuite with msgr1 only 2019-10-30 19:51:55 +01:00
wac qa: more tries for mon tell when injecting msgr failures 2019-10-11 14:16:42 -05:00
.qa