]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agoceph-debugpack: fix bashism of {1..10} 3469/head
Kefu Chai [Fri, 23 Jan 2015 02:52:58 +0000 (10:52 +0800)]
ceph-debugpack: fix bashism of {1..10}

* replaces {1..10} with $(seq 10)
* fixes 772220@bugs.debian.org

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
10 years agoRevert "Revert "Merge remote-tracking branch 'origin/wip-bi-sharding-3' into next""
Yehuda Sadeh [Thu, 22 Jan 2015 01:30:32 +0000 (17:30 -0800)]
Revert "Revert "Merge remote-tracking branch 'origin/wip-bi-sharding-3' into next""

Following a merge of next to master, the feature got reverted (because
it was reverted on next). Undoing.

This reverts commit 6613358ddc5339c8e33c409387fd6044db0b6f26.

10 years agoMerge pull request #3246 from ceph/wip-9780-9781
Samuel Just [Thu, 22 Jan 2015 00:49:19 +0000 (16:49 -0800)]
Merge pull request #3246 from ceph/wip-9780-9781

ceph-objectstore-tool import/export and related fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge branch 'next'
Josh Durgin [Thu, 22 Jan 2015 00:11:43 +0000 (16:11 -0800)]
Merge branch 'next'

10 years agoMerge pull request #3251 from theanalyst/fix/rgw/s3-10062
Yehuda Sadeh [Wed, 21 Jan 2015 23:29:38 +0000 (15:29 -0800)]
Merge pull request #3251 from theanalyst/fix/rgw/s3-10062

wip: rgw: check keystone auth also for s3 post requests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #3381 from liewegas/wip-pg-stat-updates
Sage Weil [Wed, 21 Jan 2015 21:53:16 +0000 (13:53 -0800)]
Merge pull request #3381 from liewegas/wip-pg-stat-updates

osd: avoid spamming monitor with unchanged pg stats

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #3393 from ceph/wip-osd-df
Sage Weil [Wed, 21 Jan 2015 21:52:53 +0000 (13:52 -0800)]
Merge pull request #3393 from ceph/wip-osd-df

osd: ceph osd df [tree] command

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3409 from trociny/wip-osd_pool_flags
Sage Weil [Wed, 21 Jan 2015 21:52:29 +0000 (13:52 -0800)]
Merge pull request #3409 from trociny/wip-osd_pool_flags

osd: new pool safeguard flags: nodelete, nopgchange, nosizechange

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agorbd: ensure aio_write buffer isn't invalidated during image import
Jason Dillaman [Wed, 21 Jan 2015 19:55:02 +0000 (14:55 -0500)]
rbd: ensure aio_write buffer isn't invalidated during image import

The buffer provided to aio_write shouldn't be invalidated until
after aio_write has indicated that the operation has completed.

Fixes: #10590
Backport: giant
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #3426 from jdurgin/wip-10592
Jason Dillaman [Wed, 21 Jan 2015 19:59:57 +0000 (14:59 -0500)]
Merge pull request #3426 from jdurgin/wip-10592

qa: disable automatic locking for manual locking test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
10 years agoMerge pull request #3259 from trociny/pg_dump_plain
João Eduardo Luís [Wed, 21 Jan 2015 18:30:52 +0000 (18:30 +0000)]
Merge pull request #3259 from trociny/pg_dump_plain

mon: improvements for 'ceph pg dump' in plain format

Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
10 years agoMerge pull request #3431 from XinzeChi/wip-compile-warning
Loic Dachary [Wed, 21 Jan 2015 15:56:52 +0000 (16:56 +0100)]
Merge pull request #3431 from XinzeChi/wip-compile-warning

osd: fix some compile warning

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3436 from ceph/wip-10579
Gregory Farnum [Wed, 21 Jan 2015 15:08:27 +0000 (07:08 -0800)]
Merge pull request #3436 from ceph/wip-10579

qa: move fs quota to its own dir

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoqa: move fs quota to its own dir 3436/head
John Spray [Wed, 21 Jan 2015 14:36:58 +0000 (14:36 +0000)]
qa: move fs quota to its own dir

