<div dir="ltr">Hi, All,<div><br></div><div>Let's move the discussion to #openstack-tricircle in IRC.</div><div><br></div><div>BR</div><div>Zhiyuan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 March 2016 at 11:07, Yipei Niu <span dir="ltr"><<a href="mailto:newypei@gmail.com" target="_blank">newypei@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, all,<div><br></div><div>The bug of deploying devstack with two-node configuration is already fixed. According to the official document, I have already installed devstack in two nodes successfully.</div><div><br></div><div>Moreover, I am still trying to play tricircle in two nodes. When installing tricircle to node1, I still encounter the same error as before. The link is <a href="http://paste.openstack.org/show/488682/" target="_blank">http://paste.openstack.org/show/488682/</a>.</div><div><br></div><div>Best regards,</div><div>Yipei</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 10:56 AM, joehuang <span dir="ltr"><<a href="mailto:joehuang@huawei.com" target="_blank">joehuang@huawei.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="ZH-CN" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi, Yipei,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">The issue is that the OS_REGION_NAME should be “Pod2” for the Node2 for Nova,Cinder, Neutron endpoint registration in KeyStone, but when creating
endpoint in Keystone, devstack will use command like “openstack endpoint create” to access KeyStone, the OS_REGION_NAME should be the region name where the KeyStone located, in two-nodes installation, it should be “RegionOne” for the command itself.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">So it can be fixed by adding one more configurable global variable to separate KeyStone region name and other services(Nova,Cinder,Neutron) region
name.<u></u><u></u></span></p><span>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-align:justify;text-justify:inter-ideograph"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">Best Regards<u></u><u></u></span></p>
<p class="MsoNormal" style="text-align:justify;text-justify:inter-ideograph"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">Chaoyi Huang ( Joe Huang )</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</span><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Yipei Niu [mailto:<a href="mailto:newypei@gmail.com" target="_blank">newypei@gmail.com</a>]
<br>
<b>Sent:</b> Monday, February 29, 2016 10:02 AM<span><br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
</span><b>Cc:</b> Vega Cai; joehuang; </span><span style="font-size:10.0pt">时鹏飞</span><span><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
<b>Subject:</b> Re: [tricircle] playing tricircle with devstack under two-region configuration<u></u><u></u></span></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi Pengfei,<u></u><u></u></span></p><div><div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I also encounter the same error when installing devstack on node2. I insert a command "export OS_REGION_NAME=Pod2" in line 1262 in stack.sh and it works. However, I am not sure whether it is correct. I am trying to verify
it. Recently, I try to re-install devstack on node1, but I encounter some errors. The link is <a href="http://paste.openstack.org/show/488005/" target="_blank">http://paste.openstack.org/show/488005/</a>. Do you have any suggestion about it?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">To Joe and Zhiyuan, could you please give me some advice about how to solve it?<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Best regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Yipei<u></u><u></u></span></p>
</div>
</div>
</div></div></div><div><div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Wed, Feb 24, 2016 at 9:29 AM, Yipei Niu <<a href="mailto:newypei@gmail.com" target="_blank">newypei@gmail.com</a>> wrote:<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi Joe and Zhiyuan,<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">My VM has recovered. When I re-install devstack in node1, I encounter the following errors.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">The info in stack.sh.log is as follows:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:27.238 | Error: Service n-sch is not running<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:27.238 | + /home/stack/devstack/functions-common:service_check:L1625: '[' -n /opt/stack/status/stack/n-sch.failure ']'<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:27.238 | + /home/stack/devstack/functions-common:service_check:L1626: die 1626 'More details about the above errors can be found with screen, with ./rejoin-stack.sh'<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:27.238 | + /home/stack/devstack/functions-common:die:L186: local exitcode=0<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:27.239 | [Call Trace]<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:27.239 | ./stack.sh:1354:service_check<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:27.239 | /home/stack/devstack/functions-common:1626:die<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:27.261 | [ERROR] /home/stack/devstack/functions-common:1626 More details about the above errors can be found with screen, with ./rejoin-stack.sh<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:28.271 | Error on exit<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 11:18:28.953 | df: '/run/user/112/gvfs': Permission denied<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">The info in n-sch.log is as follows:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">stack@nyp-VirtualBox:~/devstack$ /usr/local/bin/nova-scheduler --config-file /et ^Mc/nova/nova.conf & echo $! >/opt/stack/status/stack/n-sch.pid; fg || echo "n-sch ^M failed to start" | tee "/opt/stack/status/stack/n-sch.failure"<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">[1] 29467<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">/usr/local/bin/nova-scheduler --config-file /etc/nova/nova.conf<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 19:13:00.050 ^[[00;32mDEBUG oslo_db.api [^[[00;36m-^[[00;32m] ^[[01;35m^[[00;32mLoading backend 'sqlalchemy' from 'nova.db.sqlalchemy.api'^[[00m ^[[00;33mfrom (pid=29467) _load_backend /usr/local/lib/python2.7/dist-packages/oslo_db/api.py:238^[[00m<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 19:13:00.300 ^[[01;33mWARNING oslo_reports.guru_meditation_report [^[[00;36m-^[[01;33m] ^[[01;35m^[[01;33mGuru 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.^[[00m<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-02-23 19:13:00.304 ^[[01;31mCRITICAL nova [^[[00;36m-^[[01;31m] ^[[01;35m^[[01;31mValueError: Empty module name<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[00m<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00mTraceback (most recent call last):<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m File "/usr/local/bin/nova-scheduler", line 10, in <module><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m sys.exit(main())<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m File "/opt/stack/nova/nova/cmd/scheduler.py", line 43, in main<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m topic=CONF.scheduler_topic)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m File "/opt/stack/nova/nova/service.py", line 281, in create<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m db_allowed=db_allowed)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m File "/opt/stack/nova/nova/service.py", line 167, in __init__<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m self.manager = manager_class(host=self.host, *args, **kwargs)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m File "/opt/stack/nova/nova/scheduler/manager.py", line 49, in __init__<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m self.driver = importutils.import_object(scheduler_driver)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 44, in import_object<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m return import_class(import_str)(*args, **kwargs)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 30, in import_class<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m __import__(mod_str)<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00mValueError: Empty module name<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">n-sch failed to start<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Best regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Yipei<u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Tue, Feb 23, 2016 at 10:23 AM, Yipei Niu <<a href="mailto:newypei@gmail.com" target="_blank">newypei@gmail.com</a>> wrote:<u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi Jeo,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I have checked. The Neutron API has not started, but no process is listening 9696.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Best regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Yipei<u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>