<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The keystone service will open these 2 ports. They are defined in file /etc/keystone/keystone.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Openstack [mailto:openstack-bounces+mark.m.miller=hp.com@lists.launchpad.net]
<b>On Behalf Of </b>CHABANI Mohamed El Hadi<br>
<b>Sent:</b> Tuesday, June 25, 2013 7:48 AM<br>
<b>To:</b> Виль Суркин<br>
<b>Cc:</b> openstack@lists.launchpad.net<br>
<b>Subject:</b> Re: [Openstack] Swift / Keystone authentication<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">When i tried with port : 5000 and even 35357 i got :
<b><span style="font-family:"Courier New"">Authorization Failed: [Errno 111] Connection refused</span></b><o:p></o:p></p>
</div>
<p class="MsoNormal">These 2 ports are not open i guess, should i open them manually ? (the keystone service is start/running)<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2013/6/25 Виль Суркин <<a href="mailto:vill.srk@gmail.com" target="_blank">vill.srk@gmail.com</a>><o:p></o:p></p>
<div>
<p class="MsoNormal">You should authenticate in keystone service, not in swift-proxy.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Keystone's Public API usually binds to TCP port 5000.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">-- <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Виль Суркин<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p><span style="color:#A0A0A8">вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi написал:<o:p></o:p></span></p>
<blockquote style="border:none;border-left:solid windowtext 1.0pt;padding:0in 0in 0in 8.0pt;margin-left:0in;margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I'm trying to install Swift from this
<a href="http://docs.openstack.org/trunk/openstack-object-storage/admin/content/ch_installing-openstack-object-storage.html" target="_blank">
Guide</a>, and for the authentication service (Keystone) i'm a bit lost, should i install Keystone as a full-fledged service with the MySql database ? i want just to use Swift for test purpose (but not SAIO version), so idon't need a lot of bandwidth or storage
 space, i finished the nodes configuration and when verifying the installation with :
<code><b><span style="font-size:10.0pt">swift -V 2.0 -A <a href="http://127.0.0.1:8888/v2.0" target="_blank">
http://127.0.0.1:8888/v2.0</a> -U swift:swift -K swift stat </span></b></code><br>
i get :<b> </b><code><b><span style="font-size:10.0pt">Unauthorised. Check username, password and tenant name/id</span></b></code><o:p></o:p></p>
</div>
<p class="MsoNormal"><code><span style="font-size:10.0pt">Or with :<b> keystone --os-username=swift --os-password=swift --os-auth-url=<a href="http://127.0.0.1:8888/v2.0" target="_blank">http://127.0.0.1:8888/v2.0</a> token-get</b></span></code>      i get
 : <o:p></o:p></p>
<p><code><b><span style="font-size:10.0pt">This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials
 required.</span></b></code><o:p></o:p></p>
<p>Any sugestions ? here my <a href="http://pastebin.ubuntu.com/5797979/" target="_blank">
proxy-server.conf</a>.<o:p></o:p></p>
<p><o:p> </o:p></p>
<p>Thank you<o:p></o:p></p>
<p><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">_______________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">
https://launchpad.net/~openstack</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Post to : <a href="mailto:openstack@lists.launchpad.net" target="_blank">
openstack@lists.launchpad.net</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">
https://launchpad.net/~openstack</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">
https://help.launchpad.net/ListHelp</a><o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>