This is because running fs/misc on a kclient
should not include quota (quota not supported
on kernel client).

Fixes: #10579
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #3402 from ceph/wip-10388
Yan, Zheng [Wed, 21 Jan 2015 14:32:24 +0000 (22:32 +0800)]
Merge pull request #3402 from ceph/wip-10388

#10388 PerfCounters for MDCache: strays and recovery

10 years agoosd: fix some compile warning 3431/head
Xinze Chi [Wed, 21 Jan 2015 09:10:48 +0000 (09:10 +0000)]
osd: fix some compile warning

Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
10 years agoMerge pull request #3433 from FrankYu/master
Loic Dachary [Wed, 21 Jan 2015 08:54:42 +0000 (09:54 +0100)]
Merge pull request #3433 from FrankYu/master

Doc: Fix the typo in doc/rbd/rados-rbd-cmds.rst

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoDoc: Fix the typo in doc/rbd/rados-rbd-cmds.rst 3433/head
Frank Yu [Wed, 21 Jan 2015 08:47:41 +0000 (16:47 +0800)]
Doc: Fix the typo in doc/rbd/rados-rbd-cmds.rst

Fix the typo in doc/rbd/rados-rbd-cmds.rst, also add explanation/example
when creating an image without specifying pool.

Signed-off-by: Frank Yu <flyxiaoyu@gmail.com>
10 years agoMerge pull request #3427 from jdurgin/wip-cram
Sage Weil [Wed, 21 Jan 2015 03:28:51 +0000 (19:28 -0800)]
Merge pull request #3427 from jdurgin/wip-cram

test: fix rbd cli tests for new feature bit

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agotest: fix rbd cli tests for new feature bit 3427/head
Josh Durgin [Wed, 21 Jan 2015 01:12:15 +0000 (17:12 -0800)]
test: fix rbd cli tests for new feature bit

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agoqa: disable automatic locking for manual locking test 3426/head
Josh Durgin [Tue, 20 Jan 2015 23:55:11 +0000 (15:55 -0800)]
qa: disable automatic locking for manual locking test

Automatic locking hides the ESHUTDOWN from the caller, which is how
this test detects that blacklisting works.

Fixes: #10592
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #3408 from ceph/wip-10257
Sage Weil [Tue, 20 Jan 2015 19:30:00 +0000 (11:30 -0800)]
Merge pull request #3408 from ceph/wip-10257

mon: PGMonitor: several stats output error fixes

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3423 from yuyuyu101/rename-test-msgr
Loic Dachary [Tue, 20 Jan 2015 18:21:33 +0000 (19:21 +0100)]
Merge pull request #3423 from yuyuyu101/rename-test-msgr

test_msgr: Rename unittest_msgr to ceph_test_msgr

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agotest_msgr: Rename unittest_msgr to ceph_test_msgr 3423/head
Haomai Wang [Tue, 20 Jan 2015 16:59:28 +0000 (00:59 +0800)]
test_msgr: Rename unittest_msgr to ceph_test_msgr

Because ceph_test_msgr will run a lot of times than unittest expected,
move it into qa suites.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agomon: PGMonitor: skip zeroed osd stats on get_rule_avail() 3408/head
Joao Eduardo Luis [Mon, 19 Jan 2015 18:49:15 +0000 (18:49 +0000)]
mon: PGMonitor: skip zeroed osd stats on get_rule_avail()

Fixes: #10257
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
10 years agomon: PGMonitor: available size 0 if no osds on pool's ruleset
Joao Eduardo Luis [Fri, 16 Jan 2015 18:13:05 +0000 (18:13 +0000)]
mon: PGMonitor: available size 0 if no osds on pool's ruleset

get_rule_avail() may return < 0, which we were using blindly assuming it
would always return an unsigned value.  We would end up with weird
values if the ruleset had no osds.

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
10 years agoMerge pull request #3192 from gravitystorm/patch-1
Loic Dachary [Tue, 20 Jan 2015 16:02:19 +0000 (17:02 +0100)]
Merge pull request #3192 from gravitystorm/patch-1

