]> git.apps.os.sepia.ceph.com Git - teuthology.git/log
teuthology.git
11 years agoFix kvm issues for Trusty dumpling
Warren Usui [Fri, 28 Mar 2014 23:04:05 +0000 (16:04 -0700)]
Fix kvm issues for Trusty

Change kvm reference to qemu-system-x86_64 and use raw format
in kvm/qemu command.  Tested on both Trusty and Precise.

Fixes: 7825
Signed-off-by: Warren Usui <warren.usui@inktank.com>
(cherry picked from commit eef2bf672b76a6c0243687c7acd20fd99e7dd44a)

11 years agotasks: Use '_' instead of '-' in names
John Spray [Mon, 12 May 2014 09:55:58 +0000 (10:55 +0100)]
tasks: Use '_' instead of '-' in names

Python modules are not allowed to contain hyphens
in the name.  Using hyphens only works here because
we're using low level __import__.

Change run_tasks to replace '-' with '_' when reading
configs, and rename the task modules to have valid
python module names.

Aside from general hygiene, the motivation to do this
is to allow one task to build on code in another
task by importing it.

Signed-off-by: John Spray <john.spray@inktank.com>
(cherry picked from commit 79dfe2cbefbbf14b69ae10c44a89a4fe45fedbe5)

11 years agoAdd branch name to job config
Zack Cerza [Thu, 1 May 2014 16:48:54 +0000 (11:48 -0500)]
Add branch name to job config

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
(cherry picked from commit d1b93530b30e1a9baefd3fc95941090c83fddce1)

11 years agoAdd suite name to job config
Zack Cerza [Thu, 1 May 2014 16:21:08 +0000 (11:21 -0500)]
Add suite name to job config

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
(cherry picked from commit ab9645f97bcefc43006728b4f7d17322fcc33d82)

11 years agovalgrind: fix tcmalloc suppression for trusty
Sage Weil [Mon, 28 Apr 2014 22:56:57 +0000 (15:56 -0700)]
valgrind: fix tcmalloc suppression for trusty

Fixes: #8225
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit f261687f292df47b7a5296814480713c3c3d306f)

11 years agoRevert "valgrind.supp: be less picky about library versions"
Sage Weil [Mon, 28 Apr 2014 21:04:28 +0000 (14:04 -0700)]
Revert "valgrind.supp: be less picky about library versions"

This reverts commit f895d16c9e2fd59aab446254e53480cdb91092a1.
(cherry picked from commit bab84d45abdaac101a517eb85540c706e3f58363)

11 years agoFix for #8115
Sandon Van Ness [Tue, 22 Apr 2014 19:35:11 +0000 (12:35 -0700)]
Fix for #8115

Increase boot disk size per #8115 where monitors shut down due to
/ being full on vm machines.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agovalgrind.supp: be less picky about library versions
Sage Weil [Sat, 29 Mar 2014 16:38:31 +0000 (09:38 -0700)]
valgrind.supp: be less picky about library versions

...so that this works on trusty

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit f895d16c9e2fd59aab446254e53480cdb91092a1)

11 years agoHandle newer btrfstools.
Sandon Van Ness [Wed, 12 Mar 2014 01:15:12 +0000 (18:15 -0700)]
Handle newer btrfstools.

Newer btfs userland tools needs a -f like xfs instead of a prompt
for yes. Trusty needs this change.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agovalgrind: sync up suppressions with latest master
Sage Weil [Wed, 5 Feb 2014 23:18:49 +0000 (15:18 -0800)]
valgrind: sync up suppressions with latest master

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agothrashosds: change min_in from 2 -> 3
Sage Weil [Fri, 10 Jan 2014 19:00:55 +0000 (11:00 -0800)]
thrashosds: change min_in from 2 -> 3

See #7171. In rare cases CRUSH can't handle it when only 2/6 of
the OSDs are marked in.  Avoid those situations for now.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 495f2163a8debe6323b1b67737a47a0b31172f07)

11 years agovalgrind.supp: ignore libnss3 leaks
Sage Weil [Sun, 22 Dec 2013 06:21:49 +0000 (22:21 -0800)]
valgrind.supp: ignore libnss3 leaks

