]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
5 years agoosd/OSD: trim osd_markdown_log in tick() thread
xie xingguo [Mon, 3 Feb 2020 12:09:37 +0000 (20:09 +0800)]
osd/OSD: trim osd_markdown_log in tick() thread

so we don't have to do it in multiple places. Note that
we can't do it in the tick_without_osd_lock thread instead
because we we can not access it safely without the protection
of osd_lock.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agoMerge PR #32570 into master
Patrick Donnelly [Sun, 2 Feb 2020 14:56:50 +0000 (06:56 -0800)]
Merge PR #32570 into master

* refs/pull/32570/head:
cephfs-shell: Add tests for setxattr, getxattr and listxattr
cephfs-shell: Add listxattr command
cephfs-shell: Add getxattr command
cephfs-shell: Add setxattr command
doc: Update about extended attributes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #31633 into master
Patrick Donnelly [Sun, 2 Feb 2020 14:52:23 +0000 (06:52 -0800)]
Merge PR #31633 into master

* refs/pull/31633/head:
cephfs-shell: Instead of assert use stat for tests in rmdir
cephfs-shell: Add function for common rmdir test code
cephfs-shell: Add rmdir test for non empty directory
cephfs-shell: Add rmdir -p test for non empty directory
cephfs-shell: Add rmdir -p test for non existing dir
cephfs-shell: Add rmdir -p test to delete all dirs in given path
cephfs-shell: Add rmdir -p test for root directory with empty directories
cephfs-shell: Add rmdir test for valid file
cephfs-shell: Add rmdir test for invalid directory
cephfs-shell: Add rmdir test for valid directory
cephfs-shell: Fix rmdir '-p' issues

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32986 into master
Sage Weil [Sat, 1 Feb 2020 16:47:56 +0000 (10:47 -0600)]
Merge PR #32986 into master

* refs/pull/32986/head:
qa/tasks/ceph_manager: fix movement of cot exports with cephadm

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32030 from vshankar/wip-mgr-volumes-clone
Ramana Raja [Sat, 1 Feb 2020 07:47:51 +0000 (13:17 +0530)]
Merge pull request #32030 from vshankar/wip-mgr-volumes-clone

mgr/volumes: clone from snapshot

5 years agoMerge PR #33014 into master
Sage Weil [Sat, 1 Feb 2020 05:28:44 +0000 (23:28 -0600)]
Merge PR #33014 into master

* refs/pull/33014/head:
mgr/dashboard: pass a list of drive_group to create_osds

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32973 into master
Sage Weil [Sat, 1 Feb 2020 03:26:46 +0000 (21:26 -0600)]
Merge PR #32973 into master

* refs/pull/32973/head:
mgr/insights: make 'insights prune-health-history 0' zap current state

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge PR #32987 into master
Sage Weil [Fri, 31 Jan 2020 23:40:23 +0000 (17:40 -0600)]
Merge PR #32987 into master

* refs/pull/32987/head:
qa/tasks/ceph_manager: make fix_pgp_num behave when no pool is found

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32989 into master
Sage Weil [Fri, 31 Jan 2020 23:40:13 +0000 (17:40 -0600)]
Merge PR #32989 into master

* refs/pull/32989/head:
qa/tasks/ceph_manager: add --log-early to raw_cluster_cmd

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32830 into master
Sage Weil [Fri, 31 Jan 2020 23:31:44 +0000 (17:31 -0600)]
Merge PR #32830 into master

* refs/pull/32830/head:
global: ensure CEPH_ARGS is decoded before early arg processing

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32806 into master
Sage Weil [Fri, 31 Jan 2020 23:31:31 +0000 (17:31 -0600)]
Merge PR #32806 into master