Replace placeholder with 'gateway'

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Replace placeholder with 'gateway' 3192/head
Andy Allan [Wed, 17 Dec 2014 11:54:39 +0000 (11:54 +0000)]
doc: Replace placeholder with 'gateway'

This section is where all the placeholders are replaced by example text, this one had been missed out.

Signed-off-by: Andy Allan <github@gravitystorm.co.uk>
10 years agoMerge pull request #3414 from vuhuong/wip-cmake-fix
Sage Weil [Tue, 20 Jan 2015 15:45:15 +0000 (07:45 -0800)]
Merge pull request #3414 from vuhuong/wip-cmake-fix

cmake: Fix CMakelist.txt to remove depleted files

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3419 from Nairolf21/wip-documentation
Loic Dachary [Tue, 20 Jan 2015 13:22:53 +0000 (14:22 +0100)]
Merge pull request #3419 from Nairolf21/wip-documentation

doc: Introduce the term MON at http://ceph.com/docs/master/rados/

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoIntroduce the term MON at http://ceph.com/docs/master/rados/ 3419/head
nairolf21 [Tue, 20 Jan 2015 08:38:12 +0000 (09:38 +0100)]
Introduce the term MON at http://ceph.com/docs/master/rados/

http://tracker.ceph.com/issues/10203 Fixes:#10203

Signed-off-by: Florian Coste <fcoste21@gmail.com>
10 years agoMerge pull request #3421 from hazem92/wip-documentation
Loic Dachary [Tue, 20 Jan 2015 13:13:21 +0000 (14:13 +0100)]
Merge pull request #3421 from hazem92/wip-documentation

doc: mon should be listed before osd

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: mon should be listed before osd 3421/head
Hazem [Tue, 20 Jan 2015 08:54:52 +0000 (09:54 +0100)]
doc: mon should be listed before osd

When deploying a Ceph cluster, the mon must be run first.
In the list shown at http://ceph.com/docs/master/rados/configuration/
it would therefore be better to have mon listed before osd.

http://tracker.ceph.com/issues/10204 Fixes: #10204

Signed-off-by: Hazem <hazem.amara@telecom-bretagne.eu>
10 years agoMerge pull request #3420 from Anols/wip-documentation
Loic Dachary [Tue, 20 Jan 2015 12:36:09 +0000 (13:36 +0100)]
Merge pull request #3420 from Anols/wip-documentation

doc: missing the reference to "ceph-deploy-new"

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3418 from ThomasCantin/wip-documentation
Loic Dachary [Tue, 20 Jan 2015 11:15:32 +0000 (12:15 +0100)]
Merge pull request #3418 from ThomasCantin/wip-documentation

doc: Network Configuration Reference duplicate string #3418

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoDoc : Documentation#10205 3420/head
Anols [Tue, 20 Jan 2015 10:51:35 +0000 (11:51 +0100)]
Doc : Documentation#10205

Missing the reference of "ceph-deploy-new".

https://tracker.ceph.com/issues/10205

Signed-off-by: AYARI <ayari_anis@live.fr>
10 years agodoc bug 10206 3418/head
ThomasCantin [Tue, 20 Jan 2015 10:32:24 +0000 (11:32 +0100)]
doc bug 10206

10 years agoMerge pull request #3164 from ceph/wip-librbd-rados-stub
Josh Durgin [Tue, 20 Jan 2015 08:11:22 +0000 (00:11 -0800)]
Merge pull request #3164 from ceph/wip-librbd-rados-stub

librados test driver and librbd unit test

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #3411 from ceph/wip-10576
Josh Durgin [Tue, 20 Jan 2015 06:26:02 +0000 (22:26 -0800)]
Merge pull request #3411 from ceph/wip-10576

ceph_test_rados_api_misc: do not assert rbd feature match

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoceph_test_rados_api_misc: do not assert rbd feature match 3411/head
Sage Weil [Tue, 20 Jan 2015 02:28:20 +0000 (18:28 -0800)]
ceph_test_rados_api_misc: do not assert rbd feature match

This test fails on upgrades when we (or the server) have new
features.  Make it less fragile.

Fixes: #10576
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agocmake: Fix CMakelist.txt to remove depleted files 3414/head
Vu Pham [Mon, 19 Jan 2015 15:28:31 +0000 (07:28 -0800)]
cmake: Fix CMakelist.txt to remove depleted files

