]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
12 years agoteuth: reworked rgw to support regions / zones
Joe Buck [Sat, 13 Jul 2013 18:28:57 +0000 (11:28 -0700)]
teuth: reworked rgw to support regions / zones

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoteuthology: updating RGW task to support regions
Joe Buck [Thu, 11 Jul 2013 00:45:35 +0000 (17:45 -0700)]
teuthology: updating RGW task to support regions

Extending the rgw.py task to allow for regions and zones
to be specified in the YAML file.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
12 years agoceph: add wait_for_mon_quorum command
Sage Weil [Tue, 23 Jul 2013 21:43:56 +0000 (14:43 -0700)]
ceph: add wait_for_mon_quorum command

tasks:
...
- ceph.wait_for_mon_quorum: [a, b]
...

will block until the mon quorum consists of exactly [a, b].  This is
compared directly to the relevant field from 'ceph quorum_status'
which has the alphanumeric names only.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agosequential, parallel: allow entries to be references to top-level config
Sage Weil [Mon, 22 Jul 2013 20:03:24 +0000 (13:03 -0700)]
sequential, parallel: allow entries to be references to top-level config

Often we want to build a test collection that substitutes different
sequences of tasks into a parallel/sequential construction.  However, the
yaml combination that happens when generating jobs is not smart enough to
substitute some fragment into a deeply-nested piece of yaml.

Instead, make these sequences top-level entries in the config dict, and
reference them.  For example:

tasks:
- install:
- ceph:
- parallel:
  - workload
  - upgrade-sequence
workload:
  workunit:
    - something
upgrade-sequence:
  install.restart: [osd.0, osd.1]

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agothrashosds: add delay option after recovery
Samuel Just [Mon, 22 Jul 2013 23:24:41 +0000 (16:24 -0700)]
thrashosds: add delay option after recovery

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agotask: mon_clock_skew_check: grab max-skew value from ceph-mon's config
Joao Eduardo Luis [Mon, 22 Jul 2013 16:58:41 +0000 (17:58 +0100)]
task: mon_clock_skew_check: grab max-skew value from ceph-mon's config

Instead of relying on hardcoded values, obtain the max-skew default from
'ceph-mon --show-config-value mon_clock_drift_allowed' to match the mon's
expectation.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
12 years agoadmin_socket: loop until the socket command succeeds
Sage Weil [Fri, 19 Jul 2013 22:10:43 +0000 (15:10 -0700)]
admin_socket: loop until the socket command succeeds

Sometimes the thing we're talking to is slow to start, or to register the
command we are running.  Loop in that case, at least for a while.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoapache.conf: load modules conditionally
Yehuda Sadeh [Sat, 20 Jul 2013 18:30:24 +0000 (11:30 -0700)]
apache.conf: load modules conditionally

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoceph-deploy: do not test mon destroy by default
Sage Weil [Sat, 20 Jul 2013 05:19:09 +0000 (22:19 -0700)]
ceph-deploy: do not test mon destroy by default

12 years agotask: mon_clock_skew_check: by default, use max skew from global config
Joao Eduardo Luis [Thu, 18 Jul 2013 16:31:27 +0000 (17:31 +0100)]
task: mon_clock_skew_check: by default, use max skew from global config

If not defined, defaults to 0.05;  if 'max-skew' however is defined, it
must override whatever is on the config.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
12 years agotask: mon_clock_skew_check: missing 'str'.format() key crashed the test
Joao Eduardo Luis [Thu, 18 Jul 2013 14:58:23 +0000 (15:58 +0100)]
task: mon_clock_skew_check: missing 'str'.format() key crashed the test

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
12 years agomon_thrash: tolerate scrub command failure
Sage Weil [Sat, 20 Jul 2013 04:53:33 +0000 (21:53 -0700)]
mon_thrash: tolerate scrub command failure

We can get EBUSY if there is an election going on.

12 years agoMerge branch 'wip-teuthREAD-wusui'
Warren Usui [Sat, 20 Jul 2013 02:18:28 +0000 (19:18 -0700)]
Merge branch 'wip-teuthREAD-wusui'

12 years agoUpdate to describe tasks and parameters to tasks, including the install
Warren Usui [Fri, 19 Jul 2013 03:00:38 +0000 (20:00 -0700)]
Update to describe tasks and parameters to tasks, including the install
parameters requested in 4470.  Added more information to the vm section,
and included a section documenting the test suites.

