Project

General

Profile

Bug #55316

Updated by Rishabh Dave almost 2 years ago

Currently for the vstart_runner.py it only support mon/mds/osd: 

 <pre> 
  839       def get_config(self, key, service_type=None):                                                                                                  
  840           if service_type is None: 
  841               service_type = 'mon' 
  842    
  843           # FIXME hardcoded vstart service IDs 
  844           service_id = { 
  845               'mon': 'a', 
  846               'mds': 'a', 
  847               'osd': '0' 
  848           }[service_type] 
  849    
  850           return self.json_asok(['config', 'get', key], service_type, service_id)[key] 
 </pre> 

 We need to support the client service type, because some options only exist in the client daemons. 

 For more better context see: https://github.com/ceph/ceph/pull/45869#pullrequestreview-946808926

Back