https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842019-08-20T12:13:08ZopenSUSE Project Management ToolopenQA Infrastructure - action #55757: OSD ftp service has problem: NFS mount on qanet did not handle move of assets folder on osd (or reboot) gracefullyhttps://progress.opensuse.org/issues/55757?journal_id=2366692019-08-20T12:13:08Zokurzokurz@suse.com
<ul><li><strong>Assignee</strong> changed from <i>nicksinger</i> to <i>okurz</i></li></ul><p>I can see from <code>journalctl -u vsftpd</code> on osd:</p>
<pre><code>Aug 20 13:44:19 openqa vsftpd[29454]: [ftp] FAIL DOWNLOAD: Client "::ffff:10.163.1.98", "/assets/repo/fixed/SLE-12-SP4-Server-DVD-x86_64-GM-DVD1/boot/x86_64/loader/linux", 0.00Kbyte/sec
Aug 20 13:44:25 openqa vsftpd[29617]: [ftp] OK LOGIN: Client "::ffff:10.160.1.100", anon password "yast@17.11.4"
Aug 20 13:44:25 openqa vsftpd[29623]: [ftp] OK DOWNLOAD: Client "::ffff:10.160.1.100", "/SLE-15-SP2-Staging:A-Module-Basesystem-POOL-x86_64-Build27.1-Media1/repodata/repomd.xml", 9125 bytes, 9350.61Kbyte/sec
</code></pre>
<p>so downloading works but the path /assets/repo/fixed/… doesn't . I wonder how that ever worked because the vsftpd config simply has <code>anon_root=/var/lib/openqa/factory/repo/</code></p>
openQA Infrastructure - action #55757: OSD ftp service has problem: NFS mount on qanet did not handle move of assets folder on osd (or reboot) gracefullyhttps://progress.opensuse.org/issues/55757?journal_id=2367652019-08-20T12:54:45Zokurzokurz@suse.com
<ul></ul><p>On qanet:</p>
<pre><code>qanetnue:~ # cat /etc/fstab
…
openqa.suse.de:/var/lib/openqa/share/factory /mnt/openqa nfs ro,defaults 0 0
qanetnue:~ # ls /mnt/openqa
ls: cannot access /mnt/openqa: Stale NFS file handle
qanetnue:~ # umount /mnt/openqa
qanetnue:~ # mount -a
qanetnue:~ # ls /mnt/openqa/
hdd iso other repo tmp
</code></pre>
<p>retriggered job -> <a href="https://openqa.suse.de/tests/3271515" class="external">https://openqa.suse.de/tests/3271515</a></p>
<p>Seems like on qanet the nfs mount is not handling a reboot of OSD gracefully. As qanet is SLE11SP3 I would start with an upgrade first :)</p>
openQA Infrastructure - action #55757: OSD ftp service has problem: NFS mount on qanet did not handle move of assets folder on osd (or reboot) gracefullyhttps://progress.opensuse.org/issues/55757?journal_id=2367832019-08-20T12:58:04Zokurzokurz@suse.com
<ul><li><strong>Subject</strong> changed from <i>OSD ftp service has problem</i> to <i>OSD ftp service has problem: NFS mount on qanet did not handle osd reboot gracefully</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> openQA Infrastructure - action #55757: OSD ftp service has problem: NFS mount on qanet did not handle move of assets folder on osd (or reboot) gracefullyhttps://progress.opensuse.org/issues/55757?journal_id=2367922019-08-20T13:14:55Zokurzokurz@suse.com
<ul><li><strong>Subject</strong> changed from <i>OSD ftp service has problem: NFS mount on qanet did not handle osd reboot gracefully</i> to <i>OSD ftp service has problem: NFS mount on qanet did not handle move of assets folder on osd (or reboot) gracefully</i></li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul><p>test has passed this stage again: <a href="https://openqa.suse.de/tests/3271515" class="external">https://openqa.suse.de/tests/3271515</a> . Found one other test that failed in the same step, retriggered.</p>
openQA Infrastructure - action #55757: OSD ftp service has problem: NFS mount on qanet did not handle move of assets folder on osd (or reboot) gracefullyhttps://progress.opensuse.org/issues/55757?journal_id=2369812019-08-21T05:35:39Zxlaixlai@suse.com
<ul></ul><p><a class="user active user-mention" href="https://progress.opensuse.org/users/17668">@okurz</a>, thank you for the quick fix. It is working quite well now from virtualization tests.</p>