Project

General

Profile

Bug #12167

Updated by Kefu Chai almost 9 years ago

I reboot a new OSD VM after creating and activating the OSD using ceph-deploy.    I get the following backtrace after noticing that the OSD did not start.   

 Command used:sudo /etc/init.d/ceph start 

 <pre> 
 Traceback (most recent call last): 
   File "/usr/bin/ceph-detect-init", line 5, in <module> 
     from pkg_resources import load_entry_point 
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3074, in <module> 
     @_call_aside 
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3060, in _call_aside 
     f(*args, **kwargs) 
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3087, in _initialize_master_working_set 
     working_set = WorkingSet._build_master() 
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 645, in _build_master 
     ws.require(__requires__) 
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 946, in require 
     needed = self.resolve(parse_requirements(requirements)) 
   File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 833, in resolve 
     raise DistributionNotFound(req, requirers) 
 pkg_resources.DistributionNotFound: The 'argparse' distribution was not found and is required by ceph-detect-init 
 ERROR:ceph-disk:Failed to activate 
 ceph-disk: Command '/usr/bin/ceph-detect-init' returned non-zero exit status 1 
 ceph-disk: Error: One or more partitions failed to activate 
 </pre> 

Back