Signed-off-by: Warren Usui <warren.usui@inktank.com>
Fixes: 4470
Reviewed By: Dan Mick and Alfredo Deza

Include Alfredo's suggestions

12 years agoMerge branch 'wip-centos-rgw'
Josh Durgin [Fri, 19 Jul 2013 21:44:51 +0000 (14:44 -0700)]
Merge branch 'wip-centos-rgw'

12 years agorgw: turn off continue print on centos
Josh Durgin [Fri, 19 Jul 2013 21:42:38 +0000 (14:42 -0700)]
rgw: turn off continue print on centos

Also note that a ceph.conf setting is needed for that too

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoinstall: remove ceph-release rpm file after it's used
Josh Durgin [Fri, 19 Jul 2013 21:36:18 +0000 (14:36 -0700)]
install: remove ceph-release rpm file after it's used

No need for it anymore, it's just taking up space

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Fri, 19 Jul 2013 18:27:19 +0000 (11:27 -0700)]
Merge remote-tracking branch 'gh/next'

12 years agosleep: new task
Sage Weil [Fri, 19 Jul 2013 18:26:58 +0000 (11:26 -0700)]
sleep: new task

12 years agoMerge pull request #18 from alfredodeza/master
Sage Weil [Fri, 19 Jul 2013 17:10:15 +0000 (10:10 -0700)]
Merge pull request #18 from alfredodeza/master

Safer dict.get in queues.py

12 years agofailed dict.get evaluates to None
Alfredo Deza [Fri, 19 Jul 2013 13:01:28 +0000 (09:01 -0400)]
failed dict.get evaluates to None

12 years agosafer get by falling back to a dictionary
Alfredo Deza [Fri, 19 Jul 2013 12:59:53 +0000 (08:59 -0400)]
safer get by falling back to a dictionary

12 years agoMerge branch 'wip-machine-based-workers' into next
Sandon Van Ness [Fri, 19 Jul 2013 02:52:25 +0000 (19:52 -0700)]
Merge branch 'wip-machine-based-workers' into next

12 years agoMerge branch 'wip-machine-based-workers'
Sandon Van Ness [Fri, 19 Jul 2013 02:37:25 +0000 (19:37 -0700)]
Merge branch 'wip-machine-based-workers'

12 years agoceph: do not ignore osd leaks
Sage Weil [Wed, 17 Jul 2013 18:20:01 +0000 (11:20 -0700)]
ceph: do not ignore osd leaks

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agonuke: killall ceph-disk, too
Sage Weil [Thu, 18 Jul 2013 19:31:11 +0000 (12:31 -0700)]
nuke: killall ceph-disk, too

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoWorker processes by machine type instead of teuthology branch.
Sandon Van Ness [Thu, 18 Jul 2013 19:04:08 +0000 (12:04 -0700)]
Worker processes by machine type instead of teuthology branch.

teuthology-suite and schedulewill now take --worker instead of
--branch. The branch is set by setting teuthology_branch in the
yaml used to schedule the job.

The teuthology branches are assumed to be in ~/teuthology-$branch
of whatever user is running the workers.

12 years agoschedule_suite.sh: escape ceph-deploy overrides
Sage Weil [Thu, 18 Jul 2013 18:38:00 +0000 (11:38 -0700)]
schedule_suite.sh: escape ceph-deploy overrides

12 years agoceph-deploy: support overrides
Sage Weil [Thu, 18 Jul 2013 18:21:07 +0000 (11:21 -0700)]
ceph-deploy: support overrides

Something like

overrides:
  ceph-deploy:
    foo: bar

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Thu, 18 Jul 2013 04:33:50 +0000 (21:33 -0700)]
Merge remote-tracking branch 'gh/next'

12 years agoMerge branch 'wip-machine-type'
Sage Weil [Thu, 18 Jul 2013 03:59:54 +0000 (20:59 -0700)]
Merge branch 'wip-machine-type'

