Joe Buck [Wed, 21 Aug 2013 19:18:31 +0000 (12:18 -0700)]
radosgw-admin: use check_status for task success
Alter the code to use the 'check_status=True'
option in rgwadmin() rather than following the
call with 'assert not err'. Should make the
tests a bit more clear and result in a more
useful error (throw the call stack rather than
just 'assert new err failed').
Signed-off-by: Joe Buck <jbbuck@gmail.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Sat, 17 Aug 2013 17:14:37 +0000 (10:14 -0700)]
radosgw-admin: use dynamic ports for testing
The rgw.py task was extended to dynamically
assign port numbers to radosgateways.
This patch extends the radosgw-admin task
to use those ports rather than making out-dated
assumptions of port numbering.
Sandon Van Ness [Sat, 17 Aug 2013 00:08:04 +0000 (17:08 -0700)]
Kernel value of - uses doesn't install kernel.
Using - as the kernel value (instead of what is usually 'testing'
will not add the kernel install tasks tot he yaml so the machine
will run the tests on its current running kernel (usefull for arm
and others).
Issue #6023.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Warren Usui [Fri, 16 Aug 2013 23:21:17 +0000 (16:21 -0700)]
Display error message when locking a vpm fails due to downburst errors.
When doing a lock-many, do not lock any of the vpms when downburst errors
occur. Made error messages more accurate, and removed a destroy_if_vm call
because the destroy was alreadly called in unlock. Changed some print
messages to be log.info displays.
Warren Usui [Fri, 16 Aug 2013 22:21:47 +0000 (15:21 -0700)]
Fix ARM releases to be quantal armv7l releases.
Made grub execution conditional and not done when ARM.
Use ctx parameter to change machine type to tala.
Fix kernel assignments when running ARM systems.
Warren Usui [Sat, 15 Jun 2013 01:42:00 +0000 (18:42 -0700)]
Fix ARM releases to be quantal armv7l releases.
Made grub execution conditional and not done when ARM.
Use ctx parameter to change machine type to tala.
Fix kernel assignments when running ARM systems.
Warren Usui [Wed, 14 Aug 2013 00:16:00 +0000 (17:16 -0700)]
Display error message when locking a vpm fails due to downburst errors.
When doing a lock-many, do not lock any of the vpms when downburst errors
occur. Do not display message on unlock with downburst error, because
slot is still freed (and can be locked by someone else).
Loic Dachary [Tue, 13 Aug 2013 10:43:21 +0000 (12:43 +0200)]
do not check the jobid if check-locks is False
Because it relies on the lock server which is presumably not available
since check-locks was set to False. It matters when using teuthology
on a minimal installation.
Joe Buck [Fri, 9 Aug 2013 04:14:56 +0000 (21:14 -0700)]
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>
Joe Buck [Fri, 9 Aug 2013 04:04:42 +0000 (21:04 -0700)]
rgw.py: fix example config
In the example config, the region root and
zone root where pointing to the same pool,
which is not a best practice. Updated the
example to show them pointing to different pools.
Joe Buck [Sat, 3 Aug 2013 23:55:19 +0000 (16:55 -0700)]
s3readwrite.py: make user creation optional
Extend the s3readwrite.py task to enable the
creation and deletion of users for the s3readwrite
tests to be independently specified with the default
assumption to both being true.
This is needed for tests that will create a user and
data in one execution and read it in another.
Joe Buck [Thu, 1 Aug 2013 06:19:57 +0000 (23:19 -0700)]
rgw.py: refactor configure
Extend the rados pool configuration options to
specify all pools (if desired).
Also, reordered zone and region configuration
so that they're configure (per client) in
this order: zone, region, set default region
Joe Buck [Sun, 4 Aug 2013 19:36:04 +0000 (12:36 -0700)]
s3readwrite.py: enable overrides
Enable s3readwrite task to have the branch to
download specified and for overrides to be
incorporated into the config at run-time.
Code based on the s3tests.py task.
Signed-off-by: Joe Buck <jbbuck@gmail.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Joe Buck [Sun, 4 Aug 2013 00:16:52 +0000 (17:16 -0700)]
rgw.py: add None object check when parsing info
The rgw task was failing to check for a None object
when parsing user info in the case where there were
config options set for the client that did not include
user info (e.g. valgrind: ).