<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:x="urn:schemas-microsoft-com:office:excel" 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:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@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:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:"Helvetica Neue";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.yiv1317838877msonormal, li.yiv1317838877msonormal, div.yiv1317838877msonormal
{mso-style-name:yiv1317838877msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.yiv1317838877msochpdefault, li.yiv1317838877msochpdefault, div.yiv1317838877msochpdefault
{mso-style-name:yiv1317838877msochpdefault;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.yiv1317838877msohyperlink
{mso-style-name:yiv1317838877msohyperlink;}
span.yiv1317838877msohyperlinkfollowed
{mso-style-name:yiv1317838877msohyperlinkfollowed;}
span.yiv1317838877emailstyle18
{mso-style-name:yiv1317838877emailstyle18;}
p.yiv1317838877msonormal1, li.yiv1317838877msonormal1, div.yiv1317838877msonormal1
{mso-style-name:yiv1317838877msonormal1;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.yiv1317838877msohyperlink1
{mso-style-name:yiv1317838877msohyperlink1;
color:blue;
text-decoration:underline;}
span.yiv1317838877msohyperlinkfollowed1
{mso-style-name:yiv1317838877msohyperlinkfollowed1;
color:purple;
text-decoration:underline;}
span.yiv1317838877emailstyle181
{mso-style-name:yiv1317838877emailstyle181;
color:#1F497D;}
p.yiv1317838877msochpdefault1, li.yiv1317838877msochpdefault1, div.yiv1317838877msochpdefault1
{mso-style-name:yiv1317838877msochpdefault1;
mso-margin-top-alt:auto;
margin-right:0cm;
margin-bottom:5.95pt;
margin-left:0cm;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle28
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.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="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">Is the object-server running on the node and is it using port 6000 and does it have recon in the pipeline e.g.<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"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">grep pipeline /etc/swift/object-server.conf
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[pipeline:main]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">pipeline = recon name_check object-serve<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"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Gerry<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>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<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""> pragya jain [mailto:prag_2648@yahoo.co.in]
<br>
<b>Sent:</b> 11 March 2014 06:17<br>
<b>To:</b> Drudy, Gerry; Steve Mayer<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] swift recon query<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-family:"Helvetica Neue";color:black">Thanks Drudy Gerry for answering my queries.<br>
<br>
But when I use curl command for recon, I get the following results:<br>
<br>
root@swift-VirtualBox:~# curl -i http://127.0.0.1:6000/recon/mounted<br>
curl: (7) couldn't connect to host<br>
<br>
I don't understand where is the problem. Please help.<br>
<br>
Thanks<br>
Pragya Jain<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-family:"Helvetica Neue";color:black"><o:p> </o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:black">On Friday, 7 March 2014 3:51 PM, "Drudy, Gerry" <Gerry.Drudy@hp.com> wrote:</span><span style="color:black"><o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:3.75pt;margin-bottom:5.0pt">
<div>
<div id="yiv1317838877">
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black">Comments inline.</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<p class="MsoNormal" style="background:white"><b><span style="font-size:10.0pt;color:black">From:</span></b><span style="font-size:10.0pt;color:black"> pragya jain [mailto:prag_2648@yahoo.co.in]
<br>
<b>Sent:</b> 07 March 2014 05:33<br>
<b>To:</b> Steve Mayer; Drudy, Gerry<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] swift recon query</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<div id="yiv1317838877">
<div>
<div>
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_10">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">Hello Steve,</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_10">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="color:black"><o:p> </o:p></span></p>
</div>
</div>
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_10">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">My questions about swift recon are:</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_10">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-size:10.0pt;color:black"><br>
Q1: what should be the curl command for recon?</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black">For example, to get a list of mounted devices on an object server:</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black">curl -i http://<an-object-server-ip>:6000/recon/mounted</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black"><br>
Q2. what arguments should I use with 'swift-recon' command to get the status about<br>
(i) /proc/meminfo,</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black">I’m not sure you can get meminfo using the swift-recon command. But you can use curl to get meminfo from a node, the following is a request to an object server:</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black">curl -i http://<an-object-server-ip>:6000/recon/mem</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black"><br>
(ii) currently mounted file systems</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black">Use ‘swift-recon –d’</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black"><br>
(iii) list of devices</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black">Same as ii.</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-size:10.0pt;color:black"><br>
<br>
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_10">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">Q3. When I run swift-recon command, It respond in terms of low: <> high: <> avg: <> total: <> failed: <> no_result: <></span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_10">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">For example,</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">root@swift-VirtualBox:~# swift-recon account --auditor
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">===============================================================================
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">--> Starting reconnaissance on 4 hosts
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">===============================================================================
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">[2014-02-12 15:05:20] Checking auditor stats
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">[account_auditor_pass_completed] low: 0, high: 0, avg: 0.0, total: 0, Failed: 0.0%, no_result: 0, reported: 1
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">[account_audits_passed] - No hosts returned valid data.
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">[account_audits_failed] - No hosts returned valid data.
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">[account_audits_since] - No hosts returned valid data.
</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_10">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_10">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="font-size:10.0pt;color:black">What is the meaning of following terms: low, high, avg, total, failed, no_result, and reported ?</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black">Typically the ‘low’ would indicate the value from a node with the lowest value. For example if you are looking at async pendings, each node will have a different async
pending queue length. The low value indicates queue length for the node with the smallest queue length, while the high indicates the longest async pending queue length and avg is the average queue length for all nodes. The total is the total number of async
pending across all nodes. I think reported typically means the number of nodes it has got a result from? I can’t give you a clear definition of failed and no_result!</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div id="yiv1317838877yqtfd95153">
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black"><br>
Thanks<br>
Pragya Jain</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<div id="yiv1317838877yqtfd83391">
<div id="yiv1317838877yqt16698">
<div id="yiv1317838877yui_3_13_0_ym1_6_1394167575860_12">
<div style="margin-bottom:12.0pt">
<p class="MsoNormal" style="background:white"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;color:black">On Thursday, 6 March 2014 9:14 PM, Steve Mayer <smayer69@me.com> wrote:</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:3.75pt;margin-bottom:5.0pt">
<div>
<div style="margin-bottom:12.0pt">
<p class="MsoNormal" style="background:white"><span style="color:black">The '-a' argument to swift-recon is for looking at the async-pendings,
<br>
which will only be available if you've set up the <br>
/usr/bin/swift-recon-cron job on the object server nodes.<br>
<br>
Try running with the '-d' or '-l' arguments to see some actual <br>
statistics.<br>
<br>
-- <br>
Steve Mayer<br>
<a href="mailto:smayer69@me.com" target="_blank">smayer69@me.com</a><br>
<br>
On 6 Mar 2014, at 2:31, Drudy, Gerry wrote:<br>
<br>
> Add the verbose option to swift-recon:<br>
><br>
> swift-recon -av<br>
><br>
> It will list all the object servers in the ring. Each server listed <br>
> should have the object-server process running.<br>
><br>
> Gerry.<br>
><br>
> From: pragya jain [mailto:<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>]<br>
> Sent: 06 March 2014 10:25<br>
> To: Drudy, Gerry; <a href="mailto:openstack@lists.openstack.org" target="_blank">
openstack@lists.openstack.org</a><br>
> Subject: Re: [Openstack] swift recon query<br>
><br>
> hi Gerry,<br>
><br>
> I run following commands:<br>
> <a href="mailto:root@swift-VirtualBox" target="_blank">root@swift-VirtualBox</a>:~# curl -i
<a href="http://127.0.0.1:6000/recon/async" target="_blank">http://127.0.0.1:6000/recon/async</a><br>
> curl: (7) couldn't connect to host<br>
> <a href="mailto:root@swift-VirtualBox" target="_blank">root@swift-VirtualBox</a>:~# swift-recon -a<br>
> ===============================================================================<br>
> --> Starting reconnaissance on 4 hosts<br>
> ===============================================================================<br>
> [2014-03-06 15:51:14] Checking async pendings<br>
> [async_pending] - No hosts returned valid data.<br>
> ===============================================================================<br>
> I can't understand where is the problem<br>
><br>
> Please help.<br>
><br>
> Thanks<br>
> Pragya jain<br>
><br>
> On Thursday, 6 March 2014 2:38 PM, "Drudy, Gerry" <<a href="mailto:Gerry.Drudy@hp.com" target="_blank">Gerry.Drudy@hp.com</a>>
<br>
> wrote:<br>
> Try<br>
><br>
> curl -i <a href="http://127.0.0.1:6000/recon/async" target="_blank">http://127.0.0.1:6000/recon/async</a><br>
><br>
> assuming 6000 is the port the object-server binds to.<br>
><br>
> Gerry,<br>
><br>
> From: pragya jain [mailto:<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>]<br>
> Sent: 06 March 2014 06:58<br>
> To: <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
> Subject: Re: [Openstack] swift recon query<br>
><br>
> please somebody answer my questions related to swift recon.<br>
><br>
> Thanks<br>
><br>
> Pragya Jain<br>
><br>
> On Wednesday, 5 March 2014 2:31 PM, pragya jain <br>
> <<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>> wrote:<br>
> hello all,<br>
><br>
> I have some basic questions about swift recon. please query them.<br>
><br>
> Q1: what should be the curl command for recon?<br>
><br>
> I use the following commands:<br>
> 1. <a href="mailto:root@swift-VirtualBox" target="_blank">root@swift-VirtualBox</a>:~# curl -i
<a href="http://127.0.0.1:8080/recon/async" target="_blank">http://127.0.0.1:8080/recon/async</a><br>
><br>
> HTTP/1.1 401 Unauthorized<br>
> Content-Length: 131<br>
> Content-Type: text/html; charset=UTF-8<br>
> Www-Authenticate: Swift realm="async"<br>
> X-Trans-Id: txe8c8850fc0a74ae095faa-005316e3a5<br>
> Date: Wed, 05 Mar 2014 08:43:17 GMT<br>
><br>
> <html><h1>Unauthorized</h1><p>This server could not verify that you <br>
> are authorized to access the document you requested.</p></html><br>
><br>
> 2. <a href="mailto:root@swift-VirtualBox" target="_blank">root@swift-VirtualBox</a>:~# curl -i
<br>
> <a href="http://127.0.0.1:8080/v1/AUTH_prag2648/recon/async" target="_blank">http://127.0.0.1:8080/v1/AUTH_prag2648/recon/async</a><br>
><br>
> HTTP/1.1 401 Unauthorized<br>
> Content-Length: 131<br>
> Content-Type: text/html; charset=UTF-8<br>
> Www-Authenticate: Swift realm="AUTH_prag2648"<br>
> X-Trans-Id: tx978f787ce01f446a9beeb-005316e424<br>
> Date: Wed, 05 Mar 2014 08:45:24 GMT<br>
><br>
> <html><h1>Unauthorized</h1><p>This server could not verify that you <br>
> are authorized to access the document you requested.</p></html><br>
><br>
> Q2. Does 'swift-recon' command not provide the status about<br>
> (i) /proc/meminfo,<br>
> (ii) currently mounted file systems<br>
> (iii) list of devices<br>
> if 'swift-recon' provides these informations, then what should be <br>
> the command?<br>
><br>
> Q3. It stands for what?<br>
> low<br>
> high<br>
> avg<br>
> total<br>
> failed<br>
> no_result<br>
> reported<br>
><br>
> Pragya Jain<br>
><br>
><br>
> _______________________________________________<br>
> Mailing list: <br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
> Unsubscribe : <br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><o:p></o:p></span></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt;background:white"><span style="color:black"><o:p> </o:p></span></p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>