<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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* 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;}
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;}
--></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">have you installed two nodes devstack successfully or not? This error is occurred during or after the installation?<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">If you have installed them successfully, then Volume type is not supported in Cinder-apigw yet (you can help to implement it
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Wingdings;color:#1F497D">J</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"> ). You can use –os-region-name Pod2 parameter If you are want to create
volume type in 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" 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> Tuesday, January 26, 2016 8:42 PM<br>
<b>To:</b> openstack-dev@lists.openstack.org<br>
<b>Subject:</b> Re: [openstack-dev] [tricircle] Playing Tricircle with Devstack<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 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">Your solution works, but I encountered another error. When executing 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">"openstack volume type create --property volume_backend_name=lvmdriver-1 lvmdriver-1", <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">it returns <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">"Unable to establish connection to <a href="http://192.168.56.101:19997/v2/c4f6ad92427b49f9a59810e88fbe4c11/types">
http://192.168.56.101:19997/v2/c4f6ad92427b49f9a59810e88fbe4c11/types</a>".<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"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Then I execute the command with debug option, it returns <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">Traceback (most recent call last):<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", line 113, in run<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> ret_val = super(OpenStackShell, self).run(argv)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 255, in run<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> result = self.run_subcommand(remainder)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 367, in run_subcommand<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> self.prepare_to_run_command(cmd)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", line 352, in prepare_to_run_command<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> self.client_manager.auth_ref<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 189, in auth_ref<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> self.setup_auth()<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 128, in setup_auth<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> auth.check_valid_auth_options(self._cli_options, self.auth_plugin_name)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/lib/python2.7/dist-packages/openstackclient/api/auth.py", line 172, in check_valid_auth_options<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"> raise exc.CommandError('Missing parameter(s): \n%s' % msg)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">CommandError: Missing parameter(s): <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Set a username with --os-username, OS_USERNAME, or auth.username<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Set an authentication URL, with --os-auth-url, OS_AUTH_URL or auth.auth_url<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Set a scope, such as a project or domain, set a project scope with --os-project-name, OS_PROJECT_NAME or auth.project_name, set a domain scope with --os-domain-name, OS_DOMAIN_NAME or auth.domain_name<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">These parameters have been set before, and why the error happens?<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">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>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Tue, Jan 26, 2016 at 10:40 AM, Yipei Niu <<a href="mailto:newypei@gmail.com" target="_blank">newypei@gmail.com</a>> wrote:<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi Joe, 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 found that such an error may be caused by "export OS_REGION_NAME=Pod2". When I source "userrc_early" without "export OS_REGION_NAME=Pod2" on node2, the command "</span><span lang="EN-US" style="font-size:7.5pt">openstack
project show admin -f value -c id</span><span lang="EN-US">" returns the same result as it does on node1. How can I deal with it so that I can proceed?<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">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>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Mon, Jan 25, 2016 at 4:13 PM, Yipei Niu <<a href="mailto:newypei@gmail.com" target="_blank">newypei@gmail.com</a>> wrote:<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">There doesn't any problems when installing devstack on node1. However, when install devstack to node2, I encounter an error and the trace is as follows:<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.068 | + echo -e Starting Keystone<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.069 | + '[' 192.168.56.101 == 192.168.56.102 ']'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.070 | + is_service_enabled tls-proxy<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.091 | + return 1<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.091 | + cat<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.093 | + source /home/stack/devstack/userrc_early<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.095 | ++ export OS_IDENTITY_API_VERSION=3<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.095 | ++ OS_IDENTITY_API_VERSION=3<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.095 | ++ export OS_AUTH_URL=<a href="http://192.168.56.101:35357" target="_blank">http://192.168.56.101:35357</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.095 | ++ OS_AUTH_URL=<a href="http://192.168.56.101:35357" target="_blank">http://192.168.56.101:35357</a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.095 | ++ export OS_USERNAME=admin<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.095 | ++ OS_USERNAME=admin<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.095 | ++ export OS_USER_DOMAIN_ID=default<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.095 | ++ OS_USER_DOMAIN_ID=default<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.096 | ++ export OS_PASSWORD=nypnyp0316<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.096 | ++ OS_PASSWORD=nypnyp0316<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.096 | ++ export OS_PROJECT_NAME=admin<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.097 | ++ OS_PROJECT_NAME=admin<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.098 | ++ export OS_PROJECT_DOMAIN_ID=default<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.099 | ++ OS_PROJECT_DOMAIN_ID=default<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.100 | ++ export OS_REGION_NAME=Pod2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.101 | ++ OS_REGION_NAME=Pod2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.102 | + create_keystone_accounts<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.105 | + local admin_tenant<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:47.111 | ++ openstack project show admin -f value -c id<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.408 | Could not find resource admin<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.452 | + admin_tenant=<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.453 | + exit_trap<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.454 | + local r=1<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.456 | ++ jobs -p<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.461 | + jobs=<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.464 | + [[ -n '' ]]<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.464 | + kill_spinner<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.464 | + '[' '!' -z '' ']'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.464 | + [[ 1 -ne 0 ]]<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.464 | + echo 'Error on exit'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.464 | Error on exit<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.464 | + generate-subunit 1453707531 117 fail<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.885 | + [[ -z /opt/stack/logs ]]<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.886 | + /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:48.944 | df: '/run/user/112/gvfs': Permission denied<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">2016-01-25 07:40:49.166 | + exit 1<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">Could you please give me some advice on solving it?<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>