<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi Mohamed,</p>
<p>Just an aside, please don't pastebin in a mailing list.  pastebins are used in IRC channels to avoid interrupting the conversation.  But they are just temporary links that can (and will) be removed later.</p>
<p>Adding it as an attachment or copying it into the email is better since it directly links your logs to your problem and (hopefully) it's eventual solution.</p>
<p>Good intention, but not necessary and actively discouraged.</p>
<p>I have included a copy of your pastebin below.</p>
<p>Have a great day! :-D</p>
<p>Cheers,<br />Tudor.</p>
<p>==================</p>
<pre>Jun 25 18:00:15 localhost object-replicator Exception dumping recon cache: #012Traceback (most recent call last):#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1492, in dump_recon_cache#012    with lock_file(cache_file, lock_timeout, unlink=False) as cf:#012  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__#012    return self.gen.next()#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1058, in lock_file#012    fd = os.open(filename, flags)#012OSError: [Errno 13] Permission denied: '/var/cache/swift/object.recon'
Jun 25 18:00:15 localhost kernel: [2041303.382693] init: keystone main process (32616) terminated with status 1
Jun 25 18:00:15 localhost kernel: [2041303.382739] init: keystone main process ended, respawning
Jun 25 18:00:15 localhost kernel: [2041303.588803] init: keystone main process (32617) terminated with status 1
Jun 25 18:00:15 localhost kernel: [2041303.588832] init: keystone main process ended, respawning
Jun 25 18:00:16 localhost kernel: [2041303.792938] init: keystone main process (32618) terminated with status 1
Jun 25 18:00:16 localhost kernel: [2041303.792966] init: keystone main process ended, respawning
Jun 25 18:00:16 localhost kernel: [2041303.996831] init: keystone main process (32619) terminated with status 1
Jun 25 18:00:16 localhost kernel: [2041303.996858] init: keystone main process ended, respawning
Jun 25 18:00:16 localhost kernel: [2041304.206837] init: keystone main process (32620) terminated with status 1
Jun 25 18:00:16 localhost kernel: [2041304.206865] init: keystone main process ended, respawning
Jun 25 18:00:16 localhost kernel: [2041304.414195] init: keystone main process (32621) terminated with status 1
Jun 25 18:00:16 localhost kernel: [2041304.414222] init: keystone main process ended, respawning
Jun 25 18:00:16 localhost kernel: [2041304.629486] init: keystone main process (32622) terminated with status 1
Jun 25 18:00:16 localhost kernel: [2041304.629526] init: keystone main process ended, respawning
Jun 25 18:00:17 localhost kernel: [2041304.841024] init: keystone main process (32623) terminated with status 1
Jun 25 18:00:17 localhost kernel: [2041304.841052] init: keystone main process ended, respawning
Jun 25 18:00:17 localhost kernel: [2041305.046560] init: keystone main process (32624) terminated with status 1
Jun 25 18:00:17 localhost kernel: [2041305.046589] init: keystone main process ended, respawning
Jun 25 18:00:17 localhost kernel: [2041305.249331] init: keystone main process (32625) terminated with status 1
Jun 25 18:00:17 localhost kernel: [2041305.249359] init: keystone main process ended, respawning
Jun 25 18:00:17 localhost kernel: [2041305.451613] init: keystone main process (32626) terminated with status 1
Jun 25 18:00:17 localhost kernel: [2041305.451641] init: keystone respawning too fast, stopped
Jun 25 18:00:37 localhost container-replicator Beginning replication run
Jun 25 18:00:37 localhost container-replicator Replication run OVER
Jun 25 18:00:37 localhost container-replicator Attempted to replicate 0 dbs in 0.00068 seconds (0.00000/s)
Jun 25 18:00:37 localhost container-replicator Removed 0 dbs
Jun 25 18:00:37 localhost container-replicator 0 successes, 0 failures
Jun 25 18:00:37 localhost container-replicator Exception dumping recon cache: #012Traceback (most recent call last):#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1492, in dump_recon_cache#012    with lock_file(cache_file, lock_timeout, unlink=False) as cf:#012  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__#012    return self.gen.next()#012  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1058, in lock_file#012    fd = os.open(filename, flags)#012OSError: [Errno 13] Permission denied: '/var/cache/swift/container.recon'
Jun 25 18:00:37 localhost container-replicator no_change:0 ts_repl:0 diff:0 rsync:0 diff_capped:0 hashmatch:0 empty:0</pre>
<p>===================</p>
<p>On 2013-06-26 02:05, CHABANI Mohamed El Hadi wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">my logs looks like that : <a href="http://pastebin.ubuntu.com/5798930/">http://pastebin.ubuntu.com/5798930/</a>....i didn't really understand a lot of things ! any suggestions please ?</div>
<div class="gmail_extra"><br /><br />
<div class="gmail_quote">2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis) <span><<a href="mailto:mark.m.miller@hp.com">mark.m.miller@hp.com</a>></span><br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Bottom line the keystone service attempting to start but is running into a problem and cannot start. Check the /var/log/syslog file. <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"><span style="text-decoration: underline;"></span> <span style="text-decoration: underline;"></span></span></p>
<p class="MsoNormal"><strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">From:</span></strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';"> CHABANI Mohamed El Hadi [mailto:<a href="mailto:chabani.mohamed.hadi@gmail.com">chabani.mohamed.hadi@gmail.com</a>] <br /><strong>Sent:</strong> Tuesday, June 25, 2013 8:46 AM<br /><strong>To:</strong> Miller, Mark M (EB SW Cloud - R&D - Corvallis)<br /><strong>Cc:</strong> Виль Суркин; <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a></span></p>
<div>
<div class="h5"><br /><strong>Subject:</strong> Re: [Openstack] Swift / Keystone authentication<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></div>
</div>
<p> </p>
<div>
<div class="h5">
<p class="MsoNormal"><span style="text-decoration: underline;"></span> <span style="text-decoration: underline;"></span></p>
<div>
<p class="MsoNormal">Yes you are right :) !<br /><br />  When trying <strong>'service keystone status'</strong> i get : <strong>keystone stop/waiting</strong>......however when i do <strong>service keystone start</strong>, it shows<strong> 'keystone start/running, process 32462'</strong> i'm missing something here ? because i've installed keystone without changing his database (no need). <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom: 12.0pt;"><span style="text-decoration: underline;"></span> <span style="text-decoration: underline;"></span></p>
<div>
<p class="MsoNormal">2013/6/25 Miller, Mark M (EB SW Cloud - R&D - Corvallis) <<a href="mailto:mark.m.miller@hp.com">mark.m.miller@hp.com</a>><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<div>
<div>
<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</span><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<p class="MsoNormal"><strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">From:</span></strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';"> Openstack [mailto:<a href="mailto:openstack-bounces%2Bmark.m.miller">openstack-bounces+mark.m.miller</a>=<a href="mailto:hp.com@lists.launchpad.net">hp.com@lists.launchpad.net</a>] <strong>On Behalf Of </strong>CHABANI Mohamed El Hadi<br /><strong>Sent:</strong> Tuesday, June 25, 2013 7:48 AM<br /><strong>To:</strong> Виль Суркин</span><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<div>
<p class="MsoNormal"><br /><strong>Cc:</strong> <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br /><strong>Subject:</strong> Re: [Openstack] Swift / Keystone authentication<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<p class="MsoNormal"> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom: 12.0pt;">When i tried with port : 5000 and even 35357 i got : <strong><span style="font-family: 'Courier New';">Authorization Failed: [Errno 111] Connection refused</span></strong><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<div>
<p class="MsoNormal">These 2 ports are not open i guess, should i open them manually ? (the keystone service is start/running)<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<div>
<p class="MsoNormal"> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom: 12.0pt;"> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<div>
<p class="MsoNormal">2013/6/25 Виль Суркин <<a href="mailto:vill.srk@gmail.com">vill.srk@gmail.com</a>><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<div>
<p class="MsoNormal">You should authenticate in keystone service, not in swift-proxy. <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal">Keystone's Public API usually binds to TCP port 5000.<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<div>
<p class="MsoNormal"> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal">-- <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal">Виль Суркин<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal"> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
</div>
<p><span style="color: #a0a0a8;">вторник, 25 июня 2013 г. в 18:38, CHABANI Mohamed El Hadi написал:</span><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></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,<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></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"> 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><strong><span style="font-size: 10.0pt;">swift -V 2.0 -A <a href="http://127.0.0.1:8888/v2.0"> http://127.0.0.1:8888/v2.0</a> -U swift:swift -K swift stat </span></strong></code><br /> i get :<strong> </strong><code><strong><span style="font-size: 10.0pt;">Unauthorised. Check username, password and tenant name/id</span></strong></code><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<p class="MsoNormal"><code><span style="font-size: 10.0pt;">Or with :<strong> keystone --os-username=swift --os-password=swift --os-auth-url=<a href="http://127.0.0.1:8888/v2.0">http://127.0.0.1:8888/v2.0</a> token-get</strong></span></code>      i get : <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<p><code><strong><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></strong></code><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<p>Any sugestions ? here my <a href="http://pastebin.ubuntu.com/5797979/"> proxy-server.conf</a>.<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<p> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<p>Thank you<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<p> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
<p class="MsoNormal"> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">_______________________________________________<span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal">Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal">Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal">Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
<div>
<p class="MsoNormal">More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
</div>
<p class="MsoNormal"> <span style="text-decoration: underline;"></span><span style="text-decoration: underline;"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span style="text-decoration: underline;"></span> <span style="text-decoration: underline;"></span></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>