Reviewed-by: Sandon Van Ness <sandon@inktank.com>
12 years agolock: filter machine type for --list, --list-targets
Sage Weil [Sat, 13 Jul 2013 20:11:40 +0000 (13:11 -0700)]
lock: filter machine type for --list, --list-targets

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agolock: make --summary list all machines by default
Sage Weil [Sat, 13 Jul 2013 20:09:15 +0000 (13:09 -0700)]
lock: make --summary list all machines by default

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agolock: drop machine-type default, but require for lock-many
Sage Weil [Sat, 13 Jul 2013 20:09:07 +0000 (13:09 -0700)]
lock: drop machine-type default, but require for lock-many

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph.conf.template: enable osd debug verify stray on activate
Samuel Just [Thu, 18 Jul 2013 01:14:58 +0000 (18:14 -0700)]
ceph.conf.template: enable osd debug verify stray on activate

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoradosgw-admin: adapt task to recent changes
Yehuda Sadeh [Wed, 17 Jul 2013 21:05:26 +0000 (14:05 -0700)]
radosgw-admin: adapt task to recent changes

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
12 years agoMerge branch 'master' of github.com:ceph/teuthology
tamil [Wed, 17 Jul 2013 00:41:57 +0000 (17:41 -0700)]
Merge branch 'master' of github.com:ceph/teuthology

12 years agoadded overrides for ceph-deploy
tamil [Wed, 17 Jul 2013 00:41:32 +0000 (17:41 -0700)]
added overrides for ceph-deploy

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoworkunit: set CEPH_CLI_TEST_DUP_COMMAND
Sage Weil [Wed, 17 Jul 2013 00:15:55 +0000 (17:15 -0700)]
workunit: set CEPH_CLI_TEST_DUP_COMMAND

This will make the CLI do every mon command twice and make sure they both
succeed.  This catches problems with mon command idempotency faster than
waiting for random failures trigger.

12 years agoadded conf section to ceph-deploy task
tamil [Wed, 17 Jul 2013 00:14:33 +0000 (17:14 -0700)]
added conf section to ceph-deploy task

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoCreated tasktest to test sequential and parallel tasks.
Warren Usui [Fri, 12 Jul 2013 03:24:09 +0000 (20:24 -0700)]
Created tasktest to test sequential and parallel tasks.
Added sequential task and parallel task.
Changed _run_one_task to run_one_task (now called by new tasks too).

Fix #4969
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agocalling mon destroy command after mds create
tamil [Tue, 16 Jul 2013 00:04:21 +0000 (17:04 -0700)]
calling mon destroy command after mds create

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoceph_manager: drop -t arg prefix for pg dump_stuck
Sage Weil [Sat, 13 Jul 2013 21:07:28 +0000 (14:07 -0700)]
ceph_manager: drop -t arg prefix for pg dump_stuck

This is no longer needed, and ugly to support.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph.conf: enable old message assert
Sage Weil [Fri, 12 Jul 2013 22:18:50 +0000 (15:18 -0700)]
ceph.conf: enable old message assert

