Commit Graph

75493 Commits

Author SHA1 Message Date
Jason Dillaman
fa90be842e test: enable pool applications for new pools
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
b0e7b0c553 mon: disable application metadata on cache tier pools
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
73789cf9d9 rbd: add new 'pool init' action for initializing a RBD pool
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
654336b039 rgw: auto-tag created pools as owned by rgw
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
542d888baa librados: added async application enable API
RGW has numerous pool creation calls, one of which utilizes
an async interface. This adds support for RGW's use-case.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
f7a67cfbe4 librados: new API to manipulate pool application metadata
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
365e55635d mon: auto-enable CephFS on pools when using "fs new"/"fs add_data_pool"
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
7ee6c045aa mon: default 'rbd' pool to the 'rbd' application
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
6d7ac66ae2 mon: heuristics for auto-enabling pool applications upon upgrade
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
688026741b mon: health warning if in-use pools don't have application enabled
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
3514d6e53e mon: added new "osd pool application" commands
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Jason Dillaman
a15f6e4cea mon: store application metadata in pg_pool_t
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Yuri Weinstein
35bc5f4165 Merge pull request #16275 from linuxbox2/wip-rgw-readdir-cookie
rgw_file: permit dirent offset computation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-19 08:43:16 -07:00
Yuri Weinstein
c95ab13384 Merge pull request #16368 from theanalyst/fix/rgw-reshard-pool-ns
rgw: use a namespace for rgw reshard pool for upgrades as well

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-07-19 08:42:36 -07:00
Sage Weil
798e46b335 Merge pull request #16395 from jecluis/wip-fix-mon-mgr-bootstrap
mon/AuthMonitor: generate bootstrap-mgr key on upgrade

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-19 10:02:06 -05:00
Sage Weil
6dec877335 Merge pull request #16425 from smithfarm/wip-ceph-w
doc: PendingReleaseNotes: "ceph -w" behavior has changed drastically

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-19 09:47:12 -05:00
Kefu Chai
c3fba3c984 Merge pull request #16314 from tchaikov/wip-doc-replace-osd
doc: add instructions for replacing an OSD

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-07-19 22:38:11 +08:00
Nathan Cutler
060084f708 doc: PendingReleaseNotes: "ceph -w" behavior has changed drastically
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-19 16:13:17 +02:00
Abhishek L
e8e70ecbb3 Merge pull request #16411 from smithfarm/wip-crn-regression
tools: ceph-release-notes: refactor and fix regressions

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-19 13:25:10 +02:00
Nathan Cutler
1a702adbfd tools: ceph-release-notes: match Reviewed-by more liberally
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-19 12:00:47 +02:00
Nathan Cutler
96c672e891 tools: ceph-release-notes: fix sorted() key lambda regression
https://github.com/ceph/ceph/pull/16261 ported the script to Python 3, but it
retained the 2-argument version of the sorted() key function - in Python 3 the
key function takes only one argument.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-19 09:40:25 +02:00
Nathan Cutler
cadab4368b tools: ceph-release-notes: refactor and fix regression
This commit refactors the logic for determining the PR title and merge message,
and fixes a regression introduced by https://github.com/ceph/ceph/pull/16277

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-19 09:39:52 +02:00
Jos Collin
ff05c2eea7 Merge pull request #16386 from mikulely/rgw-cleanup
rgw: drop unused find_replacement() and some function docs

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-19 05:39:24 +00:00
Jiaying Ren
59e8ddaa5c rgw: miis trivial cleanup
+ drop outdated & misplaced function description
+ drop unused func find_placement

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-07-19 11:39:05 +08:00
Kefu Chai
a0d935966c doc: add instructions for replacing an OSD
* 8/ceph.rst: `rm` subcommand removes osd from osdmap, not the cluster.
  the latter is more ambiguous in different contexts.
* rados/operations/add-or-rm-osds.rst: add a subsection of "Replacing an
  OSD". update the subsection of "Removing the OSD" with "ceph osd
  purge" command
