<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=us-ascii">
<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;
margin-bottom:5.95pt;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{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">Comments inline.<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> 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<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div id="yiv7572006167">
<div>
<div>
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_10">
<p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Courier New";color:black">Hello Steve,</span><span style="font-family:"Helvetica Neue";color:black"><o:p></o:p></span></p>
</div>
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_10">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<br>
<o:p></o:p></span></p>
</div>
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_10">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">My questions about swift recon are:<o:p></o:p></span></p>
</div>
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_10">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
Q1: what should be the curl command for recon?<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00B0F0">For example, to get a list of mounted devices on an object server:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00B0F0">curl -i http://<an-object-server-ip>:6000/recon/mounted<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";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="font-size:10.0pt;font-family:"Courier New";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00B0F0">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:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00B0F0">curl -i http://<an-object-server-ip>:6000/recon/mem<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
(ii) currently mounted file systems</span><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00B0F0">Use ‘swift-recon –d’<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
(iii) list of devices</span><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00B0F0">Same as ii.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black"><br>
<br id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_176">
<br>
<o:p></o:p></span></p>
</div>
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_10">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">Q3. When I run swift-recon command, It respond in terms of low: <> high: <> avg: <> total: <> failed: <> no_result: <><o:p></o:p></span></p>
</div>
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_10">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">For example,<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">root@swift-VirtualBox:~# swift-recon account --auditor
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">===============================================================================
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">--> Starting reconnaissance on 4 hosts
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">===============================================================================
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">[2014-02-12 15:05:20] Checking auditor stats
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">[account_auditor_pass_completed] low: 0, high: 0, avg: 0.0, total: 0, Failed: 0.0%, no_result: 0, reported: 1
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">[account_audits_passed] - No hosts returned valid data.
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">[account_audits_failed] - No hosts returned valid data.
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">[account_audits_since] - No hosts returned valid data.
<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
</div>
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_10">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black"><o:p> </o:p></span></p>
</div>
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_10">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:black">What is the meaning of following terms: low, high, avg, total, failed, no_result, and reported ?<br>
<br>
</span><span style="font-size:10.0pt;font-family:"Courier New";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#00B0F0">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!<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:10.0pt;font-family:"Courier New";color:black"><br>
Thanks<br>
Pragya Jain<o:p></o:p></span></p>
</div>
<div id="yiv7572006167yqt16698">
<div id="yiv7572006167yui_3_13_0_ym1_6_1394167575860_12">
<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 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>
<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>
<p class="MsoNormal" style="margin-bottom:12.0pt;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>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>