* refs/pull/32806/head:
common/bl: fix accessibility of bptr's _off and _len fields.
common/bl: drop get_raw() from the public buffer::ptr interface.
common: drop sharing of buffer::raw outside bufferlist.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/tasks/ceph_manager: fix movement of cot exports with cephadm
Sage Weil [Thu, 30 Jan 2020 13:39:32 +0000 (07:39 -0600)]
qa/tasks/ceph_manager: fix movement of cot exports with cephadm

I think this will finally work...

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #33017 from linuxbox2/wip-rgw-beastc
Matt Benjamin [Fri, 31 Jan 2020 16:55:35 +0000 (11:55 -0500)]
Merge pull request #33017 from linuxbox2/wip-rgw-beastc

rgw: improve beast

5 years agoMerge pull request #33010 from tchaikov/wip-cmd-getval
Kefu Chai [Fri, 31 Jan 2020 16:26:39 +0000 (00:26 +0800)]
Merge pull request #33010 from tchaikov/wip-cmd-getval

src/: drop cct from cmd_getval()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agomgr/dashboard: pass a list of drive_group to create_osds
Kefu Chai [Fri, 31 Jan 2020 15:42:49 +0000 (23:42 +0800)]
mgr/dashboard: pass a list of drive_group to create_osds

as orchestrator backends expect a list of drive_groups.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: Unable to remove an iSCSI gateway that is alrea… (#32984)
Lenz Grimmer [Fri, 31 Jan 2020 15:52:51 +0000 (15:52 +0000)]
mgr/dashboard: Unable to remove an iSCSI gateway that is alrea… (#32984)

mgr/dashboard: Unable to remove an iSCSI gateway that is already in use

Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Add Modified filter to Configuration table (#32923)
Lenz Grimmer [Fri, 31 Jan 2020 15:50:15 +0000 (15:50 +0000)]
mgr/dashboard: Add Modified filter to Configuration table (#32923)

mgr/dashboard: Add Modified filter to Configuration table

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
5 years agorgw: improve beast
Or Friedmann [Wed, 15 Jan 2020 19:15:53 +0000 (21:15 +0200)]
rgw: improve beast

Avoid leaking connections that had partially-consumed
client data on unexpected disconnect.

Resolves CVE-2020-1700 (moderate impact flaw).

Fixes: https://tracker.ceph.com/issues/42531
Signed-off-by: Or Friedmann <ofriedma@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge branch 'octopus'
Sage Weil [Fri, 31 Jan 2020 14:55:49 +0000 (08:55 -0600)]
Merge branch 'octopus'

5 years agoMerge pull request #32999 from liewegas/fix-found
Mike Perez [Fri, 31 Jan 2020 13:27:48 +0000 (05:27 -0800)]
Merge pull request #32999 from liewegas/fix-found

doc/foundation: fix amihan

5 years agosrc/: drop cct from cmd_getval()
Kefu Chai [Fri, 31 Jan 2020 10:59:39 +0000 (18:59 +0800)]
src/: drop cct from cmd_getval()

it's not used.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agodoc: add mgr/volumes clone commands
Venky Shankar [Fri, 24 Jan 2020 06:31:19 +0000 (12:01 +0530)]
doc: add mgr/volumes clone commands

Fixes: http://tracker.ceph.com/issues/24880
Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agotest: add subvolume clone tests
Venky Shankar [Mon, 2 Dec 2019 08:50:23 +0000 (03:50 -0500)]
test: add subvolume clone tests

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: allow force removal of incomplete failed clones
Venky Shankar [Wed, 15 Jan 2020 03:52:52 +0000 (22:52 -0500)]
mgr/volumes: allow force removal of incomplete failed clones

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: asynchronous cloner module
Venky Shankar [Wed, 4 Dec 2019 05:23:48 +0000 (00:23 -0500)]
mgr/volumes: asynchronous cloner module

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: purge thread uses new async interface
Venky Shankar [Wed, 4 Dec 2019 04:49:12 +0000 (23:49 -0500)]
mgr/volumes: purge thread uses new async interface

This also makes `_cancel_jobs()` thread safe, which was not the
case earlier (with `_cancel_purge_job()`) -- this also makes the
code simpler by sharing the lock betweent two condition variables.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: fetch oldest clone entry
Venky Shankar [Tue, 3 Dec 2019 06:47:20 +0000 (01:47 -0500)]
mgr/volumes: fetch oldest clone entry

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: add clone specific commands
Venky Shankar [Mon, 2 Dec 2019 08:11:45 +0000 (03:11 -0500)]
mgr/volumes: add clone specific commands

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: interface for fetching cloned subvolume status
Venky Shankar [Mon, 2 Dec 2019 08:10:36 +0000 (03:10 -0500)]
mgr/volumes: interface for fetching cloned subvolume status

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: add protect/unprotect and snap clone interface
Venky Shankar [Mon, 2 Dec 2019 08:08:45 +0000 (03:08 -0500)]
mgr/volumes: add protect/unprotect and snap clone interface

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: handle transient subvolume states
Venky Shankar [Mon, 2 Dec 2019 08:00:30 +0000 (03:00 -0500)]
mgr/volumes: handle transient subvolume states

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: interface for creating a cloned subvolume
Venky Shankar [Mon, 2 Dec 2019 07:56:48 +0000 (02:56 -0500)]
mgr/volumes: interface for creating a cloned subvolume

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: get/set property for subvolume mode/uid/gid
Venky Shankar [Thu, 16 Jan 2020 12:07:08 +0000 (07:07 -0500)]
mgr/volumes: get/set property for subvolume mode/uid/gid

This will be required when creating a clone as the clone would
inherit source subvolumes creation mode and uid/gid.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: module to track pending clone operations
Venky Shankar [Mon, 2 Dec 2019 06:56:25 +0000 (01:56 -0500)]
mgr/volumes: module to track pending clone operations

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agomgr/volumes: add operation state machine table
Venky Shankar [Mon, 2 Dec 2019 06:27:55 +0000 (01:27 -0500)]
mgr/volumes: add operation state machine table

... and fetch creation state from state machine table.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #33001 from tchaikov/wip-drop-dpdk-submodule
Kefu Chai [Fri, 31 Jan 2020 08:16:39 +0000 (16:16 +0800)]
Merge pull request #33001 from tchaikov/wip-drop-dpdk-submodule

dpdk: drop dpdk submodule

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #32814 from mty22/au_ceph_branch_correct_docs
Kefu Chai [Fri, 31 Jan 2020 07:22:40 +0000 (15:22 +0800)]
Merge pull request #32814 from mty22/au_ceph_branch_correct_docs

docs: Update au.ceph.com maintainers, update README.md.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agodpdk: drop dpdk submodule
Kefu Chai [Mon, 7 May 2018 14:31:51 +0000 (22:31 +0800)]
dpdk: drop dpdk submodule

we are using spdk/dpdk for async msgr's dpdk backend since 01a9f178. so
no need to keep dpdk submodule anymore.

Fixes: http://tracker.ceph.com/issues/24032
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32947 into master
Sage Weil [Fri, 31 Jan 2020 03:57:04 +0000 (21:57 -0600)]
Merge PR #32947 into master

* refs/pull/32947/head:
OSD: Allow 64-char hostname to be added as the "host" in CRUSH

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32974 into master
Sage Weil [Fri, 31 Jan 2020 03:56:53 +0000 (21:56 -0600)]
Merge PR #32974 into master

* refs/pull/32974/head:
mon: dump json from 'sessions' asok/tell command

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32976 into master
Sage Weil [Fri, 31 Jan 2020 03:56:43 +0000 (21:56 -0600)]
Merge PR #32976 into master

* refs/pull/32976/head:
cls_hello: fix typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32981 into master
Sage Weil [Fri, 31 Jan 2020 03:56:18 +0000 (21:56 -0600)]
Merge PR #32981 into master

* refs/pull/32981/head:
mon: elector: return after triggering a new election

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32988 into master
Sage Weil [Fri, 31 Jan 2020 03:56:05 +0000 (21:56 -0600)]
Merge PR #32988 into master

* refs/pull/32988/head:
qa/tasks/ceph: only re-request scrub on unscrubbed pgs

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agodoc/foundation: fix amihan
Sage Weil [Thu, 30 Jan 2020 23:02:43 +0000 (17:02 -0600)]
doc/foundation: fix amihan

I misunderstood the status of their foundation membership.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32992 from ceph/wip-revert-dpdk
David Galloway [Thu, 30 Jan 2020 19:20:29 +0000 (14:20 -0500)]
Merge pull request #32992 from ceph/wip-revert-dpdk

Revert "dpdk: drop dpdk submodule"

5 years agoRevert "dpdk: drop dpdk submodule"
David Galloway [Thu, 30 Jan 2020 18:41:28 +0000 (13:41 -0500)]
Revert "dpdk: drop dpdk submodule"

This reverts commit cb8087dfac31b8490fefdfca28d389b7b9901ef8.

The seastar submodule's .gitmodules links to `../dpdk` which is no longer present after removing dpdk from ceph.git's .gitmodules.

```
<dwfreed> the ceph/seastar repo uses awful URLs for the submodules
<dwfreed> and those awful URLs are the real reason it's failing
<dwfreed> dgalloway: ^^^
<dwfreed> seastar's .gitmodules references repos in the parent directory, so that when it's checked out as a submodule of ceph, you don't download the repos twice (and git will probably also use references instead of duplicating the local .git); however, ceph doesn't have a submodule for dpdk anymore
<dwfreed> so seastar's referencing a dpdk repo that doesn't exist
<dgalloway> i think i follow.  so you're suggesting revert https://github.com/ceph/ceph/commit/cb8087dfac31b8490fefdfca28d389b7b9901ef8 ?
<dwfreed> yep
<dwfreed> that'd be one way to fix it
...
<joshd> dgalloway: I'd suggest revert for now, and let the crimson folks figure out the longer term fix when they're back
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
5 years agomgr/insights: make 'insights prune-health-history 0' zap current state
Sage Weil [Thu, 30 Jan 2020 17:40:48 +0000 (11:40 -0600)]
mgr/insights: make 'insights prune-health-history 0' zap current state

The self._health_slot value needs to be updated too if the current key
is removed.

Fixes: https://tracker.ceph.com/issues/43886
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32958 into master
Sage Weil [Thu, 30 Jan 2020 17:01:24 +0000 (11:01 -0600)]
Merge PR #32958 into master

* refs/pull/32958/head:
qa/suites/rados/singleton/all/lost-unfound*: whitelist SLOW_OPS

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32789 into master
Sage Weil [Thu, 30 Jan 2020 16:42:45 +0000 (10:42 -0600)]
Merge PR #32789 into master

* refs/pull/32789/head:
test: fix unused assert's variable in ceph_test_osd_stale_read.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32961 into master
Sage Weil [Thu, 30 Jan 2020 16:42:17 +0000 (10:42 -0600)]
Merge PR #32961 into master

* refs/pull/32961/head:
qa/standalone/osd/osd-bench: debug bluestore

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32968 into master
Sage Weil [Thu, 30 Jan 2020 16:42:05 +0000 (10:42 -0600)]
Merge PR #32968 into master

* refs/pull/32968/head:
qa/suites/rados/verify: debug monc = 20

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoqa/tasks/ceph_manager: add --log-early to raw_cluster_cmd
Sage Weil [Thu, 30 Jan 2020 16:36:28 +0000 (10:36 -0600)]
qa/tasks/ceph_manager: add --log-early to raw_cluster_cmd

This is harmless if logging is low, but adds useful info when it is turned
up.

Hunting bug https://tracker.ceph.com/issues/43914

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/ceph: only re-request scrub on unscrubbed pgs
Sage Weil [Thu, 30 Jan 2020 16:22:49 +0000 (10:22 -0600)]
qa/tasks/ceph: only re-request scrub on unscrubbed pgs

If we haven't scrubbed everything, we occasinoally re-request scrub in case
the request was missed by the OSD (this can happen).  But we were
re-requesting scrub on ALL pgs, and if they are done in a
semi-deterministic order and are slow, then we may never get to the final
ones.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32771 from xxcs/xxcs07
Abhishek L [Thu, 30 Jan 2020 15:46:15 +0000 (16:46 +0100)]
Merge pull request #32771 from xxcs/xxcs07

rgw: fix multipart upload's error response

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Casey Bodley <cbodley@redhat.com>
5 years agoMerge PR #32878 into master
Sage Weil [Thu, 30 Jan 2020 15:28:38 +0000 (09:28 -0600)]
Merge PR #32878 into master

* refs/pull/32878/head:
cephadm: share code between 'pull' and 'inspect-image'
mgr/cephadm: upgrade: pull image after upgrade start, and for each host
cephadm: add inspect-image command

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #30969 into master
Patrick Donnelly [Thu, 30 Jan 2020 15:20:11 +0000 (07:20 -0800)]
Merge PR #30969 into master

* refs/pull/30969/head:
mds : clean up data written to unsafe inodes

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32397 into master
Patrick Donnelly [Thu, 30 Jan 2020 15:06:21 +0000 (07:06 -0800)]
Merge PR #32397 into master

* refs/pull/32397/head:
mds: Move StrayManager initializations to its header
mds: Remove extra spaces in StrayManager header.
mds: Reorganize structure members in StrayManager header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa/tasks/ceph_manager: make fix_pgp_num behave when no pool is found
Sage Weil [Thu, 30 Jan 2020 14:32:50 +0000 (08:32 -0600)]
qa/tasks/ceph_manager: make fix_pgp_num behave when no pool is found

Fixes:

2020-01-30T04:41:24.697 INFO:tasks.thrashosds.thrasher:fixing pg num pool None
2020-01-30T04:41:24.698 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/ceph_manager.py", line 1070, in wrapper
    return func(self)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/ceph_manager.py", line 1200, in _do_thrash
    self.choose_action()()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/ceph_manager.py", line 768, in fix_pgp_num
    if self.ceph_manager.set_pool_pgpnum(pool, force):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-29-1034/qa/tasks/ceph_manager.py", line 2088, in set_pool_pgpnum
    assert isinstance(pool_name, six.string_types)
AssertionError

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32969 into master
Sage Weil [Thu, 30 Jan 2020 14:28:25 +0000 (08:28 -0600)]
Merge PR #32969 into master

* refs/pull/32969/head:
qa/suites/rados/cephadm: explicitly test many distros

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge PR #32854 into master
Patrick Donnelly [Thu, 30 Jan 2020 14:25:25 +0000 (06:25 -0800)]
Merge PR #32854 into master

* refs/pull/32854/head:
qa: fix testing kernel branch link

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32801 into master
Patrick Donnelly [Thu, 30 Jan 2020 13:55:10 +0000 (05:55 -0800)]
Merge PR #32801 into master

* refs/pull/32801/head:
cephfs-shell: Fix ls -l

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
5 years agomgr/dashboard: Change project name to "Ceph Dashboard" (#32959)
Lenz Grimmer [Thu, 30 Jan 2020 13:43:46 +0000 (13:43 +0000)]
mgr/dashboard: Change project name to "Ceph Dashboard" (#32959)

mgr/dashboard: Change project name to "Ceph Dashboard"

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agomgr/dashboard: Unable to remove an iSCSI gateway that is already in use
Ricardo Marques [Thu, 30 Jan 2020 13:19:48 +0000 (13:19 +0000)]
mgr/dashboard: Unable to remove an iSCSI gateway that is already in use

Fixes: https://tracker.ceph.com/issues/43900
Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agoMerge pull request #32978 from tchaikov/wip-seastar
Kefu Chai [Thu, 30 Jan 2020 13:02:31 +0000 (21:02 +0800)]
Merge pull request #32978 from tchaikov/wip-seastar

seastar: pickup change to fix cgroups V2 support

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
5 years agoMerge PR #32972 into master
Sage Weil [Thu, 30 Jan 2020 13:01:47 +0000 (07:01 -0600)]
Merge PR #32972 into master

* refs/pull/32972/head:
python-common/ceph/deployment/translate: use 'prepare' instead of 'batch' for trivial case
qa/tasks/cephadm: pass short dev name to osd prepare
mgr/cephadm: fix detection of just-created OSDs
mgr/cephadm: properly indent raise conditions
mgr/cephadm: add warning to other orchestrators
mgr/cephadm: separate acceptance criterias for Devices
mgr/cephadm: fix typos
mgr/cephadm: move utils in test/utils.py
mgr/ssh: increase disk size to 20G
drivegroups: add support for drivegroups + tests
mgr/orch_cli: allow multiple drivegroups
drivegroups: translate disk spec to ceph-volume call

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
5 years agomon: elector: return after triggering a new election
Greg Farnum [Thu, 30 Jan 2020 12:43:13 +0000 (04:43 -0800)]
mon: elector: return after triggering a new election

When receiving an old propose, we were correctly triggering a new election
but not then returning out of receive_propose(), so we processed the
"should I defer" logic and perhaps sent out a deferal (in the current epoch!).

Fixes: https://tracker.ceph.com/issues/42977
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
5 years agoMerge pull request #32980 from ceph/gregsfortytwo-doc-rm-hadoop-2
Gregory Farnum [Thu, 30 Jan 2020 12:40:58 +0000 (13:40 +0100)]
Merge pull request #32980 from ceph/gregsfortytwo-doc-rm-hadoop-2

doc: remove the CephFS-Hadoop instructions

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agorgw: fix multipart upload's error response
xxcs [Wed, 22 Jan 2020 02:55:51 +0000 (10:55 +0800)]
rgw: fix multipart upload's error response
Fixes: https://tracker.ceph.com/issues/43751
Signed-off-by: GaryHyg <huygbj@inspur.com>
5 years agoMerge pull request #32967 from rhcs-dashboard/ignore-python-common-build
Sebastian Wagner [Thu, 30 Jan 2020 11:57:27 +0000 (12:57 +0100)]
Merge pull request #32967 from rhcs-dashboard/ignore-python-common-build

.gitignore: ignore /src/python-common/build

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #30777 from GaryHyg/origin/master
Abhishek L [Thu, 30 Jan 2020 11:55:11 +0000 (12:55 +0100)]
Merge pull request #30777 from GaryHyg/origin/master

rgw: dmclock: wait until the request is handled.

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #32669 from IlsooByun/rel_cb_arg
Abhishek L [Thu, 30 Jan 2020 11:53:56 +0000 (12:53 +0100)]
Merge pull request #32669 from IlsooByun/rel_cb_arg

rgw: release unused callback argument

Reviewed-By: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #32476 from theanalyst/rgw/multisite/user-policy
Abhishek L [Thu, 30 Jan 2020 11:50:02 +0000 (12:50 +0100)]
Merge pull request #32476 from theanalyst/rgw/multisite/user-policy

rgw: user policy: forward write requests to master zone

Reviewed-By: Casey Bodley <cbodley@redhat.com>
5 years agodoc: remove the CephFS-Hadoop instructions
Gregory Farnum [Thu, 30 Jan 2020 10:27:06 +0000 (11:27 +0100)]
doc: remove the CephFS-Hadoop instructions

These have not aged gracefully, and in particular include instructions
for setting pool size 1 to let Hadoop control the replication — but I've
heard reports of users setting up multiple size-1 pools and then wondering
where their data went when an OSD dies.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
5 years agoMerge pull request #32370 from AlexZzz/prometheus_pg_status_bypool
Jan Fajerski [Thu, 30 Jan 2020 10:10:34 +0000 (11:10 +0100)]
Merge pull request #32370 from AlexZzz/prometheus_pg_status_bypool

mgr/prometheus: report per-pool pg states

5 years agoMerge PR #32975 into master
Sage Weil [Thu, 30 Jan 2020 04:11:14 +0000 (22:11 -0600)]
Merge PR #32975 into master

* refs/pull/32975/head:
mon/ConfigMonitor: only propose if leader

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32970 into master
Sage Weil [Thu, 30 Jan 2020 03:31:14 +0000 (21:31 -0600)]
Merge PR #32970 into master

* refs/pull/32970/head:
cephadm: include daemon/unit id in unit name

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoseastar: pickup change to fix cgroups V2 support
Kefu Chai [Thu, 30 Jan 2020 00:37:55 +0000 (08:37 +0800)]
seastar: pickup change to fix cgroups V2 support

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32945 from dzafman/wip-43864
David Zafman [Thu, 30 Jan 2020 00:03:44 +0000 (16:03 -0800)]
Merge pull request #32945 from dzafman/wip-43864

test: Update pg log test for new trimming behavior

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agocls_hello: fix typo
Sage Weil [Wed, 29 Jan 2020 23:22:36 +0000 (17:22 -0600)]
cls_hello: fix typo

This was mostly harmless but this makes the warning go away.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomon/ConfigMonitor: only propose if leader
Sage Weil [Wed, 29 Jan 2020 23:18:04 +0000 (17:18 -0600)]
mon/ConfigMonitor: only propose if leader

Introduced by 08fcf01c040e0caaf5b418d300f774bf8c3033da, which activated
this (broken) code path.

Fixes: https://tracker.ceph.com/issues/43892
Signed-off-by: Sage Weil <sage@redhat.com>
5 years ago15.1.0 v15.1.0
Jenkins Build Slave User [Wed, 29 Jan 2020 22:10:24 +0000 (22:10 +0000)]
15.1.0

5 years agomon: dump json from 'sessions' asok/tell command
Sage Weil [Wed, 29 Jan 2020 21:37:03 +0000 (15:37 -0600)]
mon: dump json from 'sessions' asok/tell command

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocephadm: share code between 'pull' and 'inspect-image'
Sage Weil [Wed, 29 Jan 2020 14:45:32 +0000 (08:45 -0600)]
cephadm: share code between 'pull' and 'inspect-image'

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32623 into master
Sage Weil [Wed, 29 Jan 2020 19:59:53 +0000 (13:59 -0600)]
Merge PR #32623 into master

* refs/pull/32623/head:
ceph_release: octopus rc 15.1.0

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agocephfs-shell: Add tests for setxattr, getxattr and listxattr
Varsha Rao [Wed, 29 Jan 2020 19:07:48 +0000 (00:37 +0530)]
cephfs-shell: Add tests for setxattr, getxattr and listxattr

Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agocephfs-shell: Add listxattr command
Varsha Rao [Wed, 29 Jan 2020 06:03:29 +0000 (11:33 +0530)]
cephfs-shell: Add listxattr command

Fixes: https://tracker.ceph.com/issues/42530
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agocephfs-shell: Add getxattr command
Varsha Rao [Tue, 28 Jan 2020 09:53:22 +0000 (15:23 +0530)]
cephfs-shell: Add getxattr command

Fixes: https://tracker.ceph.com/issues/42530
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agocephfs-shell: Add setxattr command
Varsha Rao [Tue, 28 Jan 2020 09:44:29 +0000 (15:14 +0530)]
cephfs-shell: Add setxattr command

Fixes: https://tracker.ceph.com/issues/42530
Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agodoc: Update about extended attributes
Varsha Rao [Thu, 9 Jan 2020 11:20:16 +0000 (16:50 +0530)]
doc: Update about extended attributes

Signed-off-by: Varsha Rao <varao@redhat.com>
5 years agoqa/suites/rados/cephadm: explicitly test many distros
Sage Weil [Wed, 29 Jan 2020 16:44:33 +0000 (10:44 -0600)]
qa/suites/rados/cephadm: explicitly test many distros

Include _latest.yaml in a few cases here to be a bit future-proof.

cephadm-smoke/ is *just* a cephadm bring-up, and includes el7.  cephadm/
installs packages and runs a real workload.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32828 from leseb/raw-db-wal
Sébastien Han [Wed, 29 Jan 2020 19:29:15 +0000 (20:29 +0100)]
Merge pull request #32828 from leseb/raw-db-wal

ceph-volume: add db and wal support to raw mode

5 years agopython-common/ceph/deployment/translate: use 'prepare' instead of 'batch' for trivial...
Sage Weil [Wed, 29 Jan 2020 17:41:41 +0000 (11:41 -0600)]
python-common/ceph/deployment/translate: use 'prepare' instead of 'batch' for trivial case

This works around ceph-volumes lack of support for preexisting LVs in the
batch mode.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocephadm: include daemon/unit id in unit name
Sage Weil [Wed, 29 Jan 2020 17:05:51 +0000 (11:05 -0600)]
cephadm: include daemon/unit id in unit name

This makes the log messages more descriptive.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32941 from cbodley/wip-qa-rgw-multisite-pubsub-checkpoint
Yuval Lifshitz [Wed, 29 Jan 2020 16:54:44 +0000 (18:54 +0200)]
Merge pull request #32941 from cbodley/wip-qa-rgw-multisite-pubsub-checkpoint

qa/rgw: multisite checkpoints consider pubsub zone

5 years agoOSD: Allow 64-char hostname to be added as the "host" in CRUSH
Michal Skalski [Wed, 29 Jan 2020 00:29:58 +0000 (01:29 +0100)]
OSD: Allow 64-char hostname to be added as the "host" in CRUSH

On Linux system it is possible to set 64 character length hostname when
HOST_NAME_MAX is set to 64. It means that if we execute gethostname
function we should expect HOST_NAME_MAX characters + 1 for null
character ending hostname string as described here:
http://man7.org/linux/man-pages/man2/sethostname.2.html

With the current code on host with 64 long hostname osd during start
updates crush map with host=unknown_host.

Signed-off-by: Michal Skalski <mskalski@juniper.net>
5 years agoMerge PR #32943 into master
Sage Weil [Wed, 29 Jan 2020 16:34:09 +0000 (10:34 -0600)]
Merge PR #32943 into master

* refs/pull/32943/head:
qa/tasks/ceph_manager: fix chmod on log dir during pg export copy

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoqa/suites/rados/verify: debug monc = 20
Sage Weil [Wed, 29 Jan 2020 15:53:41 +0000 (09:53 -0600)]
qa/suites/rados/verify: debug monc = 20

Hunting https://tracker.ceph.com/issues/43882

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32932 from smanjara/add-bucket-chown-nonmaster
Casey Bodley [Wed, 29 Jan 2020 15:49:32 +0000 (10:49 -0500)]
Merge pull request #32932 from smanjara/add-bucket-chown-nonmaster

rgw/multisite: warn if bucket chown command is run on non-master zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years ago.gitignore: ignore /src/python-common/build
Alfonso Martínez [Wed, 29 Jan 2020 15:41:15 +0000 (16:41 +0100)]
.gitignore: ignore /src/python-common/build

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
5 years agoMerge pull request #32957 from tchaikov/wip-mgr-cephadm
Sage Weil [Wed, 29 Jan 2020 14:51:39 +0000 (08:51 -0600)]
Merge pull request #32957 from tchaikov/wip-mgr-cephadm

mgr/cephadm: init attrs created by settattr()