* release-notes.rst: link from it to the new subsection in add-or-rm-osds.rst

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-19 11:23:47 +08:00
Jos Collin
07223aa86d Merge pull request #16391 from Yan-waller/wip-walle-0718radososd
osd: combine conditional statements

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-19 02:07:08 +00:00
Gregory Farnum
1df7833cb3 Merge pull request #16401 from bstillwell/releases-doc-update-20170718
Documentation updates for July 2017 releases

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-18 13:54:14 -07:00
Mykola Golub
547aa49d67 Merge pull request #16372 from dillaman/wip-20643
cls/rbd: trash_list should be iterable

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-07-18 23:53:53 +03:00
Gregory Farnum
4293ce5184 Merge pull request #16397 from liewegas/wip-20647
mon/MgrMonitor: fix standby addition to mgrmap

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-18 13:27:29 -07:00
Bryan Stillwell
230a5a504b Documentation updates for July 2017 releases
Updates for three new releases this month.  Two new Jewel releases
(10.2.8 and 10.2.9) and one new Luminous release candidate (12.1.1).

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
2017-07-18 13:53:02 -06:00
vasukulkarni
327554118c Merge pull request #16350 from ceph/wip-cd-docs-update
[docs/quick-start]: update quick start to add a note for mgr create command for luminous+ builds
2017-07-18 12:31:59 -07:00
Sage Weil
d0e761b8e3 mon/MgrMonitor: fix standby addition to mgrmap
Inadvertantly removed by ba45fba01c

Fixes: http://tracker.ceph.com/issues/20647
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-18 14:20:48 -04:00
Sage Weil
fd9582f085 Merge pull request #15432 from dachary/wip-osd-new
ceph-disk: support osd new

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-18 13:12:51 -05:00
Sage Weil
adea59839f Merge remote-tracking branch 'gh/luminous' 2017-07-18 13:52:09 -04:00
Casey Bodley
d91f57c0d4 Merge pull request #15837 from fangyuxiangGL/placement-rule-err
rgw: fix err when copy object in bucket with specified placement rule

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-18 13:21:55 -04:00
Joao Eduardo Luis
efa66b48a0 mon/AuthMonitor: generate bootstrap-mgr key on upgrade
We were adding the entity, but no key. By generating a key, we avoid
making things really weird.

Fixes: http://tracker.ceph.com/issues/20666

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-07-18 16:34:23 +01:00
Yuri Weinstein
5f5647afc2 Merge pull request #16291 from ZVampirEM77/wip-acl-grants-num-limit
rgw: acl grants num limit

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-18 07:38:34 -07:00
Yuri Weinstein
280041337c Merge pull request #16310 from ZVampirEM77/wip-acl-reqdata-too-large
rgw: req xml params size limitation error msg

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-18 07:38:13 -07:00
Yuri Weinstein
bbf8bc8b42 Merge pull request #16324 from yehudasa/wip-20620
rgw: delete object in error path

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-18 07:37:13 -07:00
Sage Weil
5f51a84054 Merge pull request #15940 from smithfarm/wip-20425
build/ops: rpm: put mgr python build dependencies in make_check bcond

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2017-07-18 08:41:00 -05:00
Sage Weil
e9820d6cce Merge pull request #16283 from xiexingguo/wip-osd-segfault
mon, osd: misc fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-18 08:40:34 -05:00
Sage Weil
9fb42cd794 Merge pull request #16353 from tchaikov/wip-20605
mon: add force-create-pg back

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-18 08:39:58 -05:00
Sage Weil
0ff38938c7 Merge pull request #16356 from liewegas/wip-mgr-early-health
mon/MgrMonitor: only induce mgr epoch shortly after mkfs

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-18 08:39:39 -05:00
Sage Weil
81ae434c7f Merge pull request #16359 from liewegas/wip-cli-stdinout
ceph: allow '-' with -i and -o for stdin/stdout

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-07-18 08:39:14 -05:00
Sage Weil
10cfd427cb Merge pull request #16364 from liupan1111/wip-fix-clean
os/bluestore: use reference to avoid string copy

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-18 08:38:59 -05:00
Sage Weil
fce65122fc Merge pull request #16366 from smithfarm/wip-babeltrace-typo
build/ops: rpm: fix typo WTIH_BABELTRACE

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-18 08:38:37 -05:00
Kefu Chai
127dca7c45 Merge pull request #16261 from tchaikov/wip-ceph-release-notes-py3
tools: ceph-release-notes: port it to py3

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-18 20:27:58 +08:00
Jos Collin
78511bf25c Merge pull request #16380 from mikulely/doc-index-typos
test,rgw: fix rgw placement rule pool config option

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-18 08:17:10 +00:00
Jiaying Ren
6728e67065 test,rgw: fix rgw placement rule pool config option
actually we're checking '--index-pool' & `--max-buckets` during
the argument parsing.

same as 3af3f4e84c

Signed-off-by: Jiaying Ren jiaying.ren@umcloud.com
2017-07-18 14:37:23 +08:00
Yan Jun
7b186c3746 osd: combine conditional statement
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-18 14:24:18 +08:00