If this triggers, the RECONNECT_SEQ feature is broken (and
maybe we've caught #5517).

12 years agorgw: use different daemon name and apache module paths
Josh Durgin [Wed, 10 Jul 2013 01:52:26 +0000 (18:52 -0700)]
rgw: use different daemon name and apache module paths

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agomisc: move system type checking to a generic location
Josh Durgin [Wed, 10 Jul 2013 01:52:00 +0000 (18:52 -0700)]
misc: move system type checking to a generic location

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agos3tests: fix client configurations that aren't dictionaries
Josh Durgin [Wed, 10 Jul 2013 01:50:52 +0000 (18:50 -0700)]
s3tests: fix client configurations that aren't dictionaries

They're always used as dictionaries later on.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
12 years agoAdd mon create and destroy with an optional argument mon_initial_members
tamil [Tue, 9 Jul 2013 18:12:29 +0000 (11:12 -0700)]
Add mon create and destroy with an optional argument mon_initial_members

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agolock: fix typo
Sage Weil [Tue, 9 Jul 2013 05:22:22 +0000 (22:22 -0700)]
lock: fix typo

12 years agoVM: Use mac addresses from DB instead of randomizing.
Sandon Van Ness [Mon, 8 Jul 2013 23:54:22 +0000 (16:54 -0700)]
VM: Use mac addresses from DB instead of randomizing.

In order to make IP addresses less likely to change and to allow
a smaller DHCP pool to be used I generated static MAC addresses
for all the vpm entries in the DB. I also put the correct entries
for all the other types of machines as well for their primary
(eth0) mac address as well in order to keep things standardized
and so there is another location where we have this information.

Without this fix going through a few tests would exhaust the DHCP
pool which at the time was around 460 IP addresses for virtual
machines and has since been upped to ~690 IP addresses.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>
12 years agoMerge pull request #17 from ceph/wip-mon-thrash
Sage Weil [Mon, 8 Jul 2013 17:40:27 +0000 (10:40 -0700)]
Merge pull request #17 from ceph/wip-mon-thrash

mon thrash improvements

Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
12 years agomon_thrasher: add pause/unpause of mons to thrashing
Sage Weil [Sat, 6 Jul 2013 01:04:40 +0000 (18:04 -0700)]
mon_thrasher: add pause/unpause of mons to thrashing

This adds an additional element of laggyness to the cluster which should
cause mons to call new elections.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agodaemon-helper: send arbitrary signals via stdin
Sage Weil [Sat, 6 Jul 2013 01:01:57 +0000 (18:01 -0700)]
daemon-helper: send arbitrary signals via stdin

Each byte written to stdin will be interpreted as a signal.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomon_thrash: optionally scrub after each iteration (default true)
Sage Weil [Fri, 5 Jul 2013 21:23:56 +0000 (14:23 -0700)]
mon_thrash: optionally scrub after each iteration (default true)

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomon_thrash: fix more naming
Sage Weil [Fri, 5 Jul 2013 21:23:37 +0000 (14:23 -0700)]
mon_thrash: fix more naming

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agomon_thrash: use _ instead of - consistently
Sage Weil [Fri, 5 Jul 2013 17:30:25 +0000 (10:30 -0700)]
mon_thrash: use _ instead of - consistently

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoFix VM issues.
Sandon Van Ness [Thu, 4 Jul 2013 02:07:35 +0000 (19:07 -0700)]
Fix VM issues.

Fix of #5494 although bad description. Instead of adding a wait
the code used to detect if the guest was back up is fixed. The
previous code appeared to assume only one machine and broke
when it was waiting for multiple machines if the guests did not
come up within 10 seconds of each other

Make nuke not do the normal stuff if the machine is a VPS as we
just destroy them when they get unlocked.

Instead of getting downburst options from ~/.teuthology.yaml get
it from the yaml given to teuthology for the test/task instead.

Fixed an error that would make all the default downburst values
not take effect if any of them were set via a yaml.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>
12 years agoceph: don't check leaks on client.* (i.e., radosgw)
Sage Weil [Wed, 3 Jul 2013 16:59:21 +0000 (09:59 -0700)]
ceph: don't check leaks on client.* (i.e., radosgw)

...until we fix them.  This way we can see other valgrind issues.

12 years agoradosgw-admin: add missing quote
Sage Weil [Mon, 1 Jul 2013 21:21:55 +0000 (14:21 -0700)]
radosgw-admin: add missing quote

12 years agoradosgw-admin: test 'bucket list' command (all buckets)
Sage Weil [Mon, 1 Jul 2013 21:21:48 +0000 (14:21 -0700)]
radosgw-admin: test 'bucket list' command (all buckets)

Verifies fix for #5455
Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoUpdate keys if they have changed before locking
Sandon Van Ness [Thu, 27 Jun 2013 21:08:09 +0000 (14:08 -0700)]
Update keys if they have changed before locking

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoceph: disable logrotate
Sage Weil [Thu, 27 Jun 2013 00:48:03 +0000 (17:48 -0700)]
ceph: disable logrotate

This screwed up the log archival step at the end, and generally makes a
mess of automated runs.

Fixe: #5451

12 years agodump_stuck: fix test
Sage Weil [Tue, 25 Jun 2013 19:45:22 +0000 (12:45 -0700)]
dump_stuck: fix test

The mon-osd-report-timeout setting shouldn't be there!  We will set the
other item explicitly, and remove both from the suite yaml.

Fixes: #5440
12 years agoMerge pull request #15 from ceph/wip-ulimits
Sage Weil [Mon, 24 Jun 2013 23:18:36 +0000 (16:18 -0700)]
Merge pull request #15 from ceph/wip-ulimits

Reviewed-by: Warren Usui <warren.usui@inktank.com>
12 years agoMerge pull request #16 from ceph/wip-5431
Sage Weil [Mon, 24 Jun 2013 18:01:48 +0000 (11:01 -0700)]
Merge pull request #16 from ceph/wip-5431

Reviewed-by: Warren Usui <warren.usui@inktank.com>
12 years agorados: fix multiclient tests
Sage Weil [Mon, 24 Jun 2013 03:44:38 +0000 (20:44 -0700)]
rados: fix multiclient tests

Each client (not run) gets its own pool!

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agodump_stuck: fix race with osd start
Sage Weil [Sun, 23 Jun 2013 23:21:45 +0000 (16:21 -0700)]
dump_stuck: fix race with osd start

Occasionally we don't wait long enough for the osd to start and
mark itself up.  Keep trying until flush succeeds.

Fixes: #5431
Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoenable-coredump -> adjust-ulimits
Sage Weil [Sun, 23 Jun 2013 16:15:28 +0000 (09:15 -0700)]
enable-coredump -> adjust-ulimits

and set max_files to be big, too!

12 years agoMerge remote-tracking branch 'remotes/origin/wip-sandon-cephdeploy'
Sandon Van Ness [Fri, 21 Jun 2013 22:53:53 +0000 (15:53 -0700)]
Merge remote-tracking branch 'remotes/origin/wip-sandon-cephdeploy'

12 years agoMerge pull request #14 from clee/cleanup
Sage Weil [Fri, 21 Jun 2013 22:27:49 +0000 (15:27 -0700)]
Merge pull request #14 from clee/cleanup

Clean up nested-if logic

Reviewed-by: Sage Weil <sage@inktank.com>
12 years agoWipe out existing id_rsa.pub and id_rsa before pushing ssh keys
Sandon Van Ness [Fri, 21 Jun 2013 01:36:58 +0000 (18:36 -0700)]
Wipe out existing id_rsa.pub and id_rsa before pushing ssh keys

A very simple change. Just touch a file first (to create it if it
doesn't yet exist so the delete doesn't error out) and then delete
it before pushing the keys to the file. This should avoid the
id_rsa.pub and id_rsa files from getting messed up due to previous
runs which were interrupted or failed (or if those files exist for
some reason). This appears to be what was causing breaking in the
ceph-deploy nightlies.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoClean up nested-if logic
Chris Lee [Thu, 20 Jun 2013 20:42:33 +0000 (13:42 -0700)]
Clean up nested-if logic

12 years agotask/peering_speed_test.py: add test which summarizes pg peering speed
Samuel Just [Tue, 4 Jun 2013 21:12:07 +0000 (14:12 -0700)]
task/peering_speed_test.py: add test which summarizes pg peering speed

Running this regularly may warn us about slow peering.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agotask/: add args.py
Samuel Just [Tue, 4 Jun 2013 21:11:29 +0000 (14:11 -0700)]
task/: add args.py

The usage doc string for a task is tedious to write and
hard to keep reconciled with the code as defaults are changed.
args.py includes a helper to put it all in one place.

Signed-off-by: Samuel Just <sam.just@inktank.com>
12 years agoschedule_suite.sh: specify admin_socket branch in overrides yaml
Sage Weil [Wed, 19 Jun 2013 20:35:50 +0000 (13:35 -0700)]
schedule_suite.sh: specify admin_socket branch in overrides yaml

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoInclude MySQLdb
Warren Usui [Wed, 19 Jun 2013 18:29:38 +0000 (11:29 -0700)]
Include MySQLdb
Fixes: #5120
12 years agoFix to ignore ssh-key checking if running on virtual machines or
Warren Usui [Tue, 18 Jun 2013 21:23:22 +0000 (14:23 -0700)]
Fix to ignore ssh-key checking if running on virtual machines or
if a line that reads 'sshkey: ignore' is in the yaml file.

Fix #5364
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoMake reset of ssh key code conditional on being a virtual machine.
Warren Usui [Wed, 12 Jun 2013 21:21:14 +0000 (14:21 -0700)]
Make reset of ssh key code conditional on being a virtual machine.
Add and use is_vm to determine if we are running on a virtual machine.

Fix #5364
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoadmin_socket: fetch test from correct branch
Sage Weil [Wed, 19 Jun 2013 17:36:49 +0000 (10:36 -0700)]
admin_socket: fetch test from correct branch

12 years agovalgrind: give up and ignore all leveldb leaks
Sage Weil [Wed, 19 Jun 2013 16:08:17 +0000 (09:08 -0700)]
valgrind: give up and ignore all leveldb leaks

Hopefully if it is our fault we will have our own struct wrapping the
leveldb resource that we leak.

12 years agoUse authorized_keys2 instead of authorized_keys
Sandon Van Ness [Mon, 17 Jun 2013 23:24:37 +0000 (16:24 -0700)]
Use authorized_keys2 instead of authorized_keys

Instead of going through the trouble of adding/removing lines
from authorized_keys which has all our normal keys in it, instead
push keys to the unused authorized_keys2 file which makes the key
management significantly simpler as that file can just be wiped
out each time instead of worrying about preserving contents.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agoUse authorized_keys2 instead of authorized_keys
Sandon Van Ness [Mon, 17 Jun 2013 23:24:37 +0000 (16:24 -0700)]
Use authorized_keys2 instead of authorized_keys

Instead of going through the trouble of adding/removing lines
from authorized_keys which has all our normal keys in it, instead
push keys to the unused authorized_keys2 file which makes the key
management significantly simpler as that file can just be wiped
out each time instead of worrying about preserving contents.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
12 years agovalgrind: another leveldb leak
Sage Weil [Mon, 17 Jun 2013 20:53:10 +0000 (13:53 -0700)]
valgrind: another leveldb leak

12 years agomisc: let clients use any pool
Sage Weil [Sun, 16 Jun 2013 21:53:49 +0000 (14:53 -0700)]
misc: let clients use any pool

rados.py, for example, creates new pools for each instance.

12 years agoceph_manager: fix ceph tell mon.*
Sage Weil [Sun, 16 Jun 2013 20:11:50 +0000 (13:11 -0700)]
ceph_manager: fix ceph tell mon.*

Need -- to make cli stop parsing (or quote the options).
Otherwise, the options will be parsed/applied to the cli's
librados instance.

12 years agono need for ceph --concise argument
Sage Weil [Sun, 16 Jun 2013 16:10:25 +0000 (09:10 -0700)]
no need for ceph --concise argument

12 years agoceph_manager: use new ceph tell mon.* syntax
Samuel Just [Fri, 14 Jun 2013 17:30:58 +0000 (10:30 -0700)]
ceph_manager: use new ceph tell mon.* syntax

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
12 years agorados: fix up for parallel work
Sage Weil [Fri, 14 Jun 2013 05:27:50 +0000 (22:27 -0700)]
rados: fix up for parallel work

- use a separate pool for each client
- create pool at start, destroy pool at end
- use all clients, if not explicitly specified

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoadding a newline to auth key data
tamil [Fri, 14 Jun 2013 00:13:09 +0000 (17:13 -0700)]
adding a newline to auth key data

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoMerge branch 'master' of github.com:ceph/teuthology
tamil [Thu, 13 Jun 2013 23:27:05 +0000 (16:27 -0700)]
Merge branch 'master' of github.com:ceph/teuthology

12 years agomodified ceph-deploy to throw appropriate exceptions
tamil [Thu, 13 Jun 2013 23:26:42 +0000 (16:26 -0700)]
modified ceph-deploy to throw appropriate exceptions

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agostop stripping leading \n from osd commands
Sage Weil [Thu, 13 Jun 2013 21:51:21 +0000 (14:51 -0700)]
stop stripping leading \n from osd commands

leaving them in for mon command, but not for any good reason.

12 years agoMerge branch 'wip-RhelFix-wusui'
Warren Usui [Thu, 13 Jun 2013 00:05:51 +0000 (17:05 -0700)]
Merge branch 'wip-RhelFix-wusui'

12 years agovalgrind: make leveldb thread suppression more general
Sage Weil [Wed, 12 Jun 2013 02:33:59 +0000 (19:33 -0700)]
valgrind: make leveldb thread suppression more general

The thread can get created from a range of callers; ignore them all.

12 years agoUse install -d for /var/log/ceph.
Warren Usui [Tue, 11 Jun 2013 23:50:09 +0000 (16:50 -0700)]
Use install -d for /var/log/ceph.
Additional fix needed for #4946

Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoFix capitalization of CentOS
Warren Usui [Tue, 11 Jun 2013 21:14:07 +0000 (14:14 -0700)]
Fix capitalization of CentOS

Fixes: #5313
Signed-off-by: Warren Usui <warren.usui@inktank.com>
12 years agoadded support for rhel
tamil [Mon, 10 Jun 2013 22:41:48 +0000 (15:41 -0700)]
added support for rhel

Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
12 years agoteuthology-lock --summary: allow --machine-type=all
Dan Mick [Wed, 5 Jun 2013 00:46:05 +0000 (17:46 -0700)]
teuthology-lock --summary:  allow --machine-type=all

Somehow this got lost; putting it back

Signed-off-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit e4eb4aa23b66a5b33cf6ff14305ae8c3d328fb50)

12 years agoceph: ignore ceph-osd leaks for now :(
Sage Weil [Mon, 10 Jun 2013 17:45:05 +0000 (10:45 -0700)]
ceph: ignore ceph-osd leaks for now :(

12 years agoMerge branch 'wip-teuthVm-wusui'
Warren Usui [Mon, 10 Jun 2013 16:46:42 +0000 (09:46 -0700)]
Merge branch 'wip-teuthVm-wusui'