- remove depleted tools/ceph_mon_store_converter_srcs
- replace librbd source file (WatchCtx.cc to ImageWatcher.cc)

Signed-off-by: Vu Pham <vu@mellanox.com>
10 years agoMerge pull request #3334 from dachary/wip-10216-jerasure-sync 3416/head
Sage Weil [Mon, 19 Jan 2015 20:39:36 +0000 (12:39 -0800)]
Merge pull request #3334 from dachary/wip-10216-jerasure-sync

erasure-code: update jerasure/gf-complete submodules

10 years agoMerge pull request #3375 from XinzeChi/wip-journal-seq
Sage Weil [Mon, 19 Jan 2015 20:39:04 +0000 (12:39 -0800)]
Merge pull request #3375 from XinzeChi/wip-journal-seq

osd: fix journal header.committed_up_to

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3320 from wonzhq/lfn_open
Sage Weil [Mon, 19 Jan 2015 20:38:28 +0000 (12:38 -0800)]
Merge pull request #3320 from wonzhq/lfn_open

FileStore: return error if get_index fails in lfn_open

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoMerge pull request #3211 from yuyuyu101/wip-10172
Sage Weil [Mon, 19 Jan 2015 20:38:01 +0000 (12:38 -0800)]
Merge pull request #3211 from yuyuyu101/wip-10172

AsyncMessenger: Bind thread to core, use buffer read and fix some bugs

10 years agoMerge pull request #3221 from ceph/wip-9440
Sage Weil [Mon, 19 Jan 2015 20:36:26 +0000 (12:36 -0800)]
Merge pull request #3221 from ceph/wip-9440

mon: log health changes to clog

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3382 from xinxinsh/wip-fix
Sage Weil [Mon, 19 Jan 2015 20:35:58 +0000 (12:35 -0800)]
Merge pull request #3382 from xinxinsh/wip-fix

fix command 'ceph pg dump_stuck degraded'

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoceph_test_objectstore: fix keyvaluestore name
Sage Weil [Mon, 19 Jan 2015 20:33:20 +0000 (12:33 -0800)]
ceph_test_objectstore: fix keyvaluestore name

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoosd: new pool safeguard flags: nodelete, nopgchange, nosizechange 3409/head
Mykola Golub [Mon, 19 Jan 2015 14:41:05 +0000 (16:41 +0200)]
osd: new pool safeguard flags: nodelete, nopgchange, nosizechange

* nodelete - pool can't be deleted
* nopgchange - pool's pg and pgp num can't be changed
* nosizechange - pool's size and min size can't be changed

This is intended to help some poor admin to avoid a very bad day.

Fixes: #9792 (but in a different way than it was proposed there)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agoMerge pull request #3338 from ceph/wip-recover-dentries
Gregory Farnum [Mon, 19 Jan 2015 18:50:56 +0000 (10:50 -0800)]
Merge pull request #3338 from ceph/wip-recover-dentries

#9883 tools/cephfs: add recover_dentries to journaltool

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #3400 from kylinstorage/fix-rbd-watch
Josh Durgin [Mon, 19 Jan 2015 17:39:51 +0000 (09:39 -0800)]
Merge pull request #3400 from kylinstorage/fix-rbd-watch

fix rbd watch command for v2 image

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge remote-tracking branch 'origin/wip-bi-sharding-3'
Yehuda Sadeh [Mon, 19 Jan 2015 17:33:46 +0000 (09:33 -0800)]
Merge remote-tracking branch 'origin/wip-bi-sharding-3'

10 years agoRevert "Merge remote-tracking branch 'origin/wip-bi-sharding-3' into next"
Yehuda Sadeh [Mon, 19 Jan 2015 17:26:00 +0000 (09:26 -0800)]
Revert "Merge remote-tracking branch 'origin/wip-bi-sharding-3' into next"

This reverts commit f79d8f24e9c0bf0d0b37270eba2745a878f2caed, reversing
changes made to 896c8899ac28eb0403bfaa20454f3756f3705c51.

