Project

General

Profile

Bug #45834

Updated by Sebastian Wagner almost 4 years ago

The orchestrator behaves unexpectedly with apply mds. Consider the following: 

 I have a ceph cluster running and want cephfs 

 <pre> 
 ceph @ceph orch apply mds cephfs 3 
 </pre> 

 3@ gives me 3 MDS daemons but no cephfs. The "cephfs" argument doesn't seem to do anything. 

 
 Then I created an fs vie  

 <pre> 
 ceph @ceph volume create cephfs 
 </pre> 

 . cephfs@. This reduces the number of MDS daemons to 2. 

 A subsequent call to  

 <pre> 
 ceph @ceph orch apply mds cephfs 3 
 </pre> 

 3@ recreates the initially desired state. 

 I think we should either drop the fs_name argument, as currently it only creates standby MDS daemons anyway (which are not assigned to any fs instance) or create the requested fs instance.

Back