<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>The problem of cinder-scheduler is okay now <br></div><div>after forcing the function <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>def version_is_compatible(imp_version, version):<br>to return True.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>But still the cinder-volume throws error stating that <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>2017-06-22 21:27:31.511 10507 ERROR cinder.cmd.volume [req-cae4f97b-e4b1-498e-bb4c-adfa161069d7 - - - - -] Volume service cloud1@lvm failed to start.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks,<br data-mce-bogus="1"></div><div>S.Gopinath<br data-mce-bogus="1"></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"SGopinath s.gopinath" <s.gopinath@gov.in><br><b>To: </b>"openstack" <openstack@lists.openstack.org><br><b>Sent: </b>Wednesday, June 21, 2017 10:50:47 PM<br><b>Subject: </b>[OpenStack] Cinder-scheduler Ocata<br></div><br><div data-marker="__QUOTED_TEXT__"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hi,</div><br><div>I have problem in running cinder-scheduler.</div><br><div>Platform : Ubuntu 16.04.2 LTS </div><br><div>Pls. find the log of the cinder-scheduler.</div><br><div>The version of cinder-scheduler is 10.0.0</div><br><div>I have checked the configuration, none of the errors could</div><div>meet my eyes.</div><br><div>I googled and find some solution which tweaks few variables,</div><div>but want to carry out preferably with offical patches if any.</div><br><div>The error is </div><br><div> <span style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">2017-06-21 10:20:09.455 2876 ERROR oslo_service.service [req-7f47afcc-49b4-4901-8538-8e943dce23f4 - - - - -] Error starting thread.</span><div style="clear: both;"><br></div></div><br><div>Here is the content of /var/log/cinder/cinder-scheduler.log.</div><br><br><div>Thanks,</div><div>S.Gopinath</div><br><br><div><div>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.</div><div>2017-06-21 10:20:07.472 2876 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt</div><div>2017-06-21 10:20:07.517 2876 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt</div><div>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.</div><div>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@lvm)</div><div>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.</div><div>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.</div><div>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.</div><div>2017-06-21 10:20:09.395 2876 INFO cinder.service [-] Starting cinder-scheduler node (version 10.0.0)</div><div>2017-06-21 10:20:09.420 2876 INFO cinder.manager [req-7f47afcc-49b4-4901-8538-8e943dce23f4 - - - - -] Initiating service 1 cleanup</div><div>2017-06-21 10:20:09.424 2876 INFO cinder.manager [req-7f47afcc-49b4-4901-8538-8e943dce23f4 - - - - -] Service 1 cleanup completed.</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service [req-7f47afcc-49b4-4901-8538-8e943dce23f4 - - - - -] Error starting thread.</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service Traceback (most recent call last):</div><div>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</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service service.start()</div><div>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</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service self.manager.init_host_with_rpc()</div><div>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</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service self.request_service_capabilities(ctxt)</div><div>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</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service volume_rpcapi.VolumeAPI().publish_service_capabilities(context)</div><div>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</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service cctxt.cast(ctxt, 'publish_service_capabilities')</div><div>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</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service self._check_version_cap(msg.get('version'))</div><div>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</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service version_cap=self.version_cap)</div><div>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.</div><div>2017-06-21 10:20:09.455 2876 ERROR oslo_service.service</div><div>root@cloud0:/home/sxg#</div></div><br><br><br><br><br><br><br><br><br><br><br><br><div><div>root@cloud0:/home/sxg# cinder-scheduler --version</div><div>Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.</div><div>10.0.0</div><div>root@cloud0:/home/sxg#</div></div></div><br></div></div></body></html>