10 years agoMerge remote-tracking branch 'origin/wip-bi-sharding-3' into next
Yehuda Sadeh [Mon, 19 Jan 2015 17:14:32 +0000 (09:14 -0800)]
Merge remote-tracking branch 'origin/wip-bi-sharding-3' into next

10 years agoMerge pull request #3396 from leseb/doc-openstack-fix-glance
Josh Durgin [Mon, 19 Jan 2015 16:38:37 +0000 (08:38 -0800)]
Merge pull request #3396 from leseb/doc-openstack-fix-glance

doc: Fix OpenStack Glance configuration

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #3401 from FrankYu/master
Sage Weil [Mon, 19 Jan 2015 16:34:32 +0000 (08:34 -0800)]
Merge pull request #3401 from FrankYu/master

Doc: rbd-snapshot: Fix the typo

10 years agoMerge pull request #3374 from dachary/wip-mailmap
Loic Dachary [Mon, 19 Jan 2015 16:06:46 +0000 (17:06 +0100)]
Merge pull request #3374 from dachary/wip-mailmap

mailmap updates

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agotools: output per-event errors from recover dentries 3338/head
John Spray [Mon, 19 Jan 2015 15:16:46 +0000 (15:16 +0000)]
tools: output per-event errors from recover dentries

10 years agotools: handle hardlinks in recover_dentries
John Spray [Fri, 16 Jan 2015 10:53:57 +0000 (10:53 +0000)]
tools: handle hardlinks in recover_dentries

Signed-off-by: Johh Spray <john.spray@redhat.com>
10 years agotools: recover_dentries efficiency
John Spray [Thu, 15 Jan 2015 12:13:24 +0000 (12:13 +0000)]
tools: recover_dentries efficiency

Avoid a redundant stat, and gather updates to a frag
into a single OMAP get/set.

Still could be heaps more efficient in the case of
many updates to the same dirs by adding in a little
cache and batching the updates.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agotweak comment wording in recover_dentries
John Spray [Tue, 13 Jan 2015 18:15:53 +0000 (18:15 +0000)]
tweak comment wording in recover_dentries

10 years agofixup some oversized lines
John Spray [Tue, 13 Jan 2015 16:38:55 +0000 (16:38 +0000)]
fixup some oversized lines

10 years agofix handling of io.read retval
John Spray [Tue, 13 Jan 2015 16:07:26 +0000 (16:07 +0000)]
fix handling of io.read retval

(it returns length read, which was falling through as
a spurious nonzero "error")

10 years agotools: remove duplicated InoTable encoding
John Spray [Tue, 13 Jan 2015 16:06:32 +0000 (16:06 +0000)]
tools: remove duplicated InoTable encoding

...and add a method to InoTable so that we can
artifically acquire inodes.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoJournalTool: handle corrupt fnodes
John Spray [Tue, 13 Jan 2015 15:43:14 +0000 (15:43 +0000)]
JournalTool: handle corrupt fnodes

10 years agotools/cephfs: add recover_dentries to journaltool
John Spray [Wed, 17 Dec 2014 14:06:53 +0000 (14:06 +0000)]
tools/cephfs: add recover_dentries to journaltool

This is intended as a comparatively safe recovery
operation, where we compare the versions
of journalled dentries with backing store dentries,
and write into the backing store only when the
existing contents are older than the journal
or invalid.

Fixes: #9883
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds: perfcounters for RecoveryQueue 3402/head
John Spray [Mon, 19 Jan 2015 13:52:34 +0000 (13:52 +0000)]
mds: perfcounters for RecoveryQueue

Define these at MDCache scope, as RecoveryQueue is
not an official subsystem to be made visible to
external parties.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds/MDCache: stray/purge perfcounters
John Spray [Mon, 19 Jan 2015 12:16:59 +0000 (12:16 +0000)]
mds/MDCache: stray/purge perfcounters

Fixes: #10388
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoDoc: rbd-snapshot: Fix the typo 3401/head
Frank Yu [Mon, 19 Jan 2015 12:19:25 +0000 (20:19 +0800)]
Doc: rbd-snapshot: Fix the typo

