<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><br></div><div>Thanks a lot for your feedback.</div><div><br data-mce-bogus="1"></div><div>Indeed I did try that.</div><div><br data-mce-bogus="1"></div><div>I also found there are errors thrown in cinder-scheduler service in the</div><div>controller.</div><div><br data-mce-bogus="1"></div><div>Thanks,</div><div>S.Gopinath</div><div><br data-mce-bogus="1"></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Adhi Priharmanto" <adhi.pri@gmail.com><br><b>To: </b>"Arne Wiebalck" <Arne.Wiebalck@cern.ch><br><b>Cc: </b>"SGopinath s.gopinath" <s.gopinath@gov.in>, "openstack" <openstack@lists.openstack.org><br><b>Sent: </b>Wednesday, June 21, 2017 12:21:52 PM<br><b>Subject: </b>Re: [Openstack] Cinder - Could not start Cinder Volume service-Ocata<br></div><br><div data-marker="__QUOTED_TEXT__"><div dir="ltr">try to <span style="color:rgb(51,51,51);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14px">Populate the Block Storage database:</span><div class="gmail-highlight-console" style="box-sizing:border-box;color:rgb(51,51,51);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:14px"><div class="gmail-highlight" style="box-sizing:border-box"><pre style="box-sizing:border-box;overflow:auto;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:13px;padding:20px 30px;margin-top:0px;margin-bottom:10px;line-height:1.42857;color:rgb(255,255,255);word-break:break-all;word-wrap:break-word;background-color:rgb(51,51,51);border:1px solid rgb(204,204,204);border-radius:4px"><span style="box-sizing:border-box"></span><span class="gmail-gp" style="box-sizing:border-box;color:rgb(170,170,170)">#</span> su -s /bin/sh -c <span class="gmail-s2" style="box-sizing:border-box;color:rgb(237,157,19)">"cinder-manage db sync"</span> cinder</pre></div></div><br><div>just like describe in <a href="https://docs.openstack.org/ocata/install-guide-rdo/cinder-controller-install.html#install-and-configure-components" target="_blank">https://docs.openstack.org/ocata/install-guide-rdo/cinder-controller-install.html#install-and-configure-components</a></div><br><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 21, 2017 at 1:37 PM, Arne Wiebalck <span dir="ltr"><<a href="mailto:Arne.Wiebalck@cern.ch" target="_blank">Arne.Wiebalck@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>I saw something similar when preparing the Ocala upgrade: in our case this was caused by stale entries in the ‘services' table.</div>
<div>So, you may want to check the entries in that table and clean things up if necessary.</div>
<div><br>
</div>
<div>Cheers,</div>
<div> Arne</div>
<div><br>
</div>
<br>
<div>
<blockquote><div><div class="h5">
<div>On 17 Jun 2017, at 19:59, SGopinath s.gopinath <<a href="mailto:s.gopinath@gov.in" target="_blank">s.gopinath@gov.in</a>> wrote:</div>
<br class="m_-1909459937198411968Apple-interchange-newline">
</div></div><div><div><div class="h5">
<div>
<div style="font-family:arial,helvetica,sans-serif;font-size:12pt">
<div><br>
</div>
<div>Hi,</div>
<div><br>
</div>
<div>I could not start th cinder-volume service and I'm getting the following error.</div>
<div><br>
</div>
<div>I pasted here my /etc/cinder/cinder.conf.</div>
<div><br>
</div>
<div>May please help.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>S.Gopinath</div>
<div><br>
</div>
<div>/etc/cinder/cinder.conf</div>
<div>==================<br>
<br>
</div>
<div><br>
</div>
<div>
<div>[DEFAULT]</div>
<div>rootwrap_config = /etc/cinder/rootwrap.conf</div>
<div>api_paste_confg = /etc/cinder/api-paste.ini</div>
<div>iscsi_helper = tgtadm</div>
<div>volume_name_template = volume-%s</div>
<div>#volume_group = cinder-volumes</div>
<div>verbose = True</div>
<div>auth_strategy = keystone</div>
<div>state_path = /var/lib/cinder</div>
<div>lock_path = /var/lock/cinder</div>
<div>volumes_dir = /var/lib/cinder/volumes</div>
<div>###SXG</div>
<div>transport_url = <a>
rabbit://openstack:OpenStack123@controller</a></div>
<div>auth_strategy = keystone</div>
<div>my_ip = 10.163.61.22</div>
<div>enabled_backends = lvm</div>
<div>glance_api_servers = <a href="http://controller:9292" target="_blank">http://controller:9292</a></div>
<div><br>
</div>
<div>###SXG</div>
<div>[database]</div>
<div>connection = <a>
mysql+pymysql://cinder:CinderOpenStack123@controller/cinder</a></div>
<div><br>
</div>
<div>###SXG</div>
<div>[keystone_authtoken]</div>
<div>auth_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a></div>
<div>auth_url = <a href="http://controller:35357" target="_blank">http://controller:35357</a></div>
<div>memcached_servers = controller:11211</div>
<div>auth_type = password</div>
<div>project_domain_name = default</div>
<div>user_domain_name = default</div>
<div>project_name = service</div>
<div>username = cinder</div>
<div>password = CinderOpenStack123</div>
<div><br>
</div>
<div>###SXG</div>
<div>[lvm]</div>
<div>volume_drivers = cinder.volume.drivers.lvm.LVMVolumeDriver</div>
<div>volume_group = cinder-volumes</div>
<div>iscsi_protocol = iscsi</div>
<div>iscsi_helper = tgtadm</div>
<div><br>
</div>
<div>###SXG</div>
<div>[oslo_concurrency]</div>
<div>lock_path = /var/lib/cinder/tmp</div>
<div><br>
</div>
</div>
<div>###################################################################END##########################</div>
<div><br>
</div>
<div>
<div>root@cloud1:/etc/cinder# vgs</div>
<div> VG #PV #LV #SN Attr VSize VFree</div>
<div> cinder-volumes 1 0 0 wz--n- 37.22g 37.22g</div>
<div>root@cloud1:/etc/cinder# pvs</div>
<div> PV VG Fmt Attr PSize PFree</div>
<div> /dev/sda4 cinder-volumes lvm2 a-- 37.22g 37.22g</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>###################################################################################################</div>
<div>
<div>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>2017-06-18 05:11:51.105 5230 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt</div>
<div>2017-06-18 05:11:51.183 5230 INFO root [-] Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt</div>
<div>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> exception.NotSupportedWarning</div>
<div><br>
</div>
<div>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>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume Traceback (most recent call last):</div>
<div>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume binary='cinder-volume')</div>
<div>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume service_name=service_name)</div>
<div>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume *args, **kwargs)</div>
<div>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume *args, **kwargs)</div>
<div>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI()</div>
<div>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume serializer = base.CinderObjectSerializer(obj_version_cap)</div>
<div>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume raise exception.CappedVersionUnknown(version=version_cap)</div>
<div>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>2017-06-18 05:11:51.358 5230 ERROR cinder.cmd.volume</div>
<div>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>root@cloud1:/etc/cinder#</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<hr id="m_-1909459937198411968zwchr">
<div><b>From: </b>"SGopinath s.gopinath" <<a href="mailto:s.gopinath@gov.in" target="_blank">s.gopinath@gov.in</a>><br>
<b>To: </b>"openstack" <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>
<b>Sent: </b>Thursday, June 15, 2017 9:07:19 AM<br>
<b>Subject: </b>[Openstack] nova - Error in cells<br>
</div>
<div><br>
</div>
<div>
<div style="font-family:arial,helvetica,sans-serif;font-size:12pt">
<div>Hi ,</div>
<br>
<br>
<div>
<div style="font-family:arial,helvetica,sans-serif;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(252,253,254)">
I'm trying to install Openstack Ocata in<span class="m_-1909459937198411968Apple-converted-space"> </span><br>
</div>
<div style="font-family:arial,helvetica,sans-serif;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(252,253,254)">
Ubuntu 16.04.2 LTS.</div>
</div>
<br>
<div>I could able to start nova services and successfully</div>
<div>could get the output on executing </div>
<br>
<div>openstack hypervisor list ...</div>
<br>
<div>No issues...</div>
<br>
<br>
<div>But when I execute </div>
<br>
<div>
<div> su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova</div>
</div>
<br>
<div>I get the error</div>
<br>
<div> ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova_api.compute_nodes' doesn't exist")</div>
<br>
<div>I could not find compute_nodes table in the database nova_api.</div>
<div>However the compute_nodes table is in nova_api_cell0 database and it </div>
<div>does not contain any rows.</div>
<br>
<br>
<div>I think there is only a minor issue in assuming where the table is in which</div>
<div>database.</div>
<br>
<div>Could anyone suggest a solution for this.</div>
<br>
<div>Thanks,</div>
<div>S.Gopinath</div>
<br>
<br>
</div>
<br>
</div>
</div>
</div></div></div>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div>
</blockquote>
</div>
<br>
<div>--<br>
Arne Wiebalck<br>
CERN IT </div>
<br>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span size="2" data-mce-style="font-size: small;" style="font-size: small;"><span style="font-family:trebuchet ms,sans-serif">Cheers,</span><br style="font-family:trebuchet ms,sans-serif"><br></span><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;border-spacing:0px;color:rgb(51,51,51);line-height:18.2000007629395px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:30px"> </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:baseline;width:auto"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;line-height:0"><a href="http://about.me/a_dhi?promo=email_sig" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(58,169,233);text-decoration:none;display:inline-block" target="_blank"><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:auto;line-height:1"><img alt="--" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;line-height:1;color:rgb(51,51,51)">Adhi Priharmanto</div><div style="margin:3px 0px 0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;color:rgb(43,130,173)"><img alt="http://" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden">about.me/a_dhi</div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:8px 0px 0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:auto;line-height:1"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;text-align:right;height:4px;background-color:rgb(197,208,224)"><img alt="" width="88" height="4" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;float:right;display:block" src="http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png"></div></td></tr></tbody></table></a> </div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:20px"></td></tr></tbody></table><span size="2" data-mce-style="font-size: small;" style="font-size: small;"><span style="font-family:trebuchet ms,sans-serif">+62-812-82121584<br></span></span></div><div><span size="2" data-mce-style="font-size: small;" style="font-size: small;"><span style="font-family:trebuchet ms,sans-serif"><br></span></span></div></div></div></div></div>
</div><br></div></div></body></html>