These just started popping up when I updated the notcmalloc gitbuilder, probably
because of an updated libnss version.   Whitelist it!

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 9a17bb5134ae7072089f780cd975761e61c708db)

11 years agorbd: bump the default scratch size for xfstests to 10G
Ilya Dryomov [Mon, 23 Dec 2013 17:54:11 +0000 (19:54 +0200)]
rbd: bump the default scratch size for xfstests to 10G

autobuild-ceph.git commit 53db7a34aba5 had silently changed the default
elevator from cfq to deadline, which made xfstests 167 very unhappy.
It looks like with deadline and noop elevators it requires a ~6G
scratch partition.  Bump the default scratch image size to 10G.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
(cherry picked from commit d781348fd5d319897787d4d43c3af6105b6aa988)

Conflicts:

teuthology/task/rbd.py

11 years agoadmin_socket: add missing import time
Sage Weil [Thu, 19 Dec 2013 05:08:20 +0000 (21:08 -0800)]
admin_socket: add missing import time

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoSet pg warn min per osd to 5.
Sandon Van Ness [Wed, 4 Dec 2013 19:26:20 +0000 (11:26 -0800)]
Set pg warn min per osd to 5.

Not set in all branches of teuthology.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agoUse worker httpd instead of prefork (like ubuntu) on rpm distros.
Sandon Van Ness [Fri, 25 Oct 2013 20:14:21 +0000 (13:14 -0700)]
Use worker httpd instead of prefork (like ubuntu) on rpm distros.

Ubuntu's default apache uses worker instead of prefork like rpm
based distro's. If rpm use httpd.worker instead of httpd so that
the -X behavior will not be blocked by a single request.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
11 years agofilestore_idempotent: pull dumpling version of scripts
Sage Weil [Wed, 23 Oct 2013 03:42:21 +0000 (20:42 -0700)]
filestore_idempotent: pull dumpling version of scripts

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agovalgrind: fix libleveldb suppression on dynamically linked leveldb
Sage Weil [Fri, 18 Oct 2013 23:26:35 +0000 (16:26 -0700)]
valgrind: fix libleveldb suppression on dynamically linked leveldb

(The function names don't show up here)

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit c8ec9feca1db0f95a1f5d933bfe362e400593a65)

12 years agovalgrind: suppress inet_ntop noise
Sage Weil [Thu, 26 Sep 2013 20:37:20 +0000 (13:37 -0700)]
valgrind: suppress inet_ntop noise

See #6240

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 2acceef69905173a008a6da075e675b3cb579391)

12 years agomisc: valgrind --num-callers=50
Sage Weil [Fri, 6 Sep 2013 21:05:29 +0000 (14:05 -0700)]
misc: valgrind --num-callers=50

Default is 12, which isn't quite enough.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 2214fe1845208f931260ed3014350fc0c932c054)

Conflicts:

teuthology/misc.py

12 years agoremove basedir/testdir distinction
Sage Weil [Tue, 10 Sep 2013 17:53:41 +0000 (10:53 -0700)]
remove basedir/testdir distinction

We should never run with a conflicting testdir in the basedir, and the
code to do this is confusing and buggy.  Go back to a single testdir and
simple checks.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 5acc57f5ad6ed14b3e1c89166d2571cf302a467c)

Conflicts:

README.rst
teuthology/misc.py

12 years agoRun yum clean all after installing new ceph-release.
Sandon Van Ness [Thu, 5 Sep 2013 18:58:27 +0000 (11:58 -0700)]
Run yum clean all after installing new ceph-release.

In order to get around the issue of repomd.xml being older than
the previously installed one depending on when the gitbuilder
built the repo.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoceph_manager: wait for dump_ops_in_flight on osd revival
Sage Weil [Sat, 24 Aug 2013 21:09:53 +0000 (14:09 -0700)]
ceph_manager: wait for dump_ops_in_flight on osd revival

Wait for a command that implies a complete startup instead of
'version' (which does not).

Fixes: #5924
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 5ec5e2c0e2e0cb4e25071999a05d9ac6294c3797)