Signed-off-by: Frank Yu <flyxiaoyu@gmail.com>
10 years agorbd: fix bug about rbd watch command 3400/head
Yunchuan Wen [Mon, 19 Jan 2015 08:51:58 +0000 (08:51 +0000)]
rbd: fix bug about rbd watch command

the header oid should be prefix+image_id, rather than prefix+image_name

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
10 years agoMerge pull request #3397 from liewegas/wip-prealloc
Sage Weil [Mon, 19 Jan 2015 04:46:31 +0000 (20:46 -0800)]
Merge pull request #3397 from liewegas/wip-prealloc

mon: fix globalid when prealloc value is larger than max

10 years agomon: handle case where mon_globalid_prealloc > max_global_id 3397/head
Sage Weil [Mon, 19 Jan 2015 00:49:20 +0000 (16:49 -0800)]
mon: handle case where mon_globalid_prealloc > max_global_id

This triggers with the new larger mon_globalid_prealloc value.  It didn't
trigger on the existing cluster I tested on because it already had a very
large max.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agodoc: Fix OpenStack Glance configuration 3396/head
Sébastien Han [Sun, 18 Jan 2015 21:55:57 +0000 (22:55 +0100)]
doc: Fix OpenStack Glance configuration

Glance has not completely moved to 'store' yet so we need to configure
the store in the DEFAULT section as well.

Fixes: #10478
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #3361 from wonzhq/watch-notify
Sage Weil [Sun, 18 Jan 2015 18:44:35 +0000 (10:44 -0800)]
Merge pull request #3361 from wonzhq/watch-notify

osd/ReplicatedPG: force promotion for watch/notify ops

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3395 from liewegas/wip-cache-none
Sage Weil [Sun, 18 Jan 2015 18:43:58 +0000 (10:43 -0800)]
Merge pull request #3395 from liewegas/wip-cache-none

osd: skip all of maybe_handle_cache if cachemode is none

10 years agoMerge pull request #3315 from majianpeng/fix6
Sage Weil [Sun, 18 Jan 2015 18:42:31 +0000 (10:42 -0800)]
Merge pull request #3315 from majianpeng/fix6

bug fix

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3385 from majianpeng/misc
Sage Weil [Sun, 18 Jan 2015 18:41:55 +0000 (10:41 -0800)]
Merge pull request #3385 from majianpeng/misc

Misc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoMerge pull request #3194 from dachary/wip-10350-erasure-code-choose-tries
Sage Weil [Sun, 18 Jan 2015 18:41:31 +0000 (10:41 -0800)]
Merge pull request #3194 from dachary/wip-10350-erasure-code-choose-tries

resolve and document most common erasure coded pool pain points

Documentation-Reviewed-by: Italo Santos <okdokk@gmail.com>
10 years agomon: change mon_globalid_prealloc to 10000 (from 100)
Sage Weil [Sun, 18 Jan 2015 18:39:25 +0000 (10:39 -0800)]
mon: change mon_globalid_prealloc to 10000 (from 100)

100 ids (session 100 authentications) can be consumed quite quickly if
the monitor is being queried by the CLI via scripts or on a large cluster,
especially if the propose interval is long (many seconds).  These live in
a 64-bit value and are only "lost" if we have a mon election before they
are consumed, so there's no real risk here.

Backport: giant, firefly
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
10 years agomon: silently ignore mark_down, mark_disposable on AnonConnection
Sage Weil [Sun, 18 Jan 2015 18:18:13 +0000 (10:18 -0800)]
mon: silently ignore mark_down, mark_disposable on AnonConnection

This mirrors 0a49db8e6fa141a36ca964e68017d02b81ae7a3c but was not captured
by 9fff0c53bdc7bb332df1a710da3de71e3c41bec7.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge remote-tracking branch 'gh/wip-xio'
Sage Weil [Sun, 18 Jan 2015 18:37:19 +0000 (10:37 -0800)]
Merge remote-tracking branch 'gh/wip-xio'

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3391 from liewegas/wip-pool-delete
Sage Weil [Sun, 18 Jan 2015 18:34:59 +0000 (10:34 -0800)]
Merge pull request #3391 from liewegas/wip-pool-delete

