Project

General

Profile

Bug #46414

Updated by Dan van der Ster almost 4 years ago

      Installing 15.2.1 on Ubuntu 20.04 yields this warning: 
    
     Setting up python3-cephfs (15.2.1-0ubuntu1) ... 
     /usr/lib/python3/dist-packages/ceph_volume_client.py:358: SyntaxWarning: "is not" with a literal. Did you mean "!="? 
       group_id = group_id if group_id is not 'None' else None 
     /usr/lib/python3/dist-packages/ceph_volume_client.py:381: SyntaxWarning: "is" with a literal. Did you mean "=="? 
       readonly = True if access_level is 'r' else False 
     /usr/lib/python3/dist-packages/ceph_volume_client.py:1102: SyntaxWarning: "is" with a literal. Did you mean "=="? 
       unwanted_access_level = 'r' if want_access_level is 'rw' else 'rw' 
    
     Make the suggested changes. 
 Pls backport https://github.com/ceph/ceph/pull/34637 to Octopus

Back