<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="">Hi, Zhiyuan.</div><div class=""><br class=""></div><div class="">When I rebooted all the nodes. It works!</div><div class=""><br class=""></div><div class="">I set the network device promiscuous type, and it don’t be useful until reboot…</div><div class=""><br class=""></div><div class="">Thank you for suggestions!</div><div class=""><br class=""></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Best Regards<br class=""><br class=""></div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Pengfei Shi (时鹏飞)</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Shanghai Jiao Tong University<br class="">Network & Information Center Room 304</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><a href="mailto:shipengfei92@gmail.com" class="">shipengfei92@gmail.com</a><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 1, 2016, at 4:11 PM, Vega Cai <<a href="mailto:luckyvega.g@gmail.com" class="">luckyvega.g@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi, Pengfei,<div class=""><br class=""></div><div class="">I suppose you are using "internal network" in virtual box to connect your virtual machines, and I find a link that seems to related to your problem.</div><div class=""><br class=""></div><div class=""><a href="https://forums.virtualbox.org/viewtopic.php?f=1&t=38037" class="">https://forums.virtualbox.org/viewtopic.php?f=1&t=38037</a><br class=""></div><div class=""><br class=""></div><div class="">BR</div><div class="">Zhiyuan</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 1 March 2016 at 11:14, Vega Cai <span dir="ltr" class=""><<a href="mailto:luckyvega.g@gmail.com" target="_blank" class="">luckyvega.g@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hi, All,<div class=""><br class=""></div><div class="">Let's move the discussion to #openstack-tricircle in IRC.</div><div class=""><br class=""></div><div class="">BR</div><div class="">Zhiyuan</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On 1 March 2016 at 11:07, Yipei Niu <span dir="ltr" class=""><<a href="mailto:newypei@gmail.com" target="_blank" class="">newypei@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hi, all,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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" class="">http://paste.openstack.org/show/488682/</a>.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Yipei</div></div><div class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Mar 1, 2016 at 10:56 AM, joehuang <span dir="ltr" class=""><<a href="mailto:joehuang@huawei.com" target="_blank" class="">joehuang@huawei.com</a>></span> wrote:<br class=""><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" class="">
<div class=""><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" class="">Hi, Yipei,<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" class="">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 class=""></u><u class=""></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" class="">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 class=""></u><u class=""></u></span></p><span class=""><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" class=""><u class=""></u> <u class=""></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" class="">Best Regards<u class=""></u><u class=""></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" class="">Chaoyi Huang ( Joe Huang )</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" class=""><u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d" class=""><u class=""></u> <u class=""></u></span></p>
</span><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm" class=""><p class="MsoNormal"><b class=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" class="">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" class=""> Yipei Niu [mailto:<a href="mailto:newypei@gmail.com" target="_blank" class="">newypei@gmail.com</a>]
<br class="">
<b class="">Sent:</b> Monday, February 29, 2016 10:02 AM<span class=""><br class="">
<b class="">To:</b> OpenStack Development Mailing List (not for usage questions)<br class="">
</span><b class="">Cc:</b> Vega Cai; joehuang; </span><span style="font-size:10.0pt" class="">时鹏飞</span><span class=""><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" class=""><br class="">
<b class="">Subject:</b> Re: [tricircle] playing tricircle with devstack under two-region configuration<u class=""></u><u class=""></u></span></span></p>
</div><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Hi Pengfei,<u class=""></u><u class=""></u></span></p><div class=""><div class="">
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">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" class="">http://paste.openstack.org/show/488005/</a>. Do you have any suggestion about it?<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">To Joe and Zhiyuan, could you please give me some advice about how to solve it?<u class=""></u><u class=""></u></span></p>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Best regards,<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Yipei<u class=""></u><u class=""></u></span></p>
</div>
</div>
</div></div></div><div class=""><div class="">
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">On Wed, Feb 24, 2016 at 9:29 AM, Yipei Niu <<a href="mailto:newypei@gmail.com" target="_blank" class="">newypei@gmail.com</a>> wrote:<u class=""></u><u class=""></u></span></p>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Hi Joe and Zhiyuan,<u class=""></u><u class=""></u></span></p>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">My VM has recovered. When I re-install devstack in node1, I encounter the following errors.<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">The info in stack.sh.log is as follows:<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class="">
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 11:18:27.238 | Error: Service n-sch is not running<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 11:18:27.238 | + /home/stack/devstack/functions-common:service_check:L1625: '[' -n /opt/stack/status/stack/n-sch.failure ']'<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 11:18:27.238 | + /home/stack/devstack/functions-common:die:L186: local exitcode=0<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 11:18:27.239 | [Call Trace]<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 11:18:27.239 | ./stack.sh:1354:service_check<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 11:18:27.239 | /home/stack/devstack/functions-common:1626:die<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 11:18:28.271 | Error on exit<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 11:18:28.953 | df: '/run/user/112/gvfs': Permission denied<u class=""></u><u class=""></u></span></p>
</div>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">The info in n-sch.log is as follows:<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class="">
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">[1] 29467<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">/usr/local/bin/nova-scheduler --config-file /etc/nova/nova.conf<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">2016-02-23 19:13:00.304 ^[[01;31mCRITICAL nova [^[[00;36m-^[[01;31m] ^[[01;35m^[[01;31mValueError: Empty module name<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[00m<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00mTraceback (most recent call last):<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m File "/usr/local/bin/nova-scheduler", line 10, in <module><u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m sys.exit(main())<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m topic=CONF.scheduler_topic)<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m db_allowed=db_allowed)<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m self.manager = manager_class(host=self.host, *args, **kwargs)<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m self.driver = importutils.import_object(scheduler_driver)<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m return import_class(import_str)(*args, **kwargs)<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[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 class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m __import__(mod_str)<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00mValueError: Empty module name<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">^[[01;31m2016-02-23 19:13:00.304 TRACE nova ^[[01;35m^[[00m<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">n-sch failed to start<u class=""></u><u class=""></u></span></p>
</div>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Best regards,<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Yipei<u class=""></u><u class=""></u></span></p>
</div>
</div>
<div class="">
<div class="">
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">On Tue, Feb 23, 2016 at 10:23 AM, Yipei Niu <<a href="mailto:newypei@gmail.com" target="_blank" class="">newypei@gmail.com</a>> wrote:<u class=""></u><u class=""></u></span></p>
<div class="">
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Hi Jeo,<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">I have checked. The Neutron API has not started, but no process is listening 9696.<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Best regards,<u class=""></u><u class=""></u></span></p>
</div>
<div class=""><p class="MsoNormal"><span lang="EN-US" class="">Yipei<u class=""></u><u class=""></u></span></p>
</div>
</div>
</div><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
</div>
</div>
</div><p class="MsoNormal"><span lang="EN-US" class=""><u class=""></u> <u class=""></u></span></p>
</div>
</div></div></div>
</div>
</blockquote></div><br class=""></div>
</div></div></blockquote></div><br class=""></div>
</div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>