Project

Profile

Help

Task #7857

SSHFS mounts are disconected

Added by Mark Zaslavskiy almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Category:
jenkins_slaves
Sprint/Milestone:
Start date:
21.12.2016
Due date:
% Done:

0%

Estimated time:
Target branch:
Test scenario:

https://github.com/OSLL/mdbci/pull/326
https://github.com/OSLL/mdbci/pull/327

Modified https://dev.osll.ru/projects/mdbci/wiki/SSHFS_setup_for_linking_repo_and_LOGS_dir#How-to-check-that-mount-exists

https://dev.osll.ru/projects/mdbci/wiki/How_to_restore_disconnected_SSHFS_mounts_on_slave_

How to check on max-tst-02:

sudo umount $HOME/repo
#wait 2 minutes
mount | grep sshfs

Expected result:
vagrant@max-tst-01.mariadb.com:/home/vagrant/repository on /home/vagrant/repository type fuse.sshfs (rw,nosuid,nodev,relatime,user_id=1001,group_id=1001,allow_other)


Description

Problem - sometimes sshfs is disconnected due to network issues. In such condition we need to:
- auto reconnect
- sync local changes in sshfs mounts

History

#1 Updated by Mark Zaslavskiy almost 4 years ago

Local sync:

scp -r repository/* :/home/vagrant/repository/
scp -r repo/* :/home/vagrant/repo/
scp -r LOGS/* :/home/vagrant/LOGS/

#3 Updated by Mark Zaslavskiy almost 4 years ago

  • Status changed from New to Active / In progress

#4 Updated by Mark Zaslavskiy almost 4 years ago

undone steps:

#5 Updated by Mark Zaslavskiy almost 4 years ago

  • Test scenario updated (diff)

#6 Updated by Mark Zaslavskiy almost 4 years ago

  • Test scenario updated (diff)

#7 Updated by Mark Zaslavskiy almost 4 years ago

  • Status changed from Active / In progress to Review

#8 Updated by Mark Zaslavskiy almost 4 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF