Hi Gerry,
Object server is using port 6010 rather than 6000
I use the curl command
curl -i http://127.0.0.1:6010/recon/mounted
Now it is working.
Very thankful for your help.
Thanks again
Pragya jain
On Tuesday, 11 March 2014 2:59 PM, "Drudy, Gerry" <gerry.dr...@hp.com> wrote:
Is the object-server running on the node and is it using port 6000 and does it
have recon in the pipeline e.g.
>
>grep pipeline /etc/swift/object-server.conf
>[pipeline:main]
>pipeline = recon name_check object-serve
>
>Gerry
>
>From:pragya jain [mailto:prag_2...@yahoo.co.in]
>Sent: 11 March 2014 06:17
>To: Drudy, Gerry; Steve Mayer
>Cc: openstack@lists.openstack.org
>Subject: Re: [Openstack] swift recon query
>
>Thanks Drudy Gerry for answering my queries.
>
>But when I use curl command for recon, I get the following results:
>
>root@swift-VirtualBox:~# curl -i http://127.0.0.1:6000/recon/mounted
>curl: (7) couldn't connect to host
>
>I don't understand where is the problem. Please help.
>
>Thanks
>Pragya Jain
>
>On Friday, 7 March 2014 3:51 PM, "Drudy, Gerry" <gerry.dr...@hp.com> wrote:
>Comments inline.
>>
>>From:pragya jain [mailto:prag_2...@yahoo.co.in]
>>Sent: 07 March 2014 05:33
>>To: Steve Mayer; Drudy, Gerry
>>Cc: openstack@lists.openstack.org
>>Subject: Re: [Openstack] swift recon query
>>
>>Hello Steve,
>>
>>My questions about swift recon are:
>>
>>Q1: what should be the curl command for recon?
>>For example, to get a list of mounted devices on an object server:
>>curl -i http://<an-object-server-ip>:6000/recon/mounted
>>
>>Q2. what arguments should I use with 'swift-recon' command to get the status
>>about
>> (i) /proc/meminfo,
>>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:
>>curl -i http://<an-object-server-ip>:6000/recon/mem
>>
>> (ii) currently mounted file systems
>>Use ‘swift-recon –d’
>>
>> (iii) list of devices
>>Same as ii.
>>
>>
>>
>>Q3. When I run swift-recon command, It respond in terms of low: <> high: <>
>>avg: <> total: <> failed: <> no_result: <>
>>For example,
>>root@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 ?
>>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!
>>
>>
>>Thanks
>>Pragya Jain
>>
>>On Thursday, 6 March 2014 9:14 PM, Steve Mayer <smaye...@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
>>>smaye...@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_2...@yahoo.co.in]
>>>> Sent: 06 March 2014 10:25
>>>> To: Drudy, Gerry; openstack@lists.openstack.org
>>>> Subject: Re: [Openstack] swift recon query
>>>>
>>>> hi Gerry,
>>>>
>>>> I run following commands:
>>>> root@swift-VirtualBox:~# curl -i http://127.0.0.1:6000/recon/async
>>>> curl: (7) couldn't connect to host
>>>> root@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.dr...@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_2...@yahoo.co.in]
>>>> Sent: 06 March 2014 06:58
>>>> To: openstack@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_2...@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@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@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@lists.openstack.org
>>>> Unsubscribe :
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack