<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin:0cm;
        margin-bottom:.0001pt;
        text-indent:21.0pt;
        font-size:12.0pt;
        font-family:宋体;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:911430705;
        mso-list-type:hybrid;
        mso-list-template-ids:1683630042 1139854700 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:18.0pt;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi, Yipei,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">When you play Tricircle, it’s important to know that Tricircle is the OpenStack API gateway to other OpenStack instances. In the Readme, Pod1,
 Pod2 are two OpenStack instances, before trying Tricircle, you can make sure the environment is normal or not by executeing command separately on Pod1, Pod2, just  Nova –os-region-name Pod1, or Nova –os-region-name Pod2, in fact, because Pod1,Pod2 are two
 normal OpenStack instances, any command to Pod1,Pod2 should be successful.  Otherwise that means there are some issue in the installation of the environment itself. Only when each bottom OpenStack can work correctly, then you can even manually add Tricircle,
 or through the scripts in the github to install Tircircle automaticly, as the API gateway to Pod1 and Pod2, just like you add one load balancer before your multiple web servers.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">After the Tricircle was added, then the API will flow from Tricircle services like Nova-APIGW/Cinder-APIGW/Neutron API to the bottom Pod1, Pod2.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">So if you use Nova boot, and some error happened, you can ask question:
<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Is the command sent to the Tricircle Nova-APIGW?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">What’ll will do for the Nova-APIGW for the next step?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Is the API request forwarded by Tricircle correctly to the proper bottom OpenStack?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Is the bottom OpenStack working normal even without Tricircle?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Is the API request forwarded by Tricircle includes the correct request content?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">6.<span style="font:7.0pt "Times New Roman"">     
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">You can carry the map before you try to fix the issue. And break down a big system into smaller part, and make sure which part works fine, which
 not in order.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">From the information you provided, can’t make judgment the error is occurred at Tricircle services, or bottom pod, or which pod. Don’t know which
 step the error occurred. And don’t know the request information, how the requested will be routed and processed, a lot of context needed to diagnose an error.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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<o:p></o:p></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"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<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:newypei@gmail.com]
<br>
<b>Sent:</b> Wednesday, March 23, 2016 10:36 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Cc:</b> joehuang; Zhiyuan Cai<br>
<b>Subject:</b> [tricircle] playing tricircle with two node configuration<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi, Joe and Zhiyuan,<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I have already finished installing devstack in two nodes with tricircle. I encounter some errors when testing cross-pod L3 networking with DevStack. I followed the README.md in github, every thing goes well until I boot
 virtual machines with the following command:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">nova boot --flavor 1 --image 60a8184b-a4be-463d-a8a1-48719edc37a3 --nic net-id=76356099-f3bd-40a5-83bd-600b78b671eb --availability-zone az1 vm1<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">The info in the terminal is as follows:<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Your request was processed by a Nova API which does not support microversions (X-OpenStack-Nova-API-Version header is missing from response). Warning: Response may be incorrect.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Your request was processed by a Nova API which does not support microversions (X-OpenStack-Nova-API-Version header is missing from response). Warning: Response may be incorrect.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Your request was processed by a Nova API which does not support microversions (X-OpenStack-Nova-API-Version header is missing from response). Warning: Response may be incorrect.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">ERROR (ClientException): Unknown Error (HTTP 500)<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I run rejoin-stack.sh and find some error in n-api screen. In n-api.log, the error is as follows:<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-03-22 19:19:38.248 ^[[01;31mERROR nova.api.openstack.extensions [^[[01;36mreq-cf58e7aa-bd7d-483f-aa57-bca5268ce963 ^[[00;36madmin admin^[[01;31m] ^[[01;35m^[[01;31mUnexpected exception in API method^[[00m<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00mTraceback (most recent call last):<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/openstack/extensions.py", line 478, in wrapped<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    return f(*args, **kwargs)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/validation/__init__.py", line 73, in wrapper<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    return func(*args, **kwargs)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/validation/__init__.py", line 73, in wrapper<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    return func(*args, **kwargs)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/api/openstack/compute/servers.py", line 604, in create<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    **create_kwargs)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/hooks.py", line 149, in inner<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    rv = f(*args, **kwargs)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/compute/api.py", line 1504, in create<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    check_server_group_quota=check_server_group_quota)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/compute/api.py", line 1097, in _create_instance<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    auto_disk_config, reservation_id, max_count)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/compute/api.py", line 871, in _validate_and_build_base_options<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    pci_request_info, requested_networks)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/network/neutronv2/api.py", line 981, in create_pci_requests_for_sriov_ports<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    neutron = get_client(context, admin=True)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/network/neutronv2/api.py", line 149, in get_client<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    _ADMIN_AUTH = _load_auth_plugin(CONF)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m  File "/opt/stack/nova/nova/network/neutronv2/api.py", line 125, in _load_auth_plugin<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m    raise neutron_client_exc.Unauthorized(message=err_msg)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00mUnauthorized: Unknown auth plugin: None<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">^[[01;31m2016-03-22 19:19:38.248 TRACE nova.api.openstack.extensions ^[[01;35m^[[00m<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-03-22 20:04:19.992 ^[[00;36mINFO nova.api.openstack.wsgi [^[[01;36mreq-ed35efe8-5dc0-40b0-bb2b-c1a73618aa50 ^[[00;36madmin admin^[[00;36m] ^[[01;35m^[[00;36mHTTP exception thrown: Unexpected API Error. Please report
 this at <a href="http://bugs.launchpad.net/nova/">http://bugs.launchpad.net/nova/</a> and attach the Nova API log if possible.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><class 'neutronclient.common.exceptions.Unauthorized'>^[[00m<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-03-22 20:04:19.993 ^[[00;32mDEBUG nova.api.openstack.wsgi [^[[01;36mreq-ed35efe8-5dc0-40b0-bb2b-c1a73618aa50 ^[[00;36madmin admin^[[00;32m] ^[[01;35m^[[00;32mReturning 500 to user: Unexpected API Error. Please report
 this at <a href="http://bugs.launchpad.net/nova/">http://bugs.launchpad.net/nova/</a> and attach the Nova API log if possible.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><class 'neutronclient.common.exceptions.Unauthorized'>^[[00m ^[[00;33mfrom (pid=17273) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1180^[[00m<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-03-22 20:04:20.007 ^[[00;36mINFO nova.osapi_compute.wsgi.server [^[[01;36mreq-ed35efe8-5dc0-40b0-bb2b-c1a73618aa50 ^[[00;36madmin admin^[[00;36m] ^[[01;35m^[[00;36m192.168.56.101 "POST /v2.1/1f824c3b19a64fa1a401125f41324731/servers
 HTTP/1.1" status: 500 len: 520 time: 1.1018770^[[00m<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Best regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Yipei<o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>