<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">I saw something similar when preparing the Ocala upgrade: in our case this was caused by stale entries in the â€˜services' table.</div>
<div class="">So, you may want to check the entries in that table and clean things up if necessary.</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class=""> Arne</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 17 Jun 2017, at 19:59, SGopinath s.gopinath <<a href="mailto:s.gopinath@gov.in" class="">s.gopinath@gov.in</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" class="">
<div class=""><br class="">
</div>
<div class="">Hi,</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">I could not start th cinder-volume service and I'm getting the following error.</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">I pasted here my /etc/cinder/cinder.conf.</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">May please help.</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">Thanks,</div>
<div class="">S.Gopinath</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">/etc/cinder/cinder.conf</div>
<div class="">==================<br class="">
<br class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">
<div class="">[DEFAULT]</div>
<div class="">rootwrap_config = /etc/cinder/rootwrap.conf</div>
<div class="">api_paste_confg = /etc/cinder/api-paste.ini</div>
<div class="">iscsi_helper = tgtadm</div>
<div class="">volume_name_template = volume-%s</div>
<div class="">#volume_group = cinder-volumes</div>
<div class="">verbose = True</div>
<div class="">auth_strategy = keystone</div>
<div class="">state_path = /var/lib/cinder</div>
<div class="">lock_path = /var/lock/cinder</div>
<div class="">volumes_dir = /var/lib/cinder/volumes</div>
<div class="">###SXG</div>
<div class="">transport_url = <a href="rabbit://openstack:OpenStack123@controller" class="">
rabbit://openstack:OpenStack123@controller</a></div>
<div class="">auth_strategy = keystone</div>
<div class="">my_ip = 10.163.61.22</div>
<div class="">enabled_backends = lvm</div>
<div class="">glance_api_servers = <a href="http://controller:9292" class="">http://controller:9292</a></div>
<div class=""><br class="">
</div>
<div class="">###SXG</div>
<div class="">[database]</div>
<div class="">connection = <a href="mysql+pymysql://cinder:CinderOpenStack123@controller/cinder" class="">
mysql+pymysql://cinder:CinderOpenStack123@controller/cinder</a></div>
<div class=""><br class="">
</div>
<div class="">###SXG</div>
<div class="">[keystone_authtoken]</div>
<div class="">auth_uri = <a href="http://controller:5000" class="">http://controller:5000</a></div>
<div class="">auth_url = <a href="http://controller:35357" class="">http://controller:35357</a></div>
<div class="">memcached_servers = controller:11211</div>
<div class="">auth_type = password</div>
<div class="">project_domain_name = default</div>
<div class="">user_domain_name = default</div>
<div class="">project_name = service</div>
<div class="">username = cinder</div>
<div class="">password = CinderOpenStack123</div>
<div class=""><br class="">
</div>
<div class="">###SXG</div>
<div class="">[lvm]</div>
<div class="">volume_drivers = cinder.volume.drivers.lvm.LVMVolumeDriver</div>
<div class="">volume_group = cinder-volumes</div>
<div class="">iscsi_protocol = iscsi</div>
<div class="">iscsi_helper = tgtadm</div>
<div class=""><br class="">
</div>
<div class="">###SXG</div>
<div class="">[oslo_concurrency]</div>
<div class="">lock_path = /var/lib/cinder/tmp</div>
<div class=""><br class="">
</div>
</div>
<div class="">###################################################################END##########################</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">
<div class="">root@cloud1:/etc/cinder# vgs</div>
<div class="">  VG             #PV #LV #SN Attr   VSize  VFree</div>
<div class="">  cinder-volumes   1   0   0 wz--n- 37.22g 37.22g</div>
<div class="">root@cloud1:/etc/cinder# pvs</div>
<div class="">  PV         VG             Fmt  Attr PSize  PFree</div>
<div class="">  /dev/sda4  cinder-volumes lvm2 a--  37.22g 37.22g</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class="">###################################################################################################</div>
<div class="">
<div class="">2017-06-18 05:11:50.953 5230 WARNING oslo_reports.guru_meditation_report [-] Guru mediation 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 class="">2017-06-18 05:11:51.105 5230 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt</div>
<div class="">2017-06-18 05:11:51.183 5230 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt</div>
<div class="">2017-06-18 05:11:51.238 5230 WARNING py.warnings [req-85789cbc-b26c-47c5-be34-035fae86e504 - - - - -] /usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:241: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported</div>
<div class="">  exception.NotSupportedWarning</div>
<div class=""><br class="">
</div>
<div class="">2017-06-18 05:11:51.357 5230 INFO cinder.rpc [req-85789cbc-b26c-47c5-be34-035fae86e504 - - - - -] Automatically selected cinder-scheduler objects version 1.21 as minimum service version.</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume [req-85789cbc-b26c-47c5-be34-035fae86e504 - - - - -] Volume service cloud1@lvm failed to start.</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume Traceback (most recent call last):</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/cmd/volume.py", line 81, in main</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume     binary='cinder-volume')</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 268, in create</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume     service_name=service_name)</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 150, in __init__</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume     *args, **kwargs)</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 235, in __init__</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume     *args, **kwargs)</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/manager.py", line 156, in __init__</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume     self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI()</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/rpc.py", line 188, in __init__</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume     serializer = base.CinderObjectSerializer(obj_version_cap)</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume   File "/usr/lib/python2.7/dist-packages/cinder/objects/base.py", line 412, in __init__</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume     raise exception.CappedVersionUnknown(version=version_cap)</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume CappedVersionUnknown: Unrecoverable Error: Versioned Objects in DB are capped to unknown version 1.21.</div>
<div class="">2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume</div>
<div class="">2017-06-18 05:11:51.360 5230 ERROR cinder.cmd.volume [req-85789cbc-b26c-47c5-be34-035fae86e504 - - - - -] No volume service(s) started successfully, terminating.</div>
<div class="">root@cloud1:/etc/cinder#</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<div class=""><br data-mce-bogus="1" class="">
</div>
<hr id="zwchr" data-marker="__DIVIDER__" class="">
<div data-marker="__HEADERS__" class=""><b class="">From: </b>"SGopinath s.gopinath" <<a href="mailto:s.gopinath@gov.in" class="">s.gopinath@gov.in</a>><br class="">
<b class="">To: </b>"openstack" <<a href="mailto:openstack@lists.openstack.org" class="">openstack@lists.openstack.org</a>><br class="">
<b class="">Sent: </b>Thursday, June 15, 2017 9:07:19 AM<br class="">
<b class="">Subject: </b>[Openstack] nova - Error in cells<br class="">
</div>
<div class=""><br class="">
</div>
<div data-marker="__QUOTED_TEXT__" class="">
<div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" class="">
<div class="">Hi ,</div>
<br class="">
<br class="">
<div class="">
<div style="font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: 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: rgb(252, 253, 254);" class="">
I'm trying to install Openstack Ocata in<span class="Apple-converted-space"> </span><br class="">
</div>
<div style="font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: 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: rgb(252, 253, 254);" class="">
Ubuntu 16.04.2 LTS.</div>
</div>
<br class="">
<div class="">I could able to start nova services and successfully</div>
<div class="">could get the output on executing </div>
<br class="">
<div class="">openstack hypervisor list ...</div>
<br class="">
<div class="">No issues...</div>
<br class="">
<br class="">
<div class="">But when I execute </div>
<br class="">
<div class="">
<div class=""> su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova</div>
</div>
<br class="">
<div class="">I get the error</div>
<br class="">
<div class=""> ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova_api.compute_nodes' doesn't exist")</div>
<br class="">
<div class="">I could not find compute_nodes table in the database nova_api.</div>
<div class="">However the compute_nodes table is in nova_api_cell0 database and it </div>
<div class="">does not contain any rows.</div>
<br class="">
<br class="">
<div class="">I think there is only a minor issue in assuming where the table is in which</div>
<div class="">database.</div>
<br class="">
<div class="">Could anyone suggest a solution for this.</div>
<br class="">
<div class="">Thanks,</div>
<div class="">S.Gopinath</div>
<br class="">
<br class="">
<div class=""></div>
</div>
<br class="">
</div>
</div>
</div>
_______________________________________________<br class="">
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" class="">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="">
Post to     : <a href="mailto:openstack@lists.openstack.org" class="">openstack@lists.openstack.org</a><br class="">
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" class="">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br class="">
</div>
</blockquote>
</div>
<br class="">
<div class="">--<br class="">
Arne Wiebalck<br class="">
CERN IT </div>
<br class="">
</body>
</html>