[Openstack] swift recon query

pragya jain prag_2648 at yahoo.co.in
Fri Mar 7 05:32:48 UTC 2014


Hello Steve,

My questions about swift recon are:

Q1: what should be the curl command for recon?

Q2. what arguments should I use with 'swift-recon' command to get the status about
                   (i)      /proc/meminfo,
                   (ii)    currently mounted file systems
                   (iii)    list of devices


Q3. When I run swift-recon command, It respond in terms of low: <> high: <> avg: <> total: <> failed: <> no_result: <>
For example,
 
root at swift-VirtualBox:~# swift-recon
account --auditor 
=============================================================================== 
--> Starting reconnaissance on 4
hosts 
=============================================================================== 
[2014-02-12 15:05:20] Checking auditor
stats 
[account_auditor_pass_completed] low:
0, high: 0, avg: 0.0, total: 0, Failed: 0.0%, no_result: 0, reported:
1 
[account_audits_passed] - No hosts
returned valid data. 
[account_audits_failed] - No hosts
returned valid data. 
[account_audits_since] - No hosts
returned valid data. 


What is the meaning of following terms: low, high, avg, total, failed, no_result, and reported ?

Thanks
Pragya Jain



On Thursday, 6 March 2014 9:14 PM, Steve Mayer <smayer69 at me.com> wrote:
 
The '-a' argument to swift-recon is for looking at the async-pendings, 
>which will only be available if you've set up the 
>/usr/bin/swift-recon-cron job on the object server nodes.
>
>Try running with the '-d' or '-l' arguments to see some actual 
>statistics.
>
>-- 
>Steve Mayer
>smayer69 at me.com
>
>On 6 Mar 2014, at 2:31, Drudy, Gerry wrote:
>
>> Add the verbose option to swift-recon:
>>
>> swift-recon -av
>>
>> It will list all the object servers in the ring.  Each server listed 
>> should have the object-server
 process running.
>>
>> Gerry.
>>
>> From: pragya jain [mailto:prag_2648 at yahoo.co.in]
>> Sent: 06 March 2014 10:25
>> To: Drudy, Gerry; openstack at lists.openstack.org
>> Subject: Re: [Openstack] swift recon query
>>
>> hi Gerry,
>>
>> I run following commands:
>> root at swift-VirtualBox:~# curl -i http://127.0.0.1:6000/recon/async
>> curl: (7) couldn't
 connect to host
>> root at swift-VirtualBox:~# swift-recon -a
>> ===============================================================================
>> --> Starting reconnaissance on 4 hosts
>> ===============================================================================
>> [2014-03-06 15:51:14] Checking async pendings
>> [async_pending] - No hosts returned valid data.
>> ===============================================================================
>> I can't understand where is the problem
>>
>> Please help.
>>
>> Thanks
>> Pragya jain
>>
>> On Thursday, 6 March 2014 2:38 PM, "Drudy, Gerry"
 <Gerry.Drudy at hp.com> 
>> wrote:
>> Try
>>
>> curl  -i http://127.0.0.1:6000/recon/async
>>
>> assuming 6000 is the port the object-server binds to.
>>
>> Gerry,
>>
>> From: pragya jain [mailto:prag_2648 at yahoo.co.in]
>> Sent: 06 March 2014 06:58
>> To: openstack at lists.openstack.org
>> Subject: Re: [Openstack] swift recon query
>>
>> please somebody answer my questions related to swift recon.
>>
>> Thanks
>>
>> Pragya Jain
>>
>> On Wednesday, 5 March 2014 2:31 PM, pragya jain 
>> <prag_2648 at yahoo.co.in> wrote:
>> hello all,
>>
>> I have some basic questions about swift recon. please query them.
>>
>> Q1: what should be the curl command for recon?
>>
>> I use the following commands:
>> 1.  root at swift-VirtualBox:~# curl -i http://127.0.0.1:8080/recon/async
>>
>> HTTP/1.1 401 Unauthorized
>> Content-Length: 131
>> Content-Type: text/html; charset=UTF-8
>> Www-Authenticate: Swift realm="async"
>> X-Trans-Id: txe8c8850fc0a74ae095faa-005316e3a5
>> Date: Wed, 05 Mar 2014 08:43:17 GMT
>>
>> <html><h1>Unauthorized</h1><p>This server could not verify that you 
>> are authorized to access the document you requested.</p></html>
>>
>> 2.  root at swift-VirtualBox:~# curl -i 
>> http://127.0.0.1:8080/v1/AUTH_prag2648/recon/async
>>
>> HTTP/1.1 401 Unauthorized
>> Content-Length: 131
>> Content-Type: text/html; charset=UTF-8
>> Www-Authenticate: Swift realm="AUTH_prag2648"
>> X-Trans-Id: tx978f787ce01f446a9beeb-005316e424
>> Date: Wed, 05 Mar 2014 08:45:24 GMT
>>
>> <html><h1>Unauthorized</h1><p>This server could not verify that you 
>> are authorized to access the document you requested.</p></html>
>>
>> Q2. Does 'swift-recon' command not provide the status about
>>                     (i)      /proc/meminfo,
>>                 
    (ii)     currently mounted file systems
>>                     (iii)    list of devices
>>    if 'swift-recon' provides these informations, then what should be 
>> the command?
>>
>> Q3. It stands for what?
>>          low
>>          high
>>          avg
>>          total
>>          failed
>>          no_result
>>          reported
>>
>> Pragya Jain
>>
>>
>>
 _______________________________________________
>> Mailing list: 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140307/aaa5d856/attachment.html>


More information about the Openstack mailing list