]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 years agoradosgw-admin: use check_status for task success
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>
12 years agoradosgw-admin: adding radosgw-admin tests
Joe Buck [Mon, 19 Aug 2013 02:25:38 +0000 (19:25 -0700)]
radosgw-admin: adding radosgw-admin tests

Adding tests for syncing buckets between
RGWs. Fulfills ticket #5605.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoradosgw-admin: use dynamic ports for testing
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.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoMerge pull request #43 from ceph/no-hardcoding
tmuthamizhan [Tue, 20 Aug 2013 22:14:43 +0000 (15:14 -0700)]
Merge pull request #43 from ceph/no-hardcoding

Default to using the ubuntu user, while still moving away from hardcoding it

12 years agoAdd get_test_user(), because hardcoding is bad
Zack Cerza [Tue, 20 Aug 2013 21:25:25 +0000 (16:25 -0500)]
Add get_test_user(), because hardcoding is bad

12 years agoMerge pull request #41 from ceph/wip-3791
Alfredo Deza [Mon, 19 Aug 2013 21:10:18 +0000 (14:10 -0700)]
Merge pull request #41 from ceph/wip-3791

Various usability and documentation fixes

12 years agoWhoops! Make 'MacOS X' a header again.
Zack Cerza [Mon, 19 Aug 2013 18:51:07 +0000 (13:51 -0500)]
Whoops! Make 'MacOS X' a header again.

12 years agoAnd, more formatting tweaks.
Zack Cerza [Mon, 19 Aug 2013 18:49:42 +0000 (13:49 -0500)]
And, more formatting tweaks.

12 years agoMo' betta consistency.
Zack Cerza [Mon, 19 Aug 2013 18:46:31 +0000 (13:46 -0500)]
Mo' betta consistency.

12 years agoDon't necessarily need to manually link libvirt. Also, remove $'s.
Zack Cerza [Mon, 19 Aug 2013 18:35:52 +0000 (13:35 -0500)]
Don't necessarily need to manually link libvirt. Also, remove $'s.

12 years agoRemove false note about default value.
Zack Cerza [Mon, 19 Aug 2013 15:01:48 +0000 (10:01 -0500)]
Remove false note about default value.

12 years agoSlightly tweak path.
Zack Cerza [Mon, 19 Aug 2013 15:01:05 +0000 (10:01 -0500)]
Slightly tweak path.

12 years agoAdd comment about portability to get_testdir_base()
Zack Cerza [Mon, 19 Aug 2013 14:59:54 +0000 (09:59 -0500)]
Add comment about portability to get_testdir_base()

12 years agoUpdate base_test_dir default to reflect reality
Zack Cerza [Mon, 19 Aug 2013 14:49:45 +0000 (09:49 -0500)]
Update base_test_dir default to reflect reality

12 years agoMerge pull request #37 from ceph/wip-fix5957-wusui
Zack Cerza [Mon, 19 Aug 2013 14:03:02 +0000 (07:03 -0700)]
Merge pull request #37 from ceph/wip-fix5957-wusui

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

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 agoDisplay error message when locking a vpm fails due to downburst errors.
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.

Fix: 5957
Signed-off-by: Warren Usui <warren.usui@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.
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.
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
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().
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 agoDo more than just sleep and raise an exception.
Zack Cerza [Fri, 16 Aug 2013 15:17:18 +0000 (10:17 -0500)]
Do more than just sleep and raise an exception.

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 agoDon't raise an exception if apt-key list fails
Zack Cerza [Thu, 15 Aug 2013 17:42:47 +0000 (12:42 -0500)]
Don't raise an exception if apt-key list fails

12 years agoPasswordless sudo, not passphraseless sudo.
Zack Cerza [Thu, 15 Aug 2013 17:24:30 +0000 (12:24 -0500)]
Passwordless sudo, not passphraseless sudo.

12 years agoDon't assume the ubuntu user when getting the test dir.
Zack Cerza [Thu, 15 Aug 2013 15:58:45 +0000 (10:58 -0500)]
Don't assume the ubuntu user when getting the test dir.

12 years agoIf get_testdir_base() exists, might as well use it...
Zack Cerza [Thu, 15 Aug 2013 15:17:32 +0000 (10:17 -0500)]
If get_testdir_base() exists, might as well use it...

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
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
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.
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.
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
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
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
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
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
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
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
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.
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
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.
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>
12 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Sun, 4 Aug 2013 21:54:26 +0000 (14:54 -0700)]
Merge remote-tracking branch 'gh/next'

12 years agosamba: wait for smbd process to exit
Sage Weil [Sun, 4 Aug 2013 21:54:20 +0000 (14:54 -0700)]
samba: wait for smbd process to exit

I saw

2013-08-03T12:56:26.641 DEBUG:teuthology.orchestra.run:Running [10.214.131.28]: 'sudo killall -9 smbd'
2013-08-03T12:56:26.727 DEBUG:teuthology.orchestra.run:Running [10.214.131.28]: 'sudo lsof /home/ubuntu/cephtest/93695/mnt.0'
2013-08-03T12:56:26.830 INFO:teuthology.orchestra.run.out:[10.214.131.28]: COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
2013-08-03T12:56:26.830 INFO:teuthology.orchestra.run.out:[10.214.131.28]: smbd    12381 root  cwd    DIR    0,0        0    1 /home/ubuntu/cephtest/93695/mnt.0

which makes me think we just need to wait a moment before
attempting the umount?

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agorgw.py: add None object check when parsing info
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: ).

12 years agorgw: do not ignore leaks
Sage Weil [Fri, 2 Aug 2013 18:57:14 +0000 (11:57 -0700)]
rgw: do not ignore leaks

Signed-off-by: Sage Weil <sage@inktank.com>