Commit Graph

18 Commits

Author SHA1 Message Date
Josh Durgin
b77a7785f2 Merge branch 'next' 2013-10-30 09:58:10 -07:00
Josh Durgin
9ae3fce513 radosgw-agent: add metadata-only option to task config
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-10-30 09:57:56 -07:00
Josh Durgin
96835e9c94 radosgw-agent: move positional argument last
Other args are treated as positional after the first one.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-10-30 09:57:54 -07:00
Josh Durgin
5f01bcba4c rgw: fix whitespace
Replace tabs with spaces and remove trailing spaces.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-10-30 09:57:52 -07:00
Josh Durgin
db98afe471 rgw: remove unused variables
Region name isn't needed for the new radosgw-agent
command line args.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-10-30 09:57:50 -07:00
Christophe Courtaut
d65a0b9efa Reflect radosgw-agent option changes in teuthology
Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
2013-10-30 09:57:49 -07:00
Warren Usui
a1d8225b7d Added docstrings, and improved some of the comments on several tasks. 2013-10-12 01:35:34 -07:00
Joe Buck
d47ae37e93 Adding in erroneously removed args
The 'kill' argument was accidentially removed
as part of patch
53b8e27da9

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-09-09 12:37:05 -07:00
Zack Cerza
53b8e27da9 Helper scripts live in /usr/local/bin now! 2013-09-06 15:10:11 -05:00
Joe Buck
2877e2722b radosgw-agent: store radosgw_agent server/port
Persist the hostname and port number used
by the radosgw-agent http server.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-28 09:00:03 -07:00
Joe Buck
bbf7c71183 radosgw-agent: adding debug logging
Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-08-16 19:26:41 -07:00
Joe Buck
2c9ac3e0ee Detect multi-region test cases
Enable multi-region calls and tests only if
the configuration has specified a
radosgw-agent tastk.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-16 09:09:46 -07:00
Joe Buck
d4c2576c34 radosgw-agent.py: refactor, enable overrides
Refactored the radosgw-agent.py code so that it
is structured more like existing teuthology
tasks.
Additionally, added code to enable:
using the override field in YAML files,
specifying which radosgw-agent github branch
to use checkout and for the YAML file to
specify one of the following: a full sync,
an incremental sync and the starting of the
test radosgw-agent server (previously the
server was always started by this task).

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-12 23:25:57 -07:00
Yehuda Sadeh
3fb53189d0 agent name should also contain port number
otherwise multiple agents per machines will have the same id

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-08-12 23:24:13 -07:00
Yehuda Sadeh
4adc1da58a radosgw-admin: various multiregion related fixes and changes
Go to the master zone in the master region for radosgw-admin
operations. Trigger metadata sync. Other fixes.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-08-12 23:24:04 -07:00
Josh Durgin
1787a72ef0 radosgw-agent: get verbose logs from the agent
This makes it a lot easier to debug.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-01 19:12:03 -07:00
Josh Durgin
1ec9c1b4b8 radosgw-agent: move zone extraction to helper
This will be useful for other tasks.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-01 19:12:02 -07:00
Josh Durgin
ef68b98822 radosgw-agent: rename task to match tool name
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-08-01 17:33:36 -07:00