Project

General

Profile

Bug #56476

Updated by Rishabh Dave almost 2 years ago

In "@4-compat_client.yaml@":https://github.com/ceph/ceph/blob/main/qa/suites/fs/upgrade/featureful_client/upgraded_client/tasks/4-compat_client.yaml creates two clients, evicts one of them but the evicted client is left unhandled which leads to failure for final teardown - 

 <pre> 
 - fs.clients_evicted: 
     clients: 
       client.0: False 
       client.1: True 
 </pre> 

 The evicted client is not cleaned up later, that is, it is left unmounted and the mount point is left undeleted. This doesn't cause any failure during final teardown for main branch but, with PR number 45036, it does lead to teuthology job failures every time. 

 With PR 45036, #45036, the "qa/cephfs" code does not depend (anymore) on the value of the attribute "is_mounted" to check if a CephFS has been unmounted or not. Instead, delete the attribute "is_mounted" it and runs the command "findmnt <mntpt>" to check if the client was actually unmounted from the system's FS. 

 Operating on a CephFS mount point after the client has been evicted causes the operation to hang. Thus, with PR 45036, #45036, the final teardown for this teuthology job fails every time. 

 The fix for this is too run @umount -f@ for the mountpoint of evicted client and delete the mountpoint. Then, final teardown will run fine with PR 45036 #45036 too.

Back