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
[email protected]

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:[email protected]]
Sent: 06 March 2014 10:25
To: Drudy, Gerry; [email protected]
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" <[email protected]> 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:[email protected]]
Sent: 06 March 2014 06:58
To: [email protected]
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 <[email protected]> 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     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to