[Openstack] [OpenStack] Cinder-scheduler Ocata

SGopinath s.gopinath s.gopinath at gov.in
Thu Jun 22 10:21:36 UTC 2017


The problem of cinder-scheduler is okay now 
after forcing the function 

def version_is_compatible(imp_version, version): 
to return True. 

But still the cinder-volume throws error stating that 

2017-06-22 21:27:31.511 10507 ERROR cinder.cmd.volume [req-cae4f97b-e4b1-498e-bb4c-adfa161069d7 - - - - -] Volume service cloud1 at lvm failed to start. 


Thanks, 
S.Gopinath 


From: "SGopinath s.gopinath" <s.gopinath at gov.in> 
To: "openstack" <openstack at lists.openstack.org> 
Sent: Wednesday, June 21, 2017 10:50:47 PM 
Subject: [OpenStack] Cinder-scheduler Ocata 

Hi, 

I have problem in running cinder-scheduler. 

Platform : Ubuntu 16.04.2 LTS 

Pls. find the log of the cinder-scheduler. 

The version of cinder-scheduler is 10.0.0 

I have checked the configuration, none of the errors could 
meet my eyes. 

I googled and find some solution which tweaks few variables, 
but want to carry out preferably with offical patches if any. 

The error is 

2017-06-21 10:20:09.455 2876 ERROR oslo_service.service [req-7f47afcc-49b4-4901-8538-8e943dce23f4 - - - - -] Error starting thread. 


Here is the content of /var/log/cinder/cinder-scheduler.log. 


Thanks, 
S.Gopinath 


2017-06-21 10:20:06.674 2876 WARNING oslo_reports.guru_meditation_report [-] Guru meditation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports. 
2017-06-21 10:20:07.472 2876 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt 
2017-06-21 10:20:07.517 2876 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt 
2017-06-21 10:20:08.418 2876 INFO cinder.rpc [req-c6b07074-f5ad-4f73-8fa5-fb3e36089b34 - - - - -] Automatically selected cinder-scheduler objects version 1.21 as minimum service version. 
2017-06-21 10:20:09.360 2876 WARNING cinder.scheduler.host_manager [req-c6b07074-f5ad-4f73-8fa5-fb3e36089b34 - - - - -] volume service is down. (host: cloud1 at lvm) 
2017-06-21 10:20:09.366 2876 INFO cinder.rpc [req-c6b07074-f5ad-4f73-8fa5-fb3e36089b34 - - - - -] Automatically selected cinder-volume objects version 1.3 as minimum service version. 
2017-06-21 10:20:09.371 2876 INFO cinder.rpc [req-c6b07074-f5ad-4f73-8fa5-fb3e36089b34 - - - - -] Automatically selected cinder-volume RPC version 2.0 as minimum service version. 
2017-06-21 10:20:09.380 2876 INFO cinder.rpc [req-c6b07074-f5ad-4f73-8fa5-fb3e36089b34 - - - - -] Automatically selected cinder-scheduler RPC version 3.5 as minimum service version. 
2017-06-21 10:20:09.395 2876 INFO cinder.service [-] Starting cinder-scheduler node (version 10.0.0) 
2017-06-21 10:20:09.420 2876 INFO cinder.manager [req-7f47afcc-49b4-4901-8538-8e943dce23f4 - - - - -] Initiating service 1 cleanup 
2017-06-21 10:20:09.424 2876 INFO cinder.manager [req-7f47afcc-49b4-4901-8538-8e943dce23f4 - - - - -] Service 1 cleanup completed. 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service [req-7f47afcc-49b4-4901-8538-8e943dce23f4 - - - - -] Error starting thread. 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service Traceback (most recent call last): 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 722, in run_service 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service service.start() 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 284, in start 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service self.manager.init_host_with_rpc() 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/cinder/scheduler/manager.py", line 83, in init_host_with_rpc 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service self.request_service_capabilities(ctxt) 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/cinder/scheduler/manager.py", line 213, in request_service_capabilities 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service volume_rpcapi.VolumeAPI().publish_service_capabilities(context) 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/cinder/volume/rpcapi.py", line 255, in publish_service_capabilities 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service cctxt.cast(ctxt, 'publish_service_capabilities') 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 144, in cast 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service self._check_version_cap(msg.get('version')) 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 121, in _check_version_cap 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service version_cap=self.version_cap) 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service RPCVersionCapError: Requested message version, 3.0 is incompatible. It needs to be equal in major version and less than or equal in minor version as the specified version cap 2.0. 
2017-06-21 10:20:09.455 2876 ERROR oslo_service.service 
root at cloud0:/home/sxg# 












root at cloud0:/home/sxg# cinder-scheduler --version 
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future. 
10.0.0 
root at cloud0:/home/sxg# 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170622/654bf12f/attachment.html>


More information about the Openstack mailing list