12 years agoadmin_socket: fix retry-on-error behavior
Sage Weil [Tue, 27 Aug 2013 01:14:37 +0000 (18:14 -0700)]
admin_socket: fix retry-on-error behavior

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 502714ba2ed7bb47ec81a25cd2f1c724583020f9)

12 years agoDon't rebuilt virtualimage if NO_CLOBBER is set
Zack Cerza [Fri, 23 Aug 2013 19:51:00 +0000 (14:51 -0500)]
Don't rebuilt virtualimage if NO_CLOBBER is set

12 years agoDetect multi-region test cases
Joe Buck [Thu, 15 Aug 2013 19:51:51 +0000 (12:51 -0700)]
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>
12 years agokernel: fix sha1
Sage Weil [Sat, 17 Aug 2013 05:34:26 +0000 (22:34 -0700)]
kernel: fix sha1

6f8910eca47c3d00643c77fb8a166357637e55eb inadvertantly started
using the ceph sha1 for the kernel.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoradosgw-agent: adding debug logging
Joe Buck [Sat, 17 Aug 2013 01:32:29 +0000 (18:32 -0700)]
radosgw-agent: adding debug logging

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agorename variables and log messages to be more clear
Joe Buck [Sat, 17 Aug 2013 00:34:57 +0000 (17:34 -0700)]
rename variables and log messages to be more clear

A few edits to make logging and variable names
more clear.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agorgw: fix domain root pool name assignment
Joe Buck [Sat, 17 Aug 2013 00:32:45 +0000 (17:32 -0700)]
rgw: fix domain root pool name assignment

Do not make the domain root pool the same
as the zone root pool. That causes sync issues.
Also, clarify a logging message.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoradosgw-admin: correct white space mistake
Joe Buck [Sat, 17 Aug 2013 00:31:10 +0000 (17:31 -0700)]
radosgw-admin: correct white space mistake

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoKernel value of - uses doesn't install kernel.
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>
12 years agoMerge pull request #42 from ceph/wip-arm5000-wusui
Zack Cerza [Fri, 16 Aug 2013 22:48:21 +0000 (15:48 -0700)]
Merge pull request #42 from ceph/wip-arm5000-wusui

Fix ARM releases to be quantal armv7l releases.

12 years agoFix ARM releases to be quantal armv7l releases. 42/head
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.

Fixes: #5000
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoRevert "Fix ARM releases to be quantal armv7l releases."
Warren Usui [Fri, 16 Aug 2013 22:01:01 +0000 (15:01 -0700)]
Revert "Fix ARM releases to be quantal armv7l releases."

This reverts commit aabfabc34c101b5104d811eed0f57e262116ad4c.

12 years agoMerge pull request #40 from ceph/wip-teutharm-wusui
wusui [Fri, 16 Aug 2013 21:47:59 +0000 (14:47 -0700)]
Merge pull request #40 from ceph/wip-teutharm-wusui

Wip teutharm wusui

12 years agoFix ARM releases to be quantal armv7l releases. 40/head
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.

Fixes: #5000
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoAdding multi-region tests 39/head
Joe Buck [Tue, 13 Aug 2013 16:23:56 +0000 (09:23 -0700)]
Adding multi-region tests

Adding tests for ticket #5604 to test
user propagation via the radosgw-agent.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoMerge pull request #38 from ceph/fix_nightlies
Sage Weil [Fri, 16 Aug 2013 16:57:21 +0000 (09:57 -0700)]
Merge pull request #38 from ceph/fix_nightlies

Use the json format for raw_cluster_status().

12 years agoUse the json format for raw_cluster_status(). 38/head
Zack Cerza [Fri, 16 Aug 2013 16:24:55 +0000 (11:24 -0500)]
Use the json format for raw_cluster_status().

12 years agoDetect multi-region test cases
Joe Buck [Thu, 15 Aug 2013 19:51:51 +0000 (12:51 -0700)]
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>
12 years agoFixing assumed typo.
Sandon Van Ness [Fri, 16 Aug 2013 01:39:43 +0000 (18:39 -0700)]
Fixing assumed typo.