mon: global option to prevent pool deletion

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agomon/OSDMonitor: pull totals into the table format 3393/head
Sage Weil [Fri, 16 Jan 2015 21:34:18 +0000 (13:34 -0800)]
mon/OSDMonitor: pull totals into the table format

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agomon/OSDMonitor: don't -nan for variance when no osds
Sage Weil [Fri, 16 Jan 2015 21:32:50 +0000 (13:32 -0800)]
mon/OSDMonitor: don't -nan for variance when no osds

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agocommon/TextTable: do padding during final step
Sage Weil [Fri, 16 Jan 2015 21:29:36 +0000 (13:29 -0800)]
common/TextTable: do padding during final step

We don't know the full width until we get all table entries.  Do not do
any padding before that.  In particular, setw may left-pad on a column
that is left-justified.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agomon/OSDMonitor: drop unnecessary stringify
Sage Weil [Fri, 16 Jan 2015 21:22:48 +0000 (13:22 -0800)]
mon/OSDMonitor: drop unnecessary stringify

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agocrushtool: fix cli tests for new tree output
Sage Weil [Sat, 17 Jan 2015 01:23:34 +0000 (17:23 -0800)]
crushtool: fix cli tests for new tree output

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoosd/ReplicatedPG: skip all of maybe_handle_cache if caching is off 3395/head
Sage Weil [Sat, 17 Jan 2015 18:30:47 +0000 (10:30 -0800)]
osd/ReplicatedPG: skip all of maybe_handle_cache if caching is off

Return quickly and avoid all of the checks.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agocrushtool: add --tree option
Sage Weil [Fri, 16 Jan 2015 21:16:29 +0000 (13:16 -0800)]
crushtool: add --tree option

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agocrush/CrushWrapper: drop weights from crush dump_tree
Sage Weil [Fri, 16 Jan 2015 21:20:05 +0000 (13:20 -0800)]
crush/CrushWrapper: drop weights from crush dump_tree

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoosd, crush: caps for headers
Sage Weil [Fri, 16 Jan 2015 19:15:39 +0000 (11:15 -0800)]
osd, crush: caps for headers

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agocrush/CrushTreeDumper: add missing close_section
Sage Weil [Fri, 16 Jan 2015 19:15:16 +0000 (11:15 -0800)]
crush/CrushTreeDumper: add missing close_section

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agocrush, osdmap: use weightf_t helper for all weights
Sage Weil [Fri, 16 Jan 2015 19:05:13 +0000 (11:05 -0800)]
crush, osdmap: use weightf_t helper for all weights

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoosd: use TextTable for osd tree command output
Mykola Golub [Thu, 15 Jan 2015 21:51:50 +0000 (23:51 +0200)]
osd: use TextTable for osd tree command output

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agoosd: use weightf_t type when outputing weights by osd tree command
Mykola Golub [Thu, 15 Jan 2015 19:26:21 +0000 (21:26 +0200)]
osd: use weightf_t type when outputing weights by osd tree command

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agomon: ceph osd df -- a new command to show OSD utilization
Mykola Golub [Fri, 9 Jan 2015 11:14:12 +0000 (13:14 +0200)]
mon: ceph osd df -- a new command to show OSD utilization

Fixes: #10452
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agoAdd a type (weightf_t) to output float weights.
Mykola Golub [Thu, 15 Jan 2015 14:59:23 +0000 (16:59 +0200)]
Add a type (weightf_t) to output float weights.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agoosd: use CrushTreeDumper for printing osd tree.
Mykola Golub [Tue, 13 Jan 2015 15:09:01 +0000 (17:09 +0200)]
osd: use CrushTreeDumper for printing osd tree.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agocrush: use CrushTreeDumper for dumping crush tree.
Mykola Golub [Tue, 13 Jan 2015 15:08:17 +0000 (17:08 +0200)]
crush: use CrushTreeDumper for dumping crush tree.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
10 years agocrush: introduce a helper class for dumping crush tree.
Mykola Golub [Tue, 13 Jan 2015 15:05:29 +0000 (17:05 +0200)]
crush: introduce a helper class for dumping crush tree.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>