Assuming this has to be a typo but its breaking the ceph-deploy
task.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoMerge pull request #36 from ceph/wip-3791
Alfredo Deza [Thu, 15 Aug 2013 15:10:13 +0000 (08:10 -0700)]
Merge pull request #36 from ceph/wip-3791

Continue to make teuthology easier to use for the first time

12 years agoTweak regex to work for non-FQDN hostnames 36/head
Zack Cerza [Thu, 15 Aug 2013 14:57:27 +0000 (09:57 -0500)]
Tweak regex to work for non-FQDN hostnames

12 years agoNote that target hostnames must be resolvable.
Zack Cerza [Thu, 15 Aug 2013 14:34:09 +0000 (09:34 -0500)]
Note that target hostnames must be resolvable.

12 years agoMerge pull request #35 from ceph/logging
Alfredo Deza [Thu, 15 Aug 2013 13:53:07 +0000 (06:53 -0700)]
Merge pull request #35 from ceph/logging

Default log level to INFO; Fix some instances where print is being used instead of log

12 years agoFix some instances where print is being used instead of log 35/head
Zack Cerza [Thu, 15 Aug 2013 13:49:35 +0000 (08:49 -0500)]
Fix some instances where print is being used instead of log

12 years agoDefault to log level INFO.
Zack Cerza [Thu, 15 Aug 2013 13:29:09 +0000 (08:29 -0500)]
Default to log level INFO.

12 years agoMerge pull request #34 from ceph/wip-3791
Alfredo Deza [Wed, 14 Aug 2013 20:15:36 +0000 (13:15 -0700)]
Merge pull request #34 from ceph/wip-3791

Don't bail if ~/.teuthology.yaml doesn't exist.

12 years agoDon't bail if ~/.teuthology.yaml doesn't exist. 34/head
Zack Cerza [Wed, 14 Aug 2013 19:48:45 +0000 (14:48 -0500)]
Don't bail if ~/.teuthology.yaml doesn't exist.

12 years agoObligatory automatic vim whitespace cleanup commit
Zack Cerza [Wed, 14 Aug 2013 19:46:22 +0000 (14:46 -0500)]
Obligatory automatic vim whitespace cleanup commit

12 years agoRevert "Display error message when locking a vpm fails due to downburst errors."
Warren Usui [Wed, 14 Aug 2013 17:31:21 +0000 (10:31 -0700)]
Revert "Display error message when locking a vpm fails due to downburst errors."

This reverts commit 4681b35016619ece44730a368070220e6c2e56a3.

12 years agoMerge pull request #32 from ceph/wip-fix5957-wusui
wusui [Wed, 14 Aug 2013 17:16:01 +0000 (10:16 -0700)]
Merge pull request #32 from ceph/wip-fix5957-wusui

Display error message when locking a vpm fails due to downburst errors.

12 years agoDisplay error message when locking a vpm fails due to downburst errors. 32/head
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).

Fix: 5957
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoMerge pull request #31 from ceph/wip-5941
Zack Cerza [Wed, 14 Aug 2013 16:36:55 +0000 (09:36 -0700)]
Merge pull request #31 from ceph/wip-5941

Instructions for installing teuthology on non-debian-based OSs

12 years agoadd link to homebrew 31/head
Alfredo Deza [Wed, 14 Aug 2013 16:36:03 +0000 (12:36 -0400)]
add link to homebrew

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoadd generic instructions for installation
Alfredo Deza [Wed, 14 Aug 2013 16:07:22 +0000 (12:07 -0400)]
add generic instructions for installation

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agocreate instructions to install on OSX
Alfredo Deza [Wed, 14 Aug 2013 16:01:29 +0000 (12:01 -0400)]
create instructions to install on OSX

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agosort the requirements
Alfredo Deza [Wed, 14 Aug 2013 16:01:11 +0000 (12:01 -0400)]
sort the requirements

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoremove install_requires from setup.py
Alfredo Deza [Wed, 14 Aug 2013 16:00:51 +0000 (12:00 -0400)]
remove install_requires from setup.py

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoMerge pull request #29 from ceph/wip-4264
Alfredo Deza [Wed, 14 Aug 2013 15:38:33 +0000 (08:38 -0700)]
Merge pull request #29 from ceph/wip-4264

update to reflect required install task

12 years agoMerge pull request #30 from ceph/wip-5952
Sage Weil [Tue, 13 Aug 2013 18:45:35 +0000 (11:45 -0700)]
Merge pull request #30 from ceph/wip-5952

Fix a case where _get_config_value_for_remote could return None mistakenly

12 years agoFix a case where _get_config_value_for_remote could return None mistakenly 30/head
Zack Cerza [Tue, 13 Aug 2013 18:30:22 +0000 (13:30 -0500)]
Fix a case where _get_config_value_for_remote could return None mistakenly

12 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Tue, 13 Aug 2013 18:03:00 +0000 (11:03 -0700)]
Merge remote-tracking branch 'gh/next'

12 years agosamba: wait longer for smbd to start
Sage Weil [Tue, 13 Aug 2013 18:02:32 +0000 (11:02 -0700)]
samba: wait longer for smbd to start

sleep(1) is occasionally not long enough, it seems!

12 years agoMerge pull request #27 from dachary/wip-5946
Zack Cerza [Tue, 13 Aug 2013 17:46:30 +0000 (10:46 -0700)]
Merge pull request #27 from dachary/wip-5946

do not check the jobid if check-locks is False

12 years agodo not check the jobid if check-locks is False 27/head
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.

http://tracker.ceph.com/issues/5946 fixes #5946

Signed-off-by: Loic Dachary <loic@dachary.org>
12 years agoMerge pull request #28 from alfredodeza/5887
Zack Cerza [Tue, 13 Aug 2013 16:10:45 +0000 (09:10 -0700)]
Merge pull request #28 from alfredodeza/5887

Allow a user to define a ceph-deploy branch to use (instead of master)

12 years agoMerge pull request #24 from ceph/wip-5937
Alfredo Deza [Tue, 13 Aug 2013 15:57:18 +0000 (08:57 -0700)]
Merge pull request #24 from ceph/wip-5937

Don't hit an AttributeError if ctx.config['overrides'] is set to None

12 years agoremove fallback of the fallback. so silly 28/head
Alfredo Deza [Tue, 13 Aug 2013 15:56:37 +0000 (11:56 -0400)]
remove fallback of the fallback. so silly

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoRemove three characters just for Alfredo 24/head
Zack Cerza [Tue, 13 Aug 2013 15:45:53 +0000 (10:45 -0500)]
Remove three characters just for Alfredo

12 years agosafer fallback. Updates docstring
Alfredo Deza [Tue, 13 Aug 2013 15:32:15 +0000 (11:32 -0400)]
safer fallback. Updates docstring

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoAdd notes about install task precedence 29/head
Zack Cerza [Tue, 13 Aug 2013 15:10:22 +0000 (10:10 -0500)]
Add notes about install task precedence

12 years agoradosgw-agent.py: refactor, enable overrides
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>
12 years agorgw.py: fix example config
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.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agorgw.py: add a better error message
Joe Buck [Fri, 9 Aug 2013 04:03:27 +0000 (21:03 -0700)]
rgw.py: add a better error message

When pulling region info from the config
structure, if the region info isn't there,
log a more helpful message.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agos3readwrite.py: make user creation optional
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.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agorgw.py: refactor configure
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

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agorgy.py: make log_(data|metadata) configurable
Joe Buck [Thu, 1 Aug 2013 21:03:59 +0000 (14:03 -0700)]
rgy.py: make log_(data|metadata) configurable

The log_data and log_metadata are made configurable
via the YAML file and default to false
(meaning neither data nor metadata operations are
logged).

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoagent name should also contain port number
Yehuda Sadeh [Mon, 5 Aug 2013 03:57:25 +0000 (20:57 -0700)]
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>
12 years agoradosgw-admin: various multiregion related fixes and changes
Yehuda Sadeh [Sat, 3 Aug 2013 03:28:46 +0000 (20:28 -0700)]
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>
12 years agoMerge pull request #25 from dmick/master
Zack Cerza [Mon, 12 Aug 2013 23:10:26 +0000 (16:10 -0700)]
Merge pull request #25 from dmick/master

tasks/ceph-deploy: allow configurations with no mds

12 years agoChange "Exception" to "RuntimeError" as advised by zackc 25/head
Dan Mick [Mon, 12 Aug 2013 22:43:02 +0000 (15:43 -0700)]
Change "Exception" to "RuntimeError" as advised by zackc

Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agotasks/ceph-deploy: allow configurations with no mds
Dan Mick [Mon, 12 Aug 2013 21:55:14 +0000 (14:55 -0700)]
tasks/ceph-deploy: allow configurations with no mds

Signed-off-by: Dan Mick <dan.mick@inktank.com>
12 years agoDefault to master and not next.
Zack Cerza [Mon, 12 Aug 2013 21:38:57 +0000 (16:38 -0500)]
Default to master and not next.

12 years agoAdd install task to examples
Zack Cerza [Mon, 12 Aug 2013 21:21:04 +0000 (16:21 -0500)]
Add install task to examples

12 years agoDon't hit an AttributeError if ctx.config['overrides'] is set to None
Zack Cerza [Mon, 12 Aug 2013 21:18:42 +0000 (16:18 -0500)]
Don't hit an AttributeError if ctx.config['overrides'] is set to None

12 years agoMerge pull request #23 from ceph/pep8
Alfredo Deza [Mon, 12 Aug 2013 17:40:58 +0000 (10:40 -0700)]
Merge pull request #23 from ceph/pep8

Make this module pep8-clean.

12 years agoMake this module pep8-clean. 23/head
Zack Cerza [Mon, 12 Aug 2013 16:40:04 +0000 (11:40 -0500)]
Make this module pep8-clean.

12 years agoMerge pull request #22 from ceph/rpm-upgrades
Sage Weil [Sat, 10 Aug 2013 18:35:05 +0000 (11:35 -0700)]
Merge pull request #22 from ceph/rpm-upgrades

Fix rpm upgrades for nested branch configs

12 years agoMake _get_baseurlinfo_and_dist() provide the correct uri 22/head
Zack Cerza [Sat, 10 Aug 2013 17:45:21 +0000 (12:45 -0500)]
Make _get_baseurlinfo_and_dist() provide the correct uri

12 years agoMerge pull request #21 from ceph/rpm-upgrades
Zack Cerza [Fri, 9 Aug 2013 23:26:39 +0000 (16:26 -0700)]
Merge pull request #21 from ceph/rpm-upgrades

Make install.upgrade work on RPM-based systems.

12 years agoMake install.upgrade work with CentOS/RHEL/Fedora. 21/head
Zack Cerza [Fri, 9 Aug 2013 22:01:36 +0000 (17:01 -0500)]
Make install.upgrade work with CentOS/RHEL/Fedora.

12 years agoAdd Remote.system_type property. Also, clean up whitespace.
Zack Cerza [Fri, 9 Aug 2013 18:28:38 +0000 (13:28 -0500)]
Add Remote.system_type property. Also, clean up whitespace.

12 years agoadmin_socket: split command into multiple arguments
Sage Weil [Fri, 9 Aug 2013 16:04:25 +0000 (09:04 -0700)]
admin_socket: split command into multiple arguments

We were passing the command as a single string, but that does not work the
same way it used to.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph.conf: open osd classes on start
Sage Weil [Wed, 7 Aug 2013 21:01:00 +0000 (14:01 -0700)]
ceph.conf: open osd classes on start

This is the default for master, but needs to be explicitly enabled for
cuttlefish.

12 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Wed, 7 Aug 2013 16:03:51 +0000 (09:03 -0700)]
Merge remote-tracking branch 'gh/next'

12 years agoadd a key for ceph-deploy-branch detection
Alfredo Deza [Tue, 6 Aug 2013 22:17:51 +0000 (15:17 -0700)]
add a key for ceph-deploy-branch detection

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoAdd a useful error message in case of an invalid hostname
Zack Cerza [Mon, 5 Aug 2013 23:48:27 +0000 (18:48 -0500)]
Add a useful error message in case of an invalid hostname

12 years agos3readwrite